org.LexGrid.REST.relations
Class RelationsLink
java.lang.Object
org.mayo.edu.lgModel.LexGridBase
org.LexGrid.REST.builtins.Resource
org.LexGrid.REST.commonTypes.CollectionLink
org.LexGrid.REST.relations.RelationsLink
All Implemented Interfaces: java.io.Serializable
public class RelationsLink extends CollectionLink implements java.io.Serializable
A hyperlink from the current node to a collection of relations
Version:
$Revision$ $Date$
See Also: Serialized Form
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
RelationsLink
public RelationsLink ()
RelationsLink
public RelationsLink (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 CollectionLink
Returns: the value of field 'Content'.
isValid
public boolean isValid ()
Method isValid.
Overrides: isValid
in class CollectionLink
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 CollectionLink
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 CollectionLink
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 CollectionLink
Parameters: content
- the value of field 'content'.
unmarshalRelationsLink
public static RelationsLink unmarshalRelationsLink (java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
Method unmarshalRelationsLink.
Parameters: reader
-
Returns: the unmarshaled
org.LexGrid.REST.relations.RelationsLink
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 CollectionLink
Throws:
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
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD