|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.Data
base data class for lightweight Info*Engine data objects.
Attribute
,
Element
,
Group
,
Serialized FormField Summary | |
protected Hashtable |
_meta
|
Constructor Summary | |
Data()
|
Method Summary | |
void |
addMetaValue(String name,
Object data)
add a named metadata value |
boolean |
equals(Object other)
test this data with another object for equality |
Enumeration |
getMetaNames()
get an enumeration of the names of metadata on this object |
Object |
getMetaValue(String name)
get a named metadata value. if the named metadata is multi-valued then the first value is returned. |
Vector |
getMetaValues(String name)
get a vector of named metadata values. |
int |
hashCode()
generate this data objects hashCode. value is based on metadata |
void |
removeMetaValues(String name)
remote named metadata values |
void |
setMetaValue(String name,
Object data)
set a named metadata value this replaces any previously stored metadata under the same name. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Hashtable _meta
Constructor Detail |
public Data()
Method Detail |
public Enumeration getMetaNames()
public Vector getMetaValues(String name)
name
- the metadata name
public Object getMetaValue(String name)
name
- the metadata name
public void setMetaValue(String name, Object data)
name
- the metadata namedata
- the new metadata valuepublic void addMetaValue(String name, Object data)
name
- the metadata namedata
- the metadata value to addpublic void removeMetaValues(String name)
name
- the named metadata to removepublic boolean equals(Object other)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |