public class Entities extends LexGridBase implements java.io.Serializable
Constructor and Description |
---|
Entities() |
Modifier and Type | Method and Description |
---|---|
void |
addAssociationEntity(AssociationEntity vAssociationEntity) |
void |
addAssociationEntity(int index,
AssociationEntity vAssociationEntity) |
void |
addEntity(Entity vEntity) |
void |
addEntity(int index,
Entity vEntity) |
java.util.Enumeration<? extends AssociationEntity> |
enumerateAssociationEntity()
Method enumerateAssociationEntity.
|
java.util.Enumeration<? extends Entity> |
enumerateEntity()
Method enumerateEntity.
|
AssociationEntity[] |
getAssociationEntity()
Method getAssociationEntity.Returns the contents of the
collection in an Array.
|
AssociationEntity |
getAssociationEntity(int index)
Method getAssociationEntity.
|
java.util.List<AssociationEntity> |
getAssociationEntityAsReference()
Method getAssociationEntityAsReference.Returns a reference
to '_associationEntityList'.
|
int |
getAssociationEntityCount()
Method getAssociationEntityCount.
|
Entity[] |
getEntity()
Method getEntity.Returns the contents of the collection in
an Array.
|
Entity |
getEntity(int index)
Method getEntity.
|
java.util.List<Entity> |
getEntityAsReference()
Method getEntityAsReference.Returns a reference to
'_entityList'.
|
int |
getEntityCount()
Method getEntityCount.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends AssociationEntity> |
iterateAssociationEntity()
Method iterateAssociationEntity.
|
java.util.Iterator<? extends Entity> |
iterateEntity()
Method iterateEntity.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllAssociationEntity() |
void |
removeAllEntity() |
boolean |
removeAssociationEntity(AssociationEntity vAssociationEntity)
Method removeAssociationEntity.
|
AssociationEntity |
removeAssociationEntityAt(int index)
Method removeAssociationEntityAt.
|
boolean |
removeEntity(Entity vEntity)
Method removeEntity.
|
Entity |
removeEntityAt(int index)
Method removeEntityAt.
|
void |
setAssociationEntity(AssociationEntity[] vAssociationEntityArray) |
void |
setAssociationEntity(int index,
AssociationEntity vAssociationEntity) |
void |
setAssociationEntity(java.util.List<AssociationEntity> vAssociationEntityList)
Sets the value of '_associationEntityList' by copying the
given Vector.
|
void |
setAssociationEntityAsReference(java.util.List<AssociationEntity> associationEntityList)
Deprecated.
|
void |
setEntity(Entity[] vEntityArray) |
void |
setEntity(int index,
Entity vEntity) |
void |
setEntity(java.util.List<Entity> vEntityList)
Sets the value of '_entityList' by copying the given Vector.
|
void |
setEntityAsReference(java.util.List<Entity> entityList)
Deprecated.
|
static Entities |
unmarshalEntities(java.io.Reader reader)
Method unmarshalEntities.
|
void |
validate() |
getParent, setParent
public void addAssociationEntity(AssociationEntity vAssociationEntity) throws java.lang.IndexOutOfBoundsException
vAssociationEntity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssociationEntity(int index, AssociationEntity vAssociationEntity) throws java.lang.IndexOutOfBoundsException
index
- vAssociationEntity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEntity(Entity vEntity) throws java.lang.IndexOutOfBoundsException
vEntity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEntity(int index, Entity vEntity) throws java.lang.IndexOutOfBoundsException
index
- vEntity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends AssociationEntity> enumerateAssociationEntity()
public java.util.Enumeration<? extends Entity> enumerateEntity()
public AssociationEntity getAssociationEntity(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationEntity[] getAssociationEntity()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public java.util.List<AssociationEntity> getAssociationEntityAsReference()
public int getAssociationEntityCount()
public Entity getEntity(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Entity[] getEntity()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public java.util.List<Entity> getEntityAsReference()
public int getEntityCount()
public boolean isValid()
public java.util.Iterator<? extends AssociationEntity> iterateAssociationEntity()
public java.util.Iterator<? extends Entity> iterateEntity()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllAssociationEntity()
public void removeAllEntity()
public boolean removeAssociationEntity(AssociationEntity vAssociationEntity)
vAssociationEntity
- public AssociationEntity removeAssociationEntityAt(int index)
index
- public boolean removeEntity(Entity vEntity)
vEntity
- public Entity removeEntityAt(int index)
index
- public void setAssociationEntity(int index, AssociationEntity vAssociationEntity) throws java.lang.IndexOutOfBoundsException
index
- vAssociationEntity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssociationEntity(AssociationEntity[] vAssociationEntityArray)
vAssociationEntityArray
- public void setAssociationEntity(java.util.List<AssociationEntity> vAssociationEntityList)
vAssociationEntityList
- the Vector to copy.public void setAssociationEntityAsReference(java.util.List<AssociationEntity> associationEntityList)
associationEntityList
- the Vector to set.public void setEntity(int index, Entity vEntity) throws java.lang.IndexOutOfBoundsException
index
- vEntity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setEntity(Entity[] vEntityArray)
vEntityArray
- public void setEntity(java.util.List<Entity> vEntityList)
vEntityList
- the Vector to copy.public void setEntityAsReference(java.util.List<Entity> entityList)
entityList
- the Vector to set.public static Entities unmarshalEntities(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema