|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mayo.edu.lgModel.LexGridBase
org.LexGrid.commonTypes.Versionable
org.LexGrid.commonTypes.VersionableAndDescribable
org.LexGrid.relations.Relations
public class Relations
A collection of relations that represent a particular point of view or community.
Constructor Summary | |
---|---|
Relations()
|
Method Summary | |
---|---|
void |
addAssociationPredicate(AssociationPredicate vAssociationPredicate)
|
void |
addAssociationPredicate(int index,
AssociationPredicate vAssociationPredicate)
|
java.util.Enumeration<? extends AssociationPredicate> |
enumerateAssociationPredicate()
Method enumerateAssociationPredicate. |
AssociationPredicate[] |
getAssociationPredicate()
Method getAssociationPredicate.Returns the contents of the collection in an Array. |
AssociationPredicate |
getAssociationPredicate(int index)
Method getAssociationPredicate. |
java.util.List<AssociationPredicate> |
getAssociationPredicateAsReference()
Method getAssociationPredicateAsReference.Returns a reference to '_associationPredicateList'. |
int |
getAssociationPredicateCount()
Method getAssociationPredicateCount. |
java.lang.String |
getContainerName()
Returns the value of field 'containerName'. |
java.lang.Boolean |
getIsMapping()
Returns the value of field 'isMapping'. |
Properties |
getProperties()
Returns the value of field 'properties'. |
java.lang.String |
getRepresentsVersion()
Returns the value of field 'representsVersion'. |
java.lang.String |
getSourceCodingScheme()
Returns the value of field 'sourceCodingScheme'. |
java.lang.String |
getSourceCodingSchemeVersion()
Returns the value of field 'sourceCodingSchemeVersion'. |
java.lang.String |
getTargetCodingScheme()
Returns the value of field 'targetCodingScheme'. |
java.lang.String |
getTargetCodingSchemeVersion()
Returns the value of field 'targetCodingSchemeVersion'. |
java.lang.Boolean |
isIsMapping()
Returns the value of field 'isMapping'. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends AssociationPredicate> |
iterateAssociationPredicate()
Method iterateAssociationPredicate. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllAssociationPredicate()
|
boolean |
removeAssociationPredicate(AssociationPredicate vAssociationPredicate)
Method removeAssociationPredicate. |
AssociationPredicate |
removeAssociationPredicateAt(int index)
Method removeAssociationPredicateAt. |
void |
setAssociationPredicate(AssociationPredicate[] vAssociationPredicateArray)
|
void |
setAssociationPredicate(int index,
AssociationPredicate vAssociationPredicate)
|
void |
setAssociationPredicate(java.util.List<AssociationPredicate> vAssociationPredicateList)
Sets the value of '_associationPredicateList' by copying the given Vector. |
void |
setAssociationPredicateAsReference(java.util.List<AssociationPredicate> associationPredicateList)
Deprecated. |
void |
setContainerName(java.lang.String containerName)
Sets the value of field 'containerName'. |
void |
setIsMapping(java.lang.Boolean isMapping)
Sets the value of field 'isMapping'. |
void |
setProperties(Properties properties)
Sets the value of field 'properties'. |
void |
setRepresentsVersion(java.lang.String representsVersion)
Sets the value of field 'representsVersion'. |
void |
setSourceCodingScheme(java.lang.String sourceCodingScheme)
Sets the value of field 'sourceCodingScheme'. |
void |
setSourceCodingSchemeVersion(java.lang.String sourceCodingSchemeVersion)
Sets the value of field 'sourceCodingSchemeVersion'. |
void |
setTargetCodingScheme(java.lang.String targetCodingScheme)
Sets the value of field 'targetCodingScheme'. |
void |
setTargetCodingSchemeVersion(java.lang.String targetCodingSchemeVersion)
Sets the value of field 'targetCodingSchemeVersion'. |
static Relations |
unmarshalRelations(java.io.Reader reader)
Method unmarshalRelations. |
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 org.mayo.edu.lgModel.LexGridBase |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Relations()
Method Detail |
---|
public void addAssociationPredicate(AssociationPredicate vAssociationPredicate) throws java.lang.IndexOutOfBoundsException
vAssociationPredicate
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAssociationPredicate(int index, AssociationPredicate vAssociationPredicate) throws java.lang.IndexOutOfBoundsException
index
- vAssociationPredicate
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends AssociationPredicate> enumerateAssociationPredicate()
public AssociationPredicate getAssociationPredicate(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic AssociationPredicate[] getAssociationPredicate()
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<AssociationPredicate> getAssociationPredicateAsReference()
public int getAssociationPredicateCount()
public java.lang.String getContainerName()
public java.lang.Boolean getIsMapping()
public Properties getProperties()
public java.lang.String getRepresentsVersion()
public java.lang.String getSourceCodingScheme()
public java.lang.String getSourceCodingSchemeVersion()
public java.lang.String getTargetCodingScheme()
public java.lang.String getTargetCodingSchemeVersion()
public java.lang.Boolean isIsMapping()
public boolean isValid()
isValid
in class VersionableAndDescribable
public java.util.Iterator<? extends AssociationPredicate> iterateAssociationPredicate()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
marshal
in class VersionableAndDescribable
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 VersionableAndDescribable
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 removeAllAssociationPredicate()
public boolean removeAssociationPredicate(AssociationPredicate vAssociationPredicate)
vAssociationPredicate
-
public AssociationPredicate removeAssociationPredicateAt(int index)
index
-
public void setAssociationPredicate(int index, AssociationPredicate vAssociationPredicate) throws java.lang.IndexOutOfBoundsException
index
- vAssociationPredicate
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAssociationPredicate(AssociationPredicate[] vAssociationPredicateArray)
vAssociationPredicateArray
- public void setAssociationPredicate(java.util.List<AssociationPredicate> vAssociationPredicateList)
vAssociationPredicateList
- the Vector to copy.public void setAssociationPredicateAsReference(java.util.List<AssociationPredicate> associationPredicateList)
associationPredicateList
- the Vector to set.public void setContainerName(java.lang.String containerName)
containerName
- the value of field 'containerName'.public void setIsMapping(java.lang.Boolean isMapping)
isMapping
- the value of field 'isMapping'.public void setProperties(Properties properties)
properties
- the value of field 'properties'.public void setRepresentsVersion(java.lang.String representsVersion)
representsVersion
- the value of field
'representsVersion'.public void setSourceCodingScheme(java.lang.String sourceCodingScheme)
sourceCodingScheme
- the value of field
'sourceCodingScheme'.public void setSourceCodingSchemeVersion(java.lang.String sourceCodingSchemeVersion)
sourceCodingSchemeVersion
- the value of field
'sourceCodingSchemeVersion'.public void setTargetCodingScheme(java.lang.String targetCodingScheme)
targetCodingScheme
- the value of field
'targetCodingScheme'.public void setTargetCodingSchemeVersion(java.lang.String targetCodingSchemeVersion)
targetCodingSchemeVersion
- the value of field
'targetCodingSchemeVersion'.public static Relations unmarshalRelations(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 VersionableAndDescribable
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 |