|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.commonTypes.Versionable
org.LexGrid.commonTypes.VersionableAndDescribable
org.LexGrid.concepts.Entity
org.LexGrid.relations.Association
public class Association
A binary relation from a set of entities to a set of entities and/or data. The entityType for the class concept must be "association".
Constructor Summary | |
---|---|
Association()
|
Method Summary | |
---|---|
void |
addSource(AssociationSource vSource)
|
void |
addSource(int index,
AssociationSource vSource)
|
java.util.Enumeration<AssociationSource> |
enumerateSource()
Method enumerateSource. |
java.lang.String |
getAssociationName()
Returns the value of field 'associationName'. |
java.lang.String |
getForwardName()
Returns the value of field 'forwardName'. |
java.lang.String |
getInverse()
Returns the value of field 'inverse'. |
java.lang.Boolean |
getIsAntiReflexive()
Returns the value of field 'isAntiReflexive'. |
java.lang.Boolean |
getIsAntiSymmetric()
Returns the value of field 'isAntiSymmetric'. |
java.lang.Boolean |
getIsAntiTransitive()
Returns the value of field 'isAntiTransitive'. |
java.lang.Boolean |
getIsFunctional()
Returns the value of field 'isFunctional'. |
java.lang.Boolean |
getIsNavigable()
Returns the value of field 'isNavigable'. |
java.lang.Boolean |
getIsReflexive()
Returns the value of field 'isReflexive'. |
java.lang.Boolean |
getIsReverseFunctional()
Returns the value of field 'isReverseFunctional'. |
java.lang.Boolean |
getIsSymmetric()
Returns the value of field 'isSymmetric'. |
java.lang.Boolean |
getIsTransitive()
Returns the value of field 'isTransitive'. |
java.lang.String |
getReverseName()
Returns the value of field 'reverseName'. |
AssociationSource[] |
getSource()
Method getSource.Returns the contents of the collection in an Array. |
AssociationSource |
getSource(int index)
Method getSource. |
int |
getSourceCount()
Method getSourceCount. |
java.lang.Boolean |
isIsAntiReflexive()
Returns the value of field 'isAntiReflexive'. |
java.lang.Boolean |
isIsAntiSymmetric()
Returns the value of field 'isAntiSymmetric'. |
java.lang.Boolean |
isIsAntiTransitive()
Returns the value of field 'isAntiTransitive'. |
java.lang.Boolean |
isIsFunctional()
Returns the value of field 'isFunctional'. |
java.lang.Boolean |
isIsNavigable()
Returns the value of field 'isNavigable'. |
java.lang.Boolean |
isIsReflexive()
Returns the value of field 'isReflexive'. |
java.lang.Boolean |
isIsReverseFunctional()
Returns the value of field 'isReverseFunctional'. |
java.lang.Boolean |
isIsSymmetric()
Returns the value of field 'isSymmetric'. |
java.lang.Boolean |
isIsTransitive()
Returns the value of field 'isTransitive'. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<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 |
setForwardName(java.lang.String forwardName)
Sets the value of field 'forwardName'. |
void |
setInverse(java.lang.String inverse)
Sets the value of field 'inverse'. |
void |
setIsAntiReflexive(java.lang.Boolean isAntiReflexive)
Sets the value of field 'isAntiReflexive'. |
void |
setIsAntiSymmetric(java.lang.Boolean isAntiSymmetric)
Sets the value of field 'isAntiSymmetric'. |
void |
setIsAntiTransitive(java.lang.Boolean isAntiTransitive)
Sets the value of field 'isAntiTransitive'. |
void |
setIsFunctional(java.lang.Boolean isFunctional)
Sets the value of field 'isFunctional'. |
void |
setIsNavigable(java.lang.Boolean isNavigable)
Sets the value of field 'isNavigable'. |
void |
setIsReflexive(java.lang.Boolean isReflexive)
Sets the value of field 'isReflexive'. |
void |
setIsReverseFunctional(java.lang.Boolean isReverseFunctional)
Sets the value of field 'isReverseFunctional'. |
void |
setIsSymmetric(java.lang.Boolean isSymmetric)
Sets the value of field 'isSymmetric'. |
void |
setIsTransitive(java.lang.Boolean isTransitive)
Sets the value of field 'isTransitive'. |
void |
setReverseName(java.lang.String reverseName)
Sets the value of field 'reverseName'. |
void |
setSource(AssociationSource[] vSourceArray)
|
void |
setSource(int index,
AssociationSource vSource)
|
static Association |
unmarshalAssociation(java.io.Reader reader)
Method unmarshalAssociation. |
void |
validate()
|
Methods inherited from class org.LexGrid.commonTypes.VersionableAndDescribable |
---|
getEntityDescription, setEntityDescription, unmarshalVersionableAndDescribable |
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 Association()
Method Detail |
---|
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<AssociationSource> enumerateSource()
public java.lang.String getAssociationName()
public java.lang.String getForwardName()
public java.lang.String getInverse()
public java.lang.Boolean getIsAntiReflexive()
public java.lang.Boolean getIsAntiSymmetric()
public java.lang.Boolean getIsAntiTransitive()
public java.lang.Boolean getIsFunctional()
public java.lang.Boolean getIsNavigable()
public java.lang.Boolean getIsReflexive()
public java.lang.Boolean getIsReverseFunctional()
public java.lang.Boolean getIsSymmetric()
public java.lang.Boolean getIsTransitive()
public java.lang.String getReverseName()
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 int getSourceCount()
public java.lang.Boolean isIsAntiReflexive()
public java.lang.Boolean isIsAntiSymmetric()
public java.lang.Boolean isIsAntiTransitive()
public java.lang.Boolean isIsFunctional()
public java.lang.Boolean isIsNavigable()
public java.lang.Boolean isIsReflexive()
public java.lang.Boolean isIsReverseFunctional()
public java.lang.Boolean isIsSymmetric()
public java.lang.Boolean isIsTransitive()
public boolean isValid()
isValid
in class Entity
public java.util.Iterator<AssociationSource> iterateSource()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshal
in class Entity
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 Entity
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 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 setForwardName(java.lang.String forwardName)
forwardName
- the value of field 'forwardName'.public void setInverse(java.lang.String inverse)
inverse
- the value of field 'inverse'.public void setIsAntiReflexive(java.lang.Boolean isAntiReflexive)
isAntiReflexive
- the value of field 'isAntiReflexive'.public void setIsAntiSymmetric(java.lang.Boolean isAntiSymmetric)
isAntiSymmetric
- the value of field 'isAntiSymmetric'.public void setIsAntiTransitive(java.lang.Boolean isAntiTransitive)
isAntiTransitive
- the value of field 'isAntiTransitive'public void setIsFunctional(java.lang.Boolean isFunctional)
isFunctional
- the value of field 'isFunctional'.public void setIsNavigable(java.lang.Boolean isNavigable)
isNavigable
- the value of field 'isNavigable'.public void setIsReflexive(java.lang.Boolean isReflexive)
isReflexive
- the value of field 'isReflexive'.public void setIsReverseFunctional(java.lang.Boolean isReverseFunctional)
isReverseFunctional
- the value of field
'isReverseFunctional'.public void setIsSymmetric(java.lang.Boolean isSymmetric)
isSymmetric
- the value of field 'isSymmetric'.public void setIsTransitive(java.lang.Boolean isTransitive)
isTransitive
- the value of field 'isTransitive'.public void setReverseName(java.lang.String reverseName)
reverseName
- the value of field 'reverseName'.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 static Association unmarshalAssociation(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 Entity
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 |