|
|||||||||||
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
Field Summary | |
static String |
COLLECTION_STATE
|
static String |
ERROR
|
static String |
SOAP_RETURN
|
static String |
SOAP_RETURN_SUBSTITUTION
|
static String |
SOAP_RETURN_TYPE
|
static String |
STATUS
|
Fields inherited from class com.infoengine.object.IeObject |
_attributes, _children, _hasChanged, _meta, _name, _type, INITIAL_LIST_SIZE, INITIAL_MAP_SIZE, USE_COLLECTIONS |
Constructor Summary | |
IeCollection()
Constructs a new IeCollection |
|
IeCollection(String name)
Constructs a new IeCollection and sets the collection name to the given String. |
Method Summary | |
void |
addError(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. |
Object |
deepClone()
Returns a deep copy of the collection. |
IeGroup |
firstGroup()
Returns the first group contained in the collection. |
Enumeration |
getErrors()
Returns an Enumeration of all error messages set on this collection |
IeGroup |
getGroup(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. |
Enumeration |
getGroups()
Returns all of the groups contained in the collection. |
String |
getNodeName()
Returns the DOM node name of this object. |
Enumeration |
getRecordedState()
|
Object |
getSOAPReturn()
|
String |
getSOAPReturnSubstitution()
|
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(String name)
Removes a group by name. |
void |
setGroupAt(IeGroup group,
int index)
Sets the group at a specified index. |
void |
setSOAPReturn(Object o)
|
void |
setSOAPReturnSubstitution(String subs)
|
void |
setSOAPReturnType(String type)
|
void |
setStatus(int status)
Sets an integer status on this collection. |
Object |
shallowClone()
Returns a shallow copy of the collection. |
String |
toXML()
Renders the collection as an XML string. |
void |
toXML(Writer writer)
Writes the collection as an XML string to a Writer. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SOAP_RETURN
public static final String SOAP_RETURN_TYPE
public static final String SOAP_RETURN_SUBSTITUTION
public static final String COLLECTION_STATE
public static final String STATUS
public static final String ERROR
Constructor Detail |
public IeCollection()
public IeCollection(String name)
name
- The name of the collection objectMethod Detail |
public void addGroup(IeGroup group)
group
- the group to be addedpublic IeGroup firstGroup()
public IeGroup getGroup(String name)
name
- the name of the group to be returned
public 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(String name)
name
- the name of the group to be removedpublic void removeGroup(IeGroup group)
group
- the group to be removedpublic void setGroupAt(IeGroup group, int index)
group
- the new group to be setindex
- the index at which to set the new grouppublic String getNodeName()
getNodeName
in class IeObject
public void setStatus(int status)
status
- The new status value.public int getStatus()
public void addError(String message)
message
- The error message to add.public Enumeration getErrors()
public String toXML()
public void toXML(Writer writer)
writer
- The Writer object to which to write the XML
string representation of the collection.public final Object deepClone()
deepClone
in class IeObject
public final Object shallowClone()
public void setSOAPReturn(Object o)
public Object getSOAPReturn()
public void setSOAPReturnType(String type)
public String getSOAPReturnType()
public void setSOAPReturnSubstitution(String subs)
public String getSOAPReturnSubstitution()
public void recordState()
public Enumeration getRecordedState()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |