|
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.VisionData
public abstract class VisionData
Java class for concept Vision of cleaner_beans ontology.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nuggets.INugget |
---|
nuggets.INugget.Helper |
Constructor Summary | |
---|---|
VisionData()
Default Constructor. |
Method Summary | |
---|---|
void |
_persist(nuggets.ICruncher c)
Persist this Vision using the nuggets utility. |
void |
_set(String a,
Object v)
Restore this Vision |
void |
addCleaner(Cleaner cleaner)
Add a cleaner to this Vision. |
void |
addStation(Chargingstation station)
Add a station to this Vision. |
void |
addWaste(Waste waste)
Add a waste to this Vision. |
void |
addWastebin(Wastebin wastebin)
Add a wastebin to this Vision. |
Cleaner |
getCleaner(int idx)
Get an cleaners of this Vision. |
Cleaner[] |
getCleaners()
Get the cleaners of this Vision. |
Chargingstation |
getStation(int idx)
Get an stations of this Vision. |
Chargingstation[] |
getStations()
Get the stations of this Vision. |
Waste |
getWaste(int idx)
Get an wastes of this Vision. |
Wastebin |
getWastebin(int idx)
Get an wastebins of this Vision. |
Wastebin[] |
getWastebins()
Get the wastebins of this Vision. |
Waste[] |
getWastes()
Get the wastes of this Vision. |
boolean |
isDaytime()
Get the daytime of this Vision. |
boolean |
removeCleaner(Cleaner cleaner)
Remove a cleaner from this Vision. |
boolean |
removeStation(Chargingstation station)
Remove a station from this Vision. |
boolean |
removeWaste(Waste waste)
Remove a waste from this Vision. |
boolean |
removeWastebin(Wastebin wastebin)
Remove a wastebin from this Vision. |
void |
setCleaner(int idx,
Cleaner cleaner)
Set a cleaner to this Vision. |
void |
setCleaners(Cleaner[] cleaners)
Set the cleaners of this Vision. |
void |
setDaytime(boolean daytime)
Set the daytime of this Vision. |
void |
setStation(int idx,
Chargingstation station)
Set a station to this Vision. |
void |
setStations(Chargingstation[] stations)
Set the stations of this Vision. |
void |
setWaste(int idx,
Waste waste)
Set a waste to this Vision. |
void |
setWastebin(int idx,
Wastebin wastebin)
Set a wastebin to this Vision. |
void |
setWastebins(Wastebin[] wastebins)
Set the wastebins of this Vision. |
void |
setWastes(Waste[] wastes)
Set the wastes of this Vision. |
String |
toString()
Get a string representation of this Vision. |
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 VisionData()
Vision
.
Method Detail |
---|
public Cleaner[] getCleaners()
public void setCleaners(Cleaner[] cleaners)
cleaners
- the value to be setpublic Cleaner getCleaner(int idx)
idx
- The index.
public void setCleaner(int idx, Cleaner cleaner)
idx
- The index.cleaner
- a value to be addedpublic void addCleaner(Cleaner cleaner)
cleaner
- a value to be removedpublic boolean removeCleaner(Cleaner cleaner)
cleaner
- a value to be removed
public Wastebin[] getWastebins()
public void setWastebins(Wastebin[] wastebins)
wastebins
- the value to be setpublic Wastebin getWastebin(int idx)
idx
- The index.
public void setWastebin(int idx, Wastebin wastebin)
idx
- The index.wastebin
- a value to be addedpublic void addWastebin(Wastebin wastebin)
wastebin
- a value to be removedpublic boolean removeWastebin(Wastebin wastebin)
wastebin
- a value to be removed
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 Chargingstation[] getStations()
public void setStations(Chargingstation[] stations)
stations
- the value to be setpublic Chargingstation getStation(int idx)
idx
- The index.
public void setStation(int idx, Chargingstation station)
idx
- The index.station
- a value to be addedpublic void addStation(Chargingstation station)
station
- a value to be removedpublic boolean removeStation(Chargingstation station)
station
- a value to be removed
public boolean isDaytime()
public void setDaytime(boolean daytime)
daytime
- 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.