org.LexGrid.REST.commonTypes
Class Status
java.lang.Object
org.mayo.edu.lgModel.LexGridBase
org.LexGrid.REST.builtins.Resource
org.LexGrid.REST.builtins.TsLocalId
org.LexGrid.REST.commonTypes.Status
- All Implemented Interfaces:
- java.io.Serializable
public class Status
- extends TsLocalId
- implements java.io.Serializable
The local identifier of a possible status of an assertion in the
codingScheme. Status identifiers are usually related to the
workflow of the coding scheme creators, and include notions such
as "proposed", "active", "depricated", "retired", etc.
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Constructor Summary |
Status()
|
Status(java.lang.String defaultValue)
|
Method Summary |
java.lang.String |
getContent()
Returns the value of field 'content'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'. |
static Status |
unmarshalStatus(java.io.Reader reader)
Method unmarshalStatus. |
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Status
public Status()
Status
public Status(java.lang.String defaultValue)
getContent
public java.lang.String getContent()
- Returns the value of field 'content'. The field 'content'
has the following description: internal content storage
- Overrides:
getContent
in class TsLocalId
- Returns:
- the value of field 'Content'.
isValid
public boolean isValid()
- Method isValid.
- Overrides:
isValid
in class TsLocalId
- Returns:
- true if this object is valid according to the schema
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class TsLocalId
- Parameters:
out
-
- Throws:
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 schema
marshal
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class TsLocalId
- Parameters:
handler
-
- Throws:
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 marshaling
setContent
public void setContent(java.lang.String content)
- Sets the value of field 'content'. The field 'content' has
the following description: internal content storage
- Overrides:
setContent
in class TsLocalId
- Parameters:
content
- the value of field 'content'.
unmarshalStatus
public static Status unmarshalStatus(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Method unmarshalStatus.
- Parameters:
reader
-
- Returns:
- the unmarshaled org.LexGrid.REST.commonTypes.Status
- Throws:
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 schema
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate
in class TsLocalId
- Throws:
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema