|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.infoengine.object.IeObject
com.infoengine.object.IeCollection
public class IeCollection
| Field Summary | |
|---|---|
static java.lang.String |
COLLECTION_STATE
|
static java.lang.String |
ERROR
|
static java.lang.String |
SOAP_RETURN
|
static java.lang.String |
SOAP_RETURN_SUBSTITUTION
|
static java.lang.String |
SOAP_RETURN_TYPE
|
static java.lang.String |
STATUS
|
| Constructor Summary | |
|---|---|
IeCollection()
Constructs a new IeCollection |
|
IeCollection(java.lang.String name)
Constructs a new IeCollection and sets the collection name to the given String. |
|
| Method Summary | |
|---|---|
void |
addError(java.lang.String message)
Adds an error message to this collection. |
void |
addGroup(IeGroup group)
Adds a group to the collection. |
void |
clearGroups()
Disassociates all of the groups from the collection, leaving the collection empty of groups. |
java.lang.Object |
deepClone()
Returns a deep copy of the collection. |
IeGroup |
firstGroup()
Returns the first group contained in the collection. |
java.util.Enumeration |
getErrors()
Returns an Enumeration of all error messages set on this collection |
IeGroup |
getGroup(java.lang.String name)
Returns a group by name. |
IeGroup |
getGroupAt(int index)
Returns the group located at a specified index. |
int |
getGroupCount()
Returns the number of groups contained in the collection. |
java.util.Enumeration |
getGroups()
Returns all of the groups contained in the collection. |
java.lang.String |
getNodeName()
Returns the DOM node name of this object. |
java.util.Enumeration |
getRecordedState()
|
java.lang.Object |
getSOAPReturn()
|
java.lang.String |
getSOAPReturnSubstitution()
|
java.lang.String |
getSOAPReturnType()
|
int |
getStatus()
Returns the integer status value associated with the collection. |
IeGroup |
lastGroup()
Returns the last group contained in the collection. |
void |
recordState()
|
void |
removeAllGroups()
Removes all of the groups contained in the collection. |
void |
removeGroup(IeGroup group)
Removes a specified group from the collection. |
void |
removeGroup(java.lang.String name)
Removes a group by name. |
void |
setGroupAt(IeGroup group,
int index)
Sets the group at a specified index. |
void |
setSOAPReturn(java.lang.Object o)
|
void |
setSOAPReturnSubstitution(java.lang.String subs)
|
void |
setSOAPReturnType(java.lang.String type)
|
void |
setStatus(int status)
Sets an integer status on this collection. |
java.lang.Object |
shallowClone()
Returns a shallow copy of the collection. |
java.lang.String |
toXML()
Renders the collection as an XML string. |
void |
toXML(java.io.Writer writer)
Writes the collection as an XML string to a Writer. |
| Methods inherited from class com.infoengine.object.IeObject |
|---|
addAtt, addMeta, addMeta, addMeta, addMeta, addMetaDatum, addMetaValue, addMetaValues, appendMetaDatum, canonicalize, canonicalize, clone, containsMetaValue, deepCopy, firstAtt, firstChild, firstMetaValue, getAtt, getAttAt, getAttByMeta, getAttCount, getAttribute, getAtts, getChildCount, getChildren, getHasChanged, getMeta, getMetaNames, getMetaValue, getMetaValueAt, getMetaValueCount, getMetaValues, getName, getTagName, getType, hasChildren, indexOfMetaValue, lastAtt, lastChild, lastMetaValue, readExternal, removeAllAtts, removeAllMeta, removeAllMetaValues, removeAtt, removeAtt, removeAttAt, removeAttribute, removeChild, removeMeta, removeMetaValue, removeMetaValueAt, removeName, removeType, replaceChild, setAttAt, setAttribute, setHasChanged, setMeta, setMeta, setMeta, setMeta, setMetaValue, setMetaValueAt, setName, setType, shallowCopy, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SOAP_RETURN
public static final java.lang.String SOAP_RETURN_TYPE
public static final java.lang.String SOAP_RETURN_SUBSTITUTION
public static final java.lang.String COLLECTION_STATE
public static final java.lang.String STATUS
public static final java.lang.String ERROR
| Constructor Detail |
|---|
public IeCollection()
public IeCollection(java.lang.String name)
name - The name of the collection object| Method Detail |
|---|
public void addGroup(IeGroup group)
group - the group to be addedpublic IeGroup firstGroup()
public IeGroup getGroup(java.lang.String name)
name - the name of the group to be returned
public java.util.Enumeration getGroups()
public IeGroup getGroupAt(int index)
index - the index of the group to be returned
public int getGroupCount()
public IeGroup lastGroup()
public void clearGroups()
public void removeAllGroups()
public void removeGroup(java.lang.String name)
name - the name of the group to be removedpublic void removeGroup(IeGroup group)
group - the group to be removed
public void setGroupAt(IeGroup group,
int index)
group - the new group to be setindex - the index at which to set the new grouppublic java.lang.String getNodeName()
getNodeName in class IeObjectpublic void setStatus(int status)
status - The new status value.public int getStatus()
public void addError(java.lang.String message)
message - The error message to add.public java.util.Enumeration getErrors()
public java.lang.String toXML()
public void toXML(java.io.Writer writer)
writer - The Writer object to which to write the XML
string representation of the collection.public final java.lang.Object deepClone()
deepClone in class IeObjectpublic final java.lang.Object shallowClone()
public void setSOAPReturn(java.lang.Object o)
public java.lang.Object getSOAPReturn()
public void setSOAPReturnType(java.lang.String type)
public java.lang.String getSOAPReturnType()
public void setSOAPReturnSubstitution(java.lang.String subs)
public java.lang.String getSOAPReturnSubstitution()
public void recordState()
public java.util.Enumeration getRecordedState()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||