public class CsmfAssociationDefinition extends LexGridBase implements java.io.Serializable
Constructor and Description |
---|
CsmfAssociationDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
addAssoc(AssociationEntity vAssoc) |
void |
addAssoc(int index,
AssociationEntity vAssoc) |
java.util.Enumeration<? extends AssociationEntity> |
enumerateAssoc()
Method enumerateAssoc.
|
AssociationEntity[] |
getAssoc()
Method getAssoc.Returns the contents of the collection in an
Array.
|
AssociationEntity |
getAssoc(int index)
Method getAssoc.
|
java.util.List<AssociationEntity> |
getAssocAsReference()
Method getAssocAsReference.Returns a reference to
'_assocList'.
|
int |
getAssocCount()
Method getAssocCount.
|
java.lang.Boolean |
getToUpdate()
Returns the value of field 'toUpdate'.
|
java.lang.Boolean |
isToUpdate()
Returns the value of field 'toUpdate'.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends AssociationEntity> |
iterateAssoc()
Method iterateAssoc.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllAssoc() |
boolean |
removeAssoc(AssociationEntity vAssoc)
Method removeAssoc.
|
AssociationEntity |
removeAssocAt(int index)
Method removeAssocAt.
|
void |
setAssoc(AssociationEntity[] vAssocArray) |
void |
setAssoc(int index,
AssociationEntity vAssoc) |
void |
setAssoc(java.util.List<AssociationEntity> vAssocList)
Sets the value of '_assocList' by copying the given Vector.
|
void |
setAssocAsReference(java.util.List<AssociationEntity> assocList)
Deprecated.
|
void |
setToUpdate(java.lang.Boolean toUpdate)
Sets the value of field 'toUpdate'.
|
static CsmfAssociationDefinition |
unmarshalCsmfAssociationDefinition(java.io.Reader reader)
Method unmarshalCsmfAssociationDefinition.
|
void |
validate() |
getParent, setParent
public void addAssoc(AssociationEntity vAssoc) throws java.lang.IndexOutOfBoundsException
vAssoc
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssoc(int index, AssociationEntity vAssoc) throws java.lang.IndexOutOfBoundsException
index
- vAssoc
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends AssociationEntity> enumerateAssoc()
public AssociationEntity getAssoc(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationEntity[] getAssoc()
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> getAssocAsReference()
public int getAssocCount()
public java.lang.Boolean getToUpdate()
public java.lang.Boolean isToUpdate()
public boolean isValid()
public java.util.Iterator<? extends AssociationEntity> iterateAssoc()
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 removeAllAssoc()
public boolean removeAssoc(AssociationEntity vAssoc)
vAssoc
- public AssociationEntity removeAssocAt(int index)
index
- public void setAssoc(int index, AssociationEntity vAssoc) throws java.lang.IndexOutOfBoundsException
index
- vAssoc
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssoc(AssociationEntity[] vAssocArray)
vAssocArray
- public void setAssoc(java.util.List<AssociationEntity> vAssocList)
vAssocList
- the Vector to copy.public void setAssocAsReference(java.util.List<AssociationEntity> assocList)
assocList
- the Vector to set.public void setToUpdate(java.lang.Boolean toUpdate)
toUpdate
- the value of field 'toUpdate'.public static CsmfAssociationDefinition unmarshalCsmfAssociationDefinition(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