|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.cleanerworld.multi.LocationObjectData
jadex.examples.cleanerworld.multi.LocationObject
jadex.examples.cleanerworld.multi.WastebinData
public abstract class WastebinData
Java class for concept Wastebin of cleaner_beans ontology.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nuggets.INugget |
---|
nuggets.INugget.Helper |
Constructor Summary | |
---|---|
WastebinData()
Default Constructor. |
Method Summary | |
---|---|
void |
_persist(nuggets.ICruncher c)
Persist this Wastebin using the nuggets utility. |
void |
_set(String a,
Object v)
Restore this Wastebin |
void |
addWaste(Waste waste)
Add a waste to this Wastebin. |
int |
getCapacity()
Get the capacity of this Wastebin. |
String |
getName()
Get the name of this Wastebin. |
Waste |
getWaste(int idx)
Get an wastes of this Wastebin. |
Waste[] |
getWastes()
Get the wastes of this Wastebin. |
boolean |
removeWaste(Waste waste)
Remove a waste from this Wastebin. |
void |
setCapacity(int capacity)
Set the capacity of this Wastebin. |
void |
setName(String name)
Set the name of this Wastebin. |
void |
setWaste(int idx,
Waste waste)
Set a waste to this Wastebin. |
void |
setWastes(Waste[] wastes)
Set the wastes of this Wastebin. |
String |
toString()
Get a string representation of this Wastebin. |
Methods inherited from class jadex.examples.cleanerworld.multi.LocationObject |
---|
clone, equals, hashCode |
Methods inherited from class jadex.examples.cleanerworld.multi.LocationObjectData |
---|
getId, getLocation, setId, setLocation |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WastebinData()
Wastebin
.
Method Detail |
---|
public Waste[] getWastes()
public void setWastes(Waste[] wastes)
wastes
- the value to be setpublic Waste getWaste(int idx)
idx
- The index.
public void setWaste(int idx, Waste waste)
idx
- The index.waste
- a value to be addedpublic void addWaste(Waste waste)
waste
- a value to be removedpublic boolean removeWaste(Waste waste)
waste
- a value to be removed
public int getCapacity()
public void setCapacity(int capacity)
capacity
- the value to be setpublic String getName()
public void setName(String name)
name
- the value to be setpublic String toString()
toString
in class LocationObjectData
public void _persist(nuggets.ICruncher c)
_persist
in interface nuggets.INugget
_persist
in class LocationObjectData
c
- public void _set(String a, Object v)
_set
in interface nuggets.INugget
_set
in class LocationObjectData
a
- the name of the attributev
- the value of the attribute
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.