|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexOnt.CsmfAssociationDefinition
public class CsmfAssociationDefinition
Class CsmfAssociationDefinition.
Constructor Summary | |
---|---|
CsmfAssociationDefinition()
|
Method Summary | |
---|---|
void |
addAssoc(Association vAssoc)
|
void |
addAssoc(int index,
Association vAssoc)
|
java.util.Enumeration<Association> |
enumerateAssoc()
Method enumerateAssoc. |
Association[] |
getAssoc()
Method getAssoc.Returns the contents of the collection in an Array. |
Association |
getAssoc(int index)
Method getAssoc. |
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<Association> |
iterateAssoc()
Method iterateAssoc. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllAssoc()
|
boolean |
removeAssoc(Association vAssoc)
Method removeAssoc. |
Association |
removeAssocAt(int index)
Method removeAssocAt. |
void |
setAssoc(Association[] vAssocArray)
|
void |
setAssoc(int index,
Association vAssoc)
|
void |
setToUpdate(java.lang.Boolean toUpdate)
Sets the value of field 'toUpdate'. |
static CsmfAssociationDefinition |
unmarshalCsmfAssociationDefinition(java.io.Reader reader)
Method unmarshalCsmfAssociationDefinition. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CsmfAssociationDefinition()
Method Detail |
---|
public void addAssoc(Association vAssoc) throws java.lang.IndexOutOfBoundsException
vAssoc
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssoc(int index, Association vAssoc) throws java.lang.IndexOutOfBoundsException
index
- vAssoc
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<Association> enumerateAssoc()
public Association getAssoc(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Association[] 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 int getAssocCount()
public java.lang.Boolean getToUpdate()
public java.lang.Boolean isToUpdate()
public boolean isValid()
public java.util.Iterator<Association> 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 marshaling
org.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
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllAssoc()
public boolean removeAssoc(Association vAssoc)
vAssoc
-
public Association removeAssocAt(int index)
index
-
public void setAssoc(int index, Association vAssoc) throws java.lang.IndexOutOfBoundsException
index
- vAssoc
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssoc(Association[] vAssocArray)
vAssocArray
- 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 marshaling
org.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
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |