|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LMU.java The interface of a Logical Mobility Unit. Created: Mon Mar 1 20:10:28 2004
Method Summary | |
void |
addAttribute(GenericAttribute attr)
Adds an attribute to the lmu |
void |
addClass(java.lang.Class c)
Adds a class to the current lmu. |
void |
addComponent(Component c)
Adds a new component to the LMU |
void |
addData(java.lang.Object d)
Adds data to the lmu |
void |
addHandler(Handler h)
Adds a Handler to the lmu |
void |
addObject(java.lang.Object o)
Adds an Object to the current lmu. |
GenericAttribute |
getAttribute(java.lang.Object key)
Returns an attribute from the lmu |
java.util.Enumeration |
getClasses()
Returns the classes stored in this lmu |
java.util.Enumeration |
getComponents()
Returns the components stored in this lmu. |
java.util.Enumeration |
getData()
Returns the data stored in this lmu |
Handler |
getHandler()
Returns the Handler for this lmu |
java.util.Enumeration |
getObjects()
Returns the objects stored in this lmu |
java.util.Enumeration |
getProperties()
Returns the properties of this lmu |
boolean |
hasAttribute(java.lang.Object key)
Checks whether the LMU has an attribute with the given key |
Method Detail |
public void addComponent(Component c)
c
- The component to addpublic void addClass(java.lang.Class c)
c
- The class to add.public void addObject(java.lang.Object o)
o
- The object to add.public void addData(java.lang.Object d)
d
- the data to addpublic void addHandler(Handler h)
h
- the Handler to addpublic void addAttribute(GenericAttribute attr)
attr
- The attribute to addpublic GenericAttribute getAttribute(java.lang.Object key)
key
- the key of the attribute
public java.util.Enumeration getProperties()
public Handler getHandler()
public java.util.Enumeration getObjects()
public java.util.Enumeration getClasses()
public java.util.Enumeration getData()
public java.util.Enumeration getComponents()
public boolean hasAttribute(java.lang.Object key)
key
- The attribute key
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |