|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectJADE_SL.abs.AbsObjectImpl
Base class for all abstract descriptor classes.
| Field Summary | |
private java.util.Hashtable |
elements
|
private java.lang.String |
typeName
|
| Constructor Summary | |
protected |
AbsObjectImpl(java.lang.String typeName)
Construct an Abstract descriptor to hold an object of the proper type. |
| Method Summary | |
void |
dump()
|
protected void |
dump(int indent,
java.io.PrintStream ps)
|
AbsObject |
getAbsObject(java.lang.String name)
Gets the value of an attribute of the object held by this abstract descriptor. |
int |
getCount()
Gets the number of attributes. |
java.util.Enumeration |
getNameEnumeration()
|
java.lang.String[] |
getNames()
|
java.lang.String |
getTypeName()
|
boolean |
isGrounded()
Tests if the object is grounded, i.e., if no one of its attributes is associated with a variable |
protected void |
set(java.lang.String name,
AbsObject value)
Sets an attribute of the object held by this abstract descriptor. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.util.Hashtable elements
private java.lang.String typeName
| Constructor Detail |
protected AbsObjectImpl(java.lang.String typeName)
typeName - The name of the type of the object held by this
abstract descriptor.| Method Detail |
public java.lang.String getTypeName()
getTypeName in interface AbsObjectAbsObject.getTypeName()
protected void set(java.lang.String name,
AbsObject value)
name - The name of the attribute to be set.value - The new value of the attribute. If value
is null the current mapping with name (if any) is
removed.public AbsObject getAbsObject(java.lang.String name)
getAbsObject in interface AbsObjectname - The name of the attribute.
AbsObject#getAbsObject()public java.lang.String[] getNames()
getNames in interface AbsObjectAbsObject.getNames()public java.util.Enumeration getNameEnumeration()
public boolean isGrounded()
isGrounded in interface AbsObjecttrue if the object is grounded.AbsObject.isGrounded()public int getCount()
getCount in interface AbsObjectAbsObject.getCount()
protected void dump(int indent,
java.io.PrintStream ps)
public void dump()
dump in interface AbsObjectAbsObject.dump()public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||