|
|||||||||
| 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
public class Group
represents Info*Engine group data.
Groups contain Elements.
| Constructor Summary | |
|---|---|
Group()
create a new unnamed Group |
|
Group(java.lang.String name)
create a new named Group |
|
| Method Summary | |
|---|---|
void |
addElement(Element e)
add an element to this group |
java.lang.Object |
clone()
clone this Group (cloning not supported) use of this method results in CloneNotSupportedException being thrown. |
boolean |
equals(java.lang.Object other)
compare this group to another for equality |
java.lang.Object |
getAttributeValue(java.lang.String name,
int index)
get an attribute value by name and index if the attribute is multi-valued the first value is returned |
java.util.Enumeration |
getAttributeValues(java.lang.String name,
int index)
get an enumeration of attribute values by name and index |
java.lang.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 |
java.util.Enumeration |
getElements()
get an Enumeration of this group's elements |
java.lang.String |
getName()
get this group's name |
java.lang.String |
getRecordName()
get this group's name |
java.lang.String |
getRecordShortDescription()
get this group's short description |
java.lang.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(java.lang.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(java.lang.String name)
set this group's name |
void |
setRecordName(java.lang.String name)
set this group's name |
void |
setRecordShortDescription(java.lang.String desc)
set this group's short description |
void |
setType(java.lang.String type)
set this group's type |
java.lang.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 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Group()
public Group(java.lang.String name)
name - the new group's name| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean equals(java.lang.Object other)
equals in class Datapublic java.lang.String getName()
public java.lang.String getRecordName()
public java.lang.String getRecordShortDescription()
public int hashCode()
hashCode in class Datapublic void setName(java.lang.String name)
name - the new namepublic void setRecordName(java.lang.String name)
name - the new namepublic void setRecordShortDescription(java.lang.String desc)
desc - the new descriptionpublic int getElementCount()
public java.util.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 replace
public java.util.Enumeration getAttributeValues(java.lang.String name,
int index)
name - the attribute nameindex - the element index
public java.lang.Object getAttributeValue(java.lang.String name,
int index)
name - the attribute nameindex - the element index
public void setClassName(java.lang.String cls)
cls - the class namepublic java.lang.String getClassName()
public void setType(java.lang.String type)
type - the new typepublic java.lang.String getType()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||