|
|||||||||
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.valueSets.PickListDefinition
public class PickListDefinition
An ordered list of entity codes and corresponding presentations drawn from a value set definition.
Constructor Summary | |
---|---|
PickListDefinition()
|
Method Summary | |
---|---|
void |
addDefaultPickContext(int index,
java.lang.String vDefaultPickContext)
|
void |
addDefaultPickContext(java.lang.String vDefaultPickContext)
|
void |
addPickListEntryNode(int index,
PickListEntryNode vPickListEntryNode)
|
void |
addPickListEntryNode(PickListEntryNode vPickListEntryNode)
|
void |
addSource(int index,
Source vSource)
|
void |
addSource(Source vSource)
|
java.util.Enumeration<? extends java.lang.String> |
enumerateDefaultPickContext()
Method enumerateDefaultPickContext. |
java.util.Enumeration<? extends PickListEntryNode> |
enumeratePickListEntryNode()
Method enumeratePickListEntryNode. |
java.util.Enumeration<? extends Source> |
enumerateSource()
Method enumerateSource. |
java.lang.Boolean |
getCompleteSet()
Returns the value of field 'completeSet'. |
java.lang.String |
getDefaultEntityCodeNamespace()
Returns the value of field 'defaultEntityCodeNamespace'. |
java.lang.String |
getDefaultLanguage()
Returns the value of field 'defaultLanguage'. |
java.lang.String[] |
getDefaultPickContext()
Method getDefaultPickContext.Returns the contents of the collection in an Array. |
java.lang.String |
getDefaultPickContext(int index)
Method getDefaultPickContext. |
java.util.List<java.lang.String> |
getDefaultPickContextAsReference()
Method getDefaultPickContextAsReference.Returns a reference to '_defaultPickContextList'. |
int |
getDefaultPickContextCount()
Method getDefaultPickContextCount. |
java.lang.String |
getDefaultSortOrder()
Returns the value of field 'defaultSortOrder'. |
Mappings |
getMappings()
Returns the value of field 'mappings'. |
PickListEntryNode[] |
getPickListEntryNode()
Method getPickListEntryNode.Returns the contents of the collection in an Array. |
PickListEntryNode |
getPickListEntryNode(int index)
Method getPickListEntryNode. |
java.util.List<PickListEntryNode> |
getPickListEntryNodeAsReference()
Method getPickListEntryNodeAsReference.Returns a reference to '_pickListEntryNodeList'. |
int |
getPickListEntryNodeCount()
Method getPickListEntryNodeCount. |
java.lang.String |
getPickListId()
Returns the value of field 'pickListId'. |
Properties |
getProperties()
Returns the value of field 'properties'. |
java.lang.String |
getRepresentsValueSetDefinition()
Returns the value of field 'representsValueSetDefinition'. |
Source[] |
getSource()
Method getSource.Returns the contents of the collection in an Array. |
Source |
getSource(int index)
Method getSource. |
java.util.List<Source> |
getSourceAsReference()
Method getSourceAsReference.Returns a reference to '_sourceList'. |
int |
getSourceCount()
Method getSourceCount. |
java.lang.Boolean |
isCompleteSet()
Returns the value of field 'completeSet'. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends java.lang.String> |
iterateDefaultPickContext()
Method iterateDefaultPickContext. |
java.util.Iterator<? extends PickListEntryNode> |
iteratePickListEntryNode()
Method iteratePickListEntryNode. |
java.util.Iterator<? extends Source> |
iterateSource()
Method iterateSource. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllDefaultPickContext()
|
void |
removeAllPickListEntryNode()
|
void |
removeAllSource()
|
boolean |
removeDefaultPickContext(java.lang.String vDefaultPickContext)
Method removeDefaultPickContext. |
java.lang.String |
removeDefaultPickContextAt(int index)
Method removeDefaultPickContextAt. |
boolean |
removePickListEntryNode(PickListEntryNode vPickListEntryNode)
Method removePickListEntryNode. |
PickListEntryNode |
removePickListEntryNodeAt(int index)
Method removePickListEntryNodeAt. |
boolean |
removeSource(Source vSource)
Method removeSource. |
Source |
removeSourceAt(int index)
Method removeSourceAt. |
void |
setCompleteSet(java.lang.Boolean completeSet)
Sets the value of field 'completeSet'. |
void |
setDefaultEntityCodeNamespace(java.lang.String defaultEntityCodeNamespace)
Sets the value of field 'defaultEntityCodeNamespace'. |
void |
setDefaultLanguage(java.lang.String defaultLanguage)
Sets the value of field 'defaultLanguage'. |
void |
setDefaultPickContext(int index,
java.lang.String vDefaultPickContext)
|
void |
setDefaultPickContext(java.util.List<java.lang.String> vDefaultPickContextList)
Sets the value of '_defaultPickContextList' by copying the given Vector. |
void |
setDefaultPickContext(java.lang.String[] vDefaultPickContextArray)
|
void |
setDefaultPickContextAsReference(java.util.List<java.lang.String> defaultPickContextList)
Deprecated. |
void |
setDefaultSortOrder(java.lang.String defaultSortOrder)
Sets the value of field 'defaultSortOrder'. |
void |
setMappings(Mappings mappings)
Sets the value of field 'mappings'. |
void |
setPickListEntryNode(int index,
PickListEntryNode vPickListEntryNode)
|
void |
setPickListEntryNode(java.util.List<PickListEntryNode> vPickListEntryNodeList)
Sets the value of '_pickListEntryNodeList' by copying the given Vector. |
void |
setPickListEntryNode(PickListEntryNode[] vPickListEntryNodeArray)
|
void |
setPickListEntryNodeAsReference(java.util.List<PickListEntryNode> pickListEntryNodeList)
Deprecated. |
void |
setPickListId(java.lang.String pickListId)
Sets the value of field 'pickListId'. |
void |
setProperties(Properties properties)
Sets the value of field 'properties'. |
void |
setRepresentsValueSetDefinition(java.lang.String representsValueSetDefinition)
Sets the value of field 'representsValueSetDefinition'. |
void |
setSource(int index,
Source vSource)
|
void |
setSource(java.util.List<Source> vSourceList)
Sets the value of '_sourceList' by copying the given Vector. |
void |
setSource(Source[] vSourceArray)
|
void |
setSourceAsReference(java.util.List<Source> sourceList)
Deprecated. |
static PickListDefinition |
unmarshalPickListDefinition(java.io.Reader reader)
Method unmarshalPickListDefinition. |
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 PickListDefinition()
Method Detail |
---|
public void addDefaultPickContext(java.lang.String vDefaultPickContext) throws java.lang.IndexOutOfBoundsException
vDefaultPickContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addDefaultPickContext(int index, java.lang.String vDefaultPickContext) throws java.lang.IndexOutOfBoundsException
index
- vDefaultPickContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPickListEntryNode(PickListEntryNode vPickListEntryNode) throws java.lang.IndexOutOfBoundsException
vPickListEntryNode
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPickListEntryNode(int index, PickListEntryNode vPickListEntryNode) throws java.lang.IndexOutOfBoundsException
index
- vPickListEntryNode
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSource(Source vSource) throws java.lang.IndexOutOfBoundsException
vSource
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSource(int index, Source 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 java.lang.String> enumerateDefaultPickContext()
public java.util.Enumeration<? extends PickListEntryNode> enumeratePickListEntryNode()
public java.util.Enumeration<? extends Source> enumerateSource()
public java.lang.Boolean getCompleteSet()
public java.lang.String getDefaultEntityCodeNamespace()
public java.lang.String getDefaultLanguage()
public java.lang.String getDefaultPickContext(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getDefaultPickContext()
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<java.lang.String> getDefaultPickContextAsReference()
public int getDefaultPickContextCount()
public java.lang.String getDefaultSortOrder()
public Mappings getMappings()
public PickListEntryNode getPickListEntryNode(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic PickListEntryNode[] getPickListEntryNode()
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<PickListEntryNode> getPickListEntryNodeAsReference()
public int getPickListEntryNodeCount()
public java.lang.String getPickListId()
public Properties getProperties()
public java.lang.String getRepresentsValueSetDefinition()
public Source getSource(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Source[] 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<Source> getSourceAsReference()
public int getSourceCount()
public java.lang.Boolean isCompleteSet()
public boolean isValid()
isValid
in class VersionableAndDescribable
public java.util.Iterator<? extends java.lang.String> iterateDefaultPickContext()
public java.util.Iterator<? extends PickListEntryNode> iteratePickListEntryNode()
public java.util.Iterator<? extends Source> iterateSource()
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 removeAllDefaultPickContext()
public void removeAllPickListEntryNode()
public void removeAllSource()
public boolean removeDefaultPickContext(java.lang.String vDefaultPickContext)
vDefaultPickContext
-
public java.lang.String removeDefaultPickContextAt(int index)
index
-
public boolean removePickListEntryNode(PickListEntryNode vPickListEntryNode)
vPickListEntryNode
-
public PickListEntryNode removePickListEntryNodeAt(int index)
index
-
public boolean removeSource(Source vSource)
vSource
-
public Source removeSourceAt(int index)
index
-
public void setCompleteSet(java.lang.Boolean completeSet)
completeSet
- the value of field 'completeSet'.public void setDefaultEntityCodeNamespace(java.lang.String defaultEntityCodeNamespace)
defaultEntityCodeNamespace
- the value of field
'defaultEntityCodeNamespace'.public void setDefaultLanguage(java.lang.String defaultLanguage)
defaultLanguage
- the value of field 'defaultLanguage'.public void setDefaultPickContext(int index, java.lang.String vDefaultPickContext) throws java.lang.IndexOutOfBoundsException
index
- vDefaultPickContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setDefaultPickContext(java.lang.String[] vDefaultPickContextArray)
vDefaultPickContextArray
- public void setDefaultPickContext(java.util.List<java.lang.String> vDefaultPickContextList)
vDefaultPickContextList
- the Vector to copy.public void setDefaultPickContextAsReference(java.util.List<java.lang.String> defaultPickContextList)
defaultPickContextList
- the Vector to set.public void setDefaultSortOrder(java.lang.String defaultSortOrder)
defaultSortOrder
- the value of field 'defaultSortOrder'public void setMappings(Mappings mappings)
mappings
- the value of field 'mappings'.public void setPickListEntryNode(int index, PickListEntryNode vPickListEntryNode) throws java.lang.IndexOutOfBoundsException
index
- vPickListEntryNode
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPickListEntryNode(PickListEntryNode[] vPickListEntryNodeArray)
vPickListEntryNodeArray
- public void setPickListEntryNode(java.util.List<PickListEntryNode> vPickListEntryNodeList)
vPickListEntryNodeList
- the Vector to copy.public void setPickListEntryNodeAsReference(java.util.List<PickListEntryNode> pickListEntryNodeList)
pickListEntryNodeList
- the Vector to set.public void setPickListId(java.lang.String pickListId)
pickListId
- the value of field 'pickListId'.public void setProperties(Properties properties)
properties
- the value of field 'properties'.public void setRepresentsValueSetDefinition(java.lang.String representsValueSetDefinition)
representsValueSetDefinition
- the value of field
'representsValueSetDefinition'.public void setSource(int index, Source vSource) throws java.lang.IndexOutOfBoundsException
index
- vSource
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSource(Source[] vSourceArray)
vSourceArray
- public void setSource(java.util.List<Source> vSourceList)
vSourceList
- the Vector to copy.public void setSourceAsReference(java.util.List<Source> sourceList)
sourceList
- the Vector to set.public static PickListDefinition unmarshalPickListDefinition(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 |