public class AssociationPredicate extends LexGridBase implements java.io.Serializable
Constructor and Description |
---|
AssociationPredicate() |
Modifier and Type | Method and Description |
---|---|
void |
addSource(AssociationSource vSource) |
void |
addSource(int index,
AssociationSource vSource) |
java.util.Enumeration<? extends AssociationSource> |
enumerateSource()
Method enumerateSource.
|
java.lang.String |
getAssociationName()
Returns the value of field 'associationName'.
|
AssociationSource[] |
getSource()
Method getSource.Returns the contents of the collection in
an Array.
|
AssociationSource |
getSource(int index)
Method getSource.
|
java.util.List<AssociationSource> |
getSourceAsReference()
Method getSourceAsReference.Returns a reference to
'_sourceList'.
|
int |
getSourceCount()
Method getSourceCount.
|
boolean |
isValid()
Method isValid.
|
java.util.Iterator<? extends AssociationSource> |
iterateSource()
Method iterateSource.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
removeAllSource() |
boolean |
removeSource(AssociationSource vSource)
Method removeSource.
|
AssociationSource |
removeSourceAt(int index)
Method removeSourceAt.
|
void |
setAssociationName(java.lang.String associationName)
Sets the value of field 'associationName'.
|
void |
setSource(AssociationSource[] vSourceArray) |
void |
setSource(int index,
AssociationSource vSource) |
void |
setSource(java.util.List<AssociationSource> vSourceList)
Sets the value of '_sourceList' by copying the given Vector.
|
void |
setSourceAsReference(java.util.List<AssociationSource> sourceList)
Deprecated.
|
static AssociationPredicate |
unmarshalAssociationPredicate(java.io.Reader reader)
Method unmarshalAssociationPredicate.
|
void |
validate() |
getParent, setParent
public void addSource(AssociationSource vSource) throws java.lang.IndexOutOfBoundsException
vSource
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSource(int index, AssociationSource vSource) throws java.lang.IndexOutOfBoundsException
index
- vSource
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends AssociationSource> enumerateSource()
public java.lang.String getAssociationName()
public AssociationSource getSource(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationSource[] getSource()
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<AssociationSource> getSourceAsReference()
public int getSourceCount()
public boolean isValid()
public java.util.Iterator<? extends AssociationSource> iterateSource()
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 removeAllSource()
public boolean removeSource(AssociationSource vSource)
vSource
- public AssociationSource removeSourceAt(int index)
index
- public void setAssociationName(java.lang.String associationName)
associationName
- the value of field 'associationName'.public void setSource(int index, AssociationSource vSource) throws java.lang.IndexOutOfBoundsException
index
- vSource
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSource(AssociationSource[] vSourceArray)
vSourceArray
- public void setSource(java.util.List<AssociationSource> vSourceList)
vSourceList
- the Vector to copy.public void setSourceAsReference(java.util.List<AssociationSource> sourceList)
sourceList
- the Vector to set.public static AssociationPredicate unmarshalAssociationPredicate(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