|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Element
Basic methods and behavior for all simulation elements.
Field Summary | |
---|---|
static java.util.Comparator<Element> |
COMPARATOR
Comparison function, which imposes a total ordering of events. |
Method Summary | |
---|---|
Element |
delete()
Delete this simulation element from the simulation. |
SimValue |
getKey()
Returns this simulation element external key. |
boolean |
isDeleted()
Check the existence of this element. |
void |
registered(Elements listener)
Set the listener for property changes and element manager of this element. |
void |
setKey(SimValue key)
Set this simulation element external key. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface jasi.sim.basic.id.SimObject |
---|
getId, setId |
Field Detail |
---|
static final java.util.Comparator<Element> COMPARATOR
Method Detail |
---|
Element delete() throws DeleteNotSupportedException
DeleteNotSupportedException
- This simulation element can not be deleted.AbstractElementBean.acceptDelete()
void setKey(SimValue key)
key
- The external key.SimValue getKey()
boolean isDeleted()
void registered(Elements listener)
listener
- The property change listener.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |