|
|||||||||
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.REST.concepts.EntityId
public class EntityId
A globally unique identtifier - a code + a namespace.
Constructor Summary | |
---|---|
EntityId()
|
Method Summary | |
---|---|
java.lang.String |
getEntityCode()
Returns the value of field 'entityCode'. |
java.lang.String |
getEntityNamespace()
Returns the value of field 'entityNamespace'. |
java.lang.String |
getEntityURI()
Returns the value of field 'entityURI'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setEntityCode(java.lang.String entityCode)
Sets the value of field 'entityCode'. |
void |
setEntityNamespace(java.lang.String entityNamespace)
Sets the value of field 'entityNamespace'. |
void |
setEntityURI(java.lang.String entityURI)
Sets the value of field 'entityURI'. |
static EntityId |
unmarshalEntityId(java.io.Reader reader)
Method unmarshalEntityId. |
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 EntityId()
Method Detail |
---|
public java.lang.String getEntityCode()
public java.lang.String getEntityNamespace()
public java.lang.String getEntityURI()
public boolean isValid()
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 setEntityCode(java.lang.String entityCode)
entityCode
- the value of field 'entityCode'.public void setEntityNamespace(java.lang.String entityNamespace)
entityNamespace
- the value of field 'entityNamespace'.public void setEntityURI(java.lang.String entityURI)
entityURI
- the value of field 'entityURI'.public static EntityId unmarshalEntityId(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 |