|
|||||||||
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.valueSets.PickListEntry
public class PickListEntry
An entity code and corresponding textual representation.
Constructor Summary | |
---|---|
PickListEntry()
|
Method Summary | |
---|---|
void |
addPickContext(int index,
java.lang.String vPickContext)
|
void |
addPickContext(java.lang.String vPickContext)
|
java.util.Enumeration<? extends java.lang.String> |
enumeratePickContext()
Method enumeratePickContext. |
java.lang.String |
getEntityCode()
Returns the value of field 'entityCode'. |
java.lang.String |
getEntityCodeNamespace()
Returns the value of field 'entityCodeNamespace'. |
java.lang.Long |
getEntryOrder()
Returns the value of field 'entryOrder'. |
java.lang.Boolean |
getIsDefault()
Returns the value of field 'isDefault'. |
java.lang.String |
getLanguage()
Returns the value of field 'language'. |
java.lang.Boolean |
getMatchIfNoContext()
Returns the value of field 'matchIfNoContext'. |
java.lang.String[] |
getPickContext()
Method getPickContext.Returns the contents of the collection in an Array. |
java.lang.String |
getPickContext(int index)
Method getPickContext. |
java.util.List<java.lang.String> |
getPickContextAsReference()
Method getPickContextAsReference.Returns a reference to '_pickContextList'. |
int |
getPickContextCount()
Method getPickContextCount. |
java.lang.String |
getPickText()
Returns the value of field 'pickText'. |
java.lang.String |
getPropertyId()
Returns the value of field 'propertyId'. |
java.lang.Boolean |
isIsDefault()
Returns the value of field 'isDefault'. |
java.lang.Boolean |
isMatchIfNoContext()
Returns the value of field 'matchIfNoContext'. |
boolean |
isValid()
Method isValid. |
java.util.Iterator<? extends java.lang.String> |
iteratePickContext()
Method iteratePickContext. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllPickContext()
|
boolean |
removePickContext(java.lang.String vPickContext)
Method removePickContext. |
java.lang.String |
removePickContextAt(int index)
Method removePickContextAt. |
void |
setEntityCode(java.lang.String entityCode)
Sets the value of field 'entityCode'. |
void |
setEntityCodeNamespace(java.lang.String entityCodeNamespace)
Sets the value of field 'entityCodeNamespace'. |
void |
setEntryOrder(java.lang.Long entryOrder)
Sets the value of field 'entryOrder'. |
void |
setIsDefault(java.lang.Boolean isDefault)
Sets the value of field 'isDefault'. |
void |
setLanguage(java.lang.String language)
Sets the value of field 'language'. |
void |
setMatchIfNoContext(java.lang.Boolean matchIfNoContext)
Sets the value of field 'matchIfNoContext'. |
void |
setPickContext(int index,
java.lang.String vPickContext)
|
void |
setPickContext(java.util.List<java.lang.String> vPickContextList)
Sets the value of '_pickContextList' by copying the given Vector. |
void |
setPickContext(java.lang.String[] vPickContextArray)
|
void |
setPickContextAsReference(java.util.List<java.lang.String> pickContextList)
Deprecated. |
void |
setPickText(java.lang.String pickText)
Sets the value of field 'pickText'. |
void |
setPropertyId(java.lang.String propertyId)
Sets the value of field 'propertyId'. |
static PickListEntry |
unmarshalPickListEntry(java.io.Reader reader)
Method unmarshalPickListEntry. |
void |
validate()
|
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 PickListEntry()
Method Detail |
---|
public void addPickContext(java.lang.String vPickContext) throws java.lang.IndexOutOfBoundsException
vPickContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addPickContext(int index, java.lang.String vPickContext) throws java.lang.IndexOutOfBoundsException
index
- vPickContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends java.lang.String> enumeratePickContext()
public java.lang.String getEntityCode()
public java.lang.String getEntityCodeNamespace()
public java.lang.Long getEntryOrder()
public java.lang.Boolean getIsDefault()
public java.lang.String getLanguage()
public java.lang.Boolean getMatchIfNoContext()
public java.lang.String getPickContext(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getPickContext()
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> getPickContextAsReference()
public int getPickContextCount()
public java.lang.String getPickText()
public java.lang.String getPropertyId()
public java.lang.Boolean isIsDefault()
public java.lang.Boolean isMatchIfNoContext()
public boolean isValid()
public java.util.Iterator<? extends java.lang.String> iteratePickContext()
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 removeAllPickContext()
public boolean removePickContext(java.lang.String vPickContext)
vPickContext
-
public java.lang.String removePickContextAt(int index)
index
-
public void setEntityCode(java.lang.String entityCode)
entityCode
- the value of field 'entityCode'.public void setEntityCodeNamespace(java.lang.String entityCodeNamespace)
entityCodeNamespace
- the value of field
'entityCodeNamespace'.public void setEntryOrder(java.lang.Long entryOrder)
entryOrder
- the value of field 'entryOrder'.public void setIsDefault(java.lang.Boolean isDefault)
isDefault
- the value of field 'isDefault'.public void setLanguage(java.lang.String language)
language
- the value of field 'language'.public void setMatchIfNoContext(java.lang.Boolean matchIfNoContext)
matchIfNoContext
- the value of field 'matchIfNoContext'public void setPickContext(int index, java.lang.String vPickContext) throws java.lang.IndexOutOfBoundsException
index
- vPickContext
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setPickContext(java.lang.String[] vPickContextArray)
vPickContextArray
- public void setPickContext(java.util.List<java.lang.String> vPickContextList)
vPickContextList
- the Vector to copy.public void setPickContextAsReference(java.util.List<java.lang.String> pickContextList)
pickContextList
- the Vector to set.public void setPickText(java.lang.String pickText)
pickText
- the value of field 'pickText'.public void setPropertyId(java.lang.String propertyId)
propertyId
- the value of field 'propertyId'.public static PickListEntry unmarshalPickListEntry(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 |