|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.commonTypes.Versionable
org.LexGrid.relations.AssociatableElement
public class AssociatableElement
Information common to both the entity and data form of the "to" (or right hand) side of an association.
Constructor Summary | |
---|---|
AssociatableElement()
|
Method Summary | |
---|---|
void |
addAssociationQualification(AssociationQualification vAssociationQualification)
|
void |
addAssociationQualification(int index,
AssociationQualification vAssociationQualification)
|
void |
addUsageContext(int index,
java.lang.String vUsageContext)
|
void |
addUsageContext(java.lang.String vUsageContext)
|
java.util.Enumeration<AssociationQualification> |
enumerateAssociationQualification()
Method enumerateAssociationQualification. |
java.util.Enumeration<java.lang.String> |
enumerateUsageContext()
Method enumerateUsageContext. |
java.lang.String |
getAssociationInstanceId()
Returns the value of field 'associationInstanceId'. |
AssociationQualification[] |
getAssociationQualification()
Method getAssociationQualification.Returns the contents of the collection in an Array. |
AssociationQualification |
getAssociationQualification(int index)
Method getAssociationQualification. |
int |
getAssociationQualificationCount()
Method getAssociationQualificationCount. |
java.lang.Boolean |
getIsDefining()
Returns the value of field 'isDefining'. |
java.lang.Boolean |
getIsInferred()
Returns the value of field 'isInferred'. |
java.lang.String[] |
getUsageContext()
Method getUsageContext.Returns the contents of the collection in an Array. |
java.lang.String |
getUsageContext(int index)
Method getUsageContext. |
int |
getUsageContextCount()
Method getUsageContextCount. |
java.lang.Boolean |
isIsDefining()
Returns the value of field 'isDefining'. |
java.lang.Boolean |
isIsInferred()
Returns the value of field 'isInferred'. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<AssociationQualification> |
iterateAssociationQualification()
Method iterateAssociationQualification. |
java.util.Iterator<java.lang.String> |
iterateUsageContext()
Method iterateUsageContext. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllAssociationQualification()
|
void |
removeAllUsageContext()
|
boolean |
removeAssociationQualification(AssociationQualification vAssociationQualification)
Method removeAssociationQualification. |
AssociationQualification |
removeAssociationQualificationAt(int index)
Method removeAssociationQualificationAt. |
boolean |
removeUsageContext(java.lang.String vUsageContext)
Method removeUsageContext. |
java.lang.String |
removeUsageContextAt(int index)
Method removeUsageContextAt. |
void |
setAssociationInstanceId(java.lang.String associationInstanceId)
Sets the value of field 'associationInstanceId'. |
void |
setAssociationQualification(AssociationQualification[] vAssociationQualificationArray)
|
void |
setAssociationQualification(int index,
AssociationQualification vAssociationQualification)
|
void |
setIsDefining(java.lang.Boolean isDefining)
Sets the value of field 'isDefining'. |
void |
setIsInferred(java.lang.Boolean isInferred)
Sets the value of field 'isInferred'. |
void |
setUsageContext(int index,
java.lang.String vUsageContext)
|
void |
setUsageContext(java.lang.String[] vUsageContextArray)
|
static AssociatableElement |
unmarshalAssociatableElement(java.io.Reader reader)
Method unmarshalAssociatableElement. |
void |
validate()
|
Methods inherited from class org.LexGrid.commonTypes.Versionable |
---|
getEffectiveDate, getEntryState, getExpirationDate, getIsActive, getOwner, getStatus, isIsActive, setEffectiveDate, setEntryState, setExpirationDate, setIsActive, setOwner, setStatus, unmarshalVersionable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssociatableElement()
Method Detail |
---|
public void addAssociationQualification(AssociationQualification vAssociationQualification) throws java.lang.IndexOutOfBoundsException
vAssociationQualification
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssociationQualification(int index, AssociationQualification vAssociationQualification) throws java.lang.IndexOutOfBoundsException
index
- vAssociationQualification
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addUsageContext(java.lang.String vUsageContext) throws java.lang.IndexOutOfBoundsException
vUsageContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addUsageContext(int index, java.lang.String vUsageContext) throws java.lang.IndexOutOfBoundsException
index
- vUsageContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<AssociationQualification> enumerateAssociationQualification()
public java.util.Enumeration<java.lang.String> enumerateUsageContext()
public java.lang.String getAssociationInstanceId()
public AssociationQualification getAssociationQualification(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationQualification[] getAssociationQualification()
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 getAssociationQualificationCount()
public java.lang.Boolean getIsDefining()
public java.lang.Boolean getIsInferred()
public java.lang.String getUsageContext(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getUsageContext()
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 getUsageContextCount()
public java.lang.Boolean isIsDefining()
public java.lang.Boolean isIsInferred()
public boolean isValid()
isValid
in class Versionable
public java.util.Iterator<AssociationQualification> iterateAssociationQualification()
public java.util.Iterator<java.lang.String> iterateUsageContext()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshal
in class Versionable
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
marshal
in class Versionable
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 removeAllAssociationQualification()
public void removeAllUsageContext()
public boolean removeAssociationQualification(AssociationQualification vAssociationQualification)
vAssociationQualification
-
public AssociationQualification removeAssociationQualificationAt(int index)
index
-
public boolean removeUsageContext(java.lang.String vUsageContext)
vUsageContext
-
public java.lang.String removeUsageContextAt(int index)
index
-
public void setAssociationInstanceId(java.lang.String associationInstanceId)
associationInstanceId
- the value of field
'associationInstanceId'.public void setAssociationQualification(int index, AssociationQualification vAssociationQualification) throws java.lang.IndexOutOfBoundsException
index
- vAssociationQualification
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssociationQualification(AssociationQualification[] vAssociationQualificationArray)
vAssociationQualificationArray
- public void setIsDefining(java.lang.Boolean isDefining)
isDefining
- the value of field 'isDefining'.public void setIsInferred(java.lang.Boolean isInferred)
isInferred
- the value of field 'isInferred'.public void setUsageContext(int index, java.lang.String vUsageContext) throws java.lang.IndexOutOfBoundsException
index
- vUsageContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setUsageContext(java.lang.String[] vUsageContextArray)
vUsageContextArray
- public static AssociatableElement unmarshalAssociatableElement(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
validate
in class Versionable
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 |