public class AssociationSource extends LexGridBase implements java.io.Serializable
Constructor and Description |
---|
AssociationSource() |
Modifier and Type | Method and Description |
---|---|
void |
addTarget(AssociationTarget vTarget) |
void |
addTarget(int index,
AssociationTarget vTarget) |
void |
addTargetData(AssociationData vTargetData) |
void |
addTargetData(int index,
AssociationData vTargetData) |
java.util.Enumeration<? extends AssociationTarget> |
enumerateTarget()
Method enumerateTarget.
|
java.util.Enumeration<? extends AssociationData> |
enumerateTargetData()
Method enumerateTargetData.
|
java.lang.Object |
getChoiceValue()
Returns the value of field 'choiceValue'.
|
java.lang.String |
getSourceEntityCode()
Returns the value of field 'sourceEntityCode'.
|
java.lang.String |
getSourceEntityCodeNamespace()
Returns the value of field 'sourceEntityCodeNamespace'.
|
AssociationTarget[] |
getTarget()
Method getTarget.Returns the contents of the collection in
an Array.
|
AssociationTarget |
getTarget(int index)
Method getTarget.
|
java.util.List<AssociationTarget> |
getTargetAsReference()
Method getTargetAsReference.Returns a reference to
'_targetList'.
|
int |
getTargetCount()
Method getTargetCount.
|
AssociationData[] |
getTargetData()
Method getTargetData.Returns the contents of the collection
in an Array.
|
AssociationData |
getTargetData(int index)
Method getTargetData.
|
java.util.List<AssociationData> |
getTargetDataAsReference()
Method getTargetDataAsReference.Returns a reference to
'_targetDataList'.
|
int |
getTargetDataCount()
Method getTargetDataCount.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends AssociationTarget> |
iterateTarget()
Method iterateTarget.
|
java.util.Iterator<? extends AssociationData> |
iterateTargetData()
Method iterateTargetData.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllTarget() |
void |
removeAllTargetData() |
boolean |
removeTarget(AssociationTarget vTarget)
Method removeTarget.
|
AssociationTarget |
removeTargetAt(int index)
Method removeTargetAt.
|
boolean |
removeTargetData(AssociationData vTargetData)
Method removeTargetData.
|
AssociationData |
removeTargetDataAt(int index)
Method removeTargetDataAt.
|
void |
setSourceEntityCode(java.lang.String sourceEntityCode)
Sets the value of field 'sourceEntityCode'.
|
void |
setSourceEntityCodeNamespace(java.lang.String sourceEntityCodeNamespace)
Sets the value of field 'sourceEntityCodeNamespace'.
|
void |
setTarget(AssociationTarget[] vTargetArray) |
void |
setTarget(int index,
AssociationTarget vTarget) |
void |
setTarget(java.util.List<AssociationTarget> vTargetList)
Sets the value of '_targetList' by copying the given Vector.
|
void |
setTargetAsReference(java.util.List<AssociationTarget> targetList)
Deprecated.
|
void |
setTargetData(AssociationData[] vTargetDataArray) |
void |
setTargetData(int index,
AssociationData vTargetData) |
void |
setTargetData(java.util.List<AssociationData> vTargetDataList)
Sets the value of '_targetDataList' by copying the given
Vector.
|
void |
setTargetDataAsReference(java.util.List<AssociationData> targetDataList)
Deprecated.
|
static AssociationSource |
unmarshalAssociationSource(java.io.Reader reader)
Method unmarshalAssociationSource.
|
void |
validate() |
getParent, setParent
public void addTarget(AssociationTarget vTarget) throws java.lang.IndexOutOfBoundsException
vTarget
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addTarget(int index, AssociationTarget vTarget) throws java.lang.IndexOutOfBoundsException
index
- vTarget
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addTargetData(AssociationData vTargetData) throws java.lang.IndexOutOfBoundsException
vTargetData
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addTargetData(int index, AssociationData vTargetData) throws java.lang.IndexOutOfBoundsException
index
- vTargetData
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends AssociationTarget> enumerateTarget()
public java.util.Enumeration<? extends AssociationData> enumerateTargetData()
public java.lang.Object getChoiceValue()
public java.lang.String getSourceEntityCode()
public java.lang.String getSourceEntityCodeNamespace()
public AssociationTarget getTarget(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationTarget[] getTarget()
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<AssociationTarget> getTargetAsReference()
public int getTargetCount()
public AssociationData getTargetData(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationData[] getTargetData()
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<AssociationData> getTargetDataAsReference()
public int getTargetDataCount()
public boolean isValid()
public java.util.Iterator<? extends AssociationTarget> iterateTarget()
public java.util.Iterator<? extends AssociationData> iterateTargetData()
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 removeAllTarget()
public void removeAllTargetData()
public boolean removeTarget(AssociationTarget vTarget)
vTarget
- public AssociationTarget removeTargetAt(int index)
index
- public boolean removeTargetData(AssociationData vTargetData)
vTargetData
- public AssociationData removeTargetDataAt(int index)
index
- public void setSourceEntityCode(java.lang.String sourceEntityCode)
sourceEntityCode
- the value of field 'sourceEntityCode'public void setSourceEntityCodeNamespace(java.lang.String sourceEntityCodeNamespace)
sourceEntityCodeNamespace
- the value of field
'sourceEntityCodeNamespace'.public void setTarget(int index, AssociationTarget vTarget) throws java.lang.IndexOutOfBoundsException
index
- vTarget
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setTarget(AssociationTarget[] vTargetArray)
vTargetArray
- public void setTarget(java.util.List<AssociationTarget> vTargetList)
vTargetList
- the Vector to copy.public void setTargetAsReference(java.util.List<AssociationTarget> targetList)
targetList
- the Vector to set.public void setTargetData(int index, AssociationData vTargetData) throws java.lang.IndexOutOfBoundsException
index
- vTargetData
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setTargetData(AssociationData[] vTargetDataArray)
vTargetDataArray
- public void setTargetData(java.util.List<AssociationData> vTargetDataList)
vTargetDataList
- the Vector to copy.public void setTargetDataAsReference(java.util.List<AssociationData> targetDataList)
targetDataList
- the Vector to set.public static AssociationSource unmarshalAssociationSource(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