|
|||||||||||
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.Group
represents Info*Engine group data.
Groups contain Elements.
Field Summary | |
private Vector |
_elements
|
private String |
className
|
private String |
name
|
private String |
shortDesc
|
private String |
type
|
Fields inherited from class com.infoengine.connector.Data |
_meta |
Constructor Summary | |
Group()
create a new unnamed Group |
|
Group(String name)
create a new named Group |
Method Summary | |
void |
addElement(Element e)
add an element to this group |
Object |
clone()
clone this Group (cloning not supported) use of this method results in CloneNotSupportedException being thrown. |
boolean |
equals(Object other)
compare this group to another for equality |
Object |
getAttributeValue(String name,
int index)
get an attribute value by name and index if the attribute is multi-valued the first value is returned |
Enumeration |
getAttributeValues(String name,
int index)
get an enumeration of attribute values by name and index |
String |
getClassName()
get this group's class name |
Element |
getElementAt(int index)
get an element by index |
int |
getElementCount()
get the number of elements this group contains |
Enumeration |
getElements()
get an Enumeration of this group's elements |
String |
getName()
get this group's name |
String |
getRecordName()
get this group's name |
String |
getRecordShortDescription()
get this group's short description |
String |
getType()
get this group's type |
int |
hashCode()
generate this group's hashCode. value is based on name, shortDescription, all elements and metadata |
void |
setClassName(String cls)
set this group's class name |
void |
setElementAt(Element e,
int index)
set an element by index if an invalid index is supplied the result is the same as addElement |
void |
setName(String name)
set this group's name |
void |
setRecordName(String name)
set this group's name |
void |
setRecordShortDescription(String desc)
set this group's short description |
void |
setType(String type)
set this group's type |
String |
toString()
return a String representation of this Group (resembles XML useful for debugging only) |
Methods inherited from class com.infoengine.connector.Data |
addMetaValue, getMetaNames, getMetaValue, getMetaValues, removeMetaValues, setMetaValue |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private String name
private String shortDesc
private String className
private String type
private Vector _elements
Constructor Detail |
public Group()
public Group(String name)
name
- the new group's nameMethod Detail |
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public boolean equals(Object other)
equals
in class Data
public String getName()
public String getRecordName()
public String getRecordShortDescription()
public int hashCode()
hashCode
in class Data
public void setName(String name)
name
- the new namepublic void setRecordName(String name)
name
- the new namepublic void setRecordShortDescription(String desc)
desc
- the new descriptionpublic int getElementCount()
public Enumeration getElements()
public void addElement(Element e)
e
- the element to addpublic Element getElementAt(int index)
index
- the index of the element to retrieve
public void setElementAt(Element e, int index)
e
- the element to setindex
- the index to replacepublic Enumeration getAttributeValues(String name, int index)
name
- the attribute nameindex
- the element index
public Object getAttributeValue(String name, int index)
name
- the attribute nameindex
- the element index
public void setClassName(String cls)
cls
- the class namepublic String getClassName()
public void setType(String type)
type
- the new typepublic String getType()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |