|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.Data
com.infoengine.connector.Element
represents Info*Engine element data.
Elements contain Attributes.
Elements are contained within Groups
Attribute
,
Group
,
Serialized FormField Summary | |
private Vector |
_attributes
|
Fields inherited from class com.infoengine.connector.Data |
_meta |
Constructor Summary | |
Element()
|
Method Summary | |
void |
addAttribute(Attribute a)
add an attribute to this element |
void |
addAttribute(String name,
Object value)
add and create a new attribute to this element |
boolean |
equals(Object other)
compare this element with another for equality |
Attribute |
getAttribute(String name)
get an attribute by name |
int |
getAttributeCount()
get the number of attributes contained by this element |
Enumeration |
getAttributes()
get an Enumeration of all attributes contained by this element |
Object |
getAttributeValue(String name)
get an attribute's value by name if attribute is multi-valued then the first value is returned. |
Enumeration |
getAttributeValues(String name)
get an attribute's values by name. |
int |
hashCode()
generate this Element's hashCode value is based on all attributes and metadata. |
String |
toString()
return a String representation of this Element (resembles XML useful for deugging only) |
Methods inherited from class com.infoengine.connector.Data |
addMetaValue, getMetaNames, getMetaValue, getMetaValues, removeMetaValues, setMetaValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private Vector _attributes
Constructor Detail |
public Element()
Method Detail |
public void addAttribute(Attribute a)
a
- the attribute to addpublic void addAttribute(String name, Object value)
name
- attribute namevalue
- attribute valuepublic Enumeration getAttributes()
public int getAttributeCount()
public Attribute getAttribute(String name)
name
- the attribute name
public Object getAttributeValue(String name)
name
- the attribute name
public Enumeration getAttributeValues(String name)
name
- the attribute name
public boolean equals(Object other)
equals
in class Data
public int hashCode()
hashCode
in class Data
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |