org.LexGrid.concepts
Class Concept

java.lang.Object
  extended by org.LexGrid.commonTypes.Versionable
      extended by org.LexGrid.commonTypes.VersionableAndDescribable
          extended by org.LexGrid.concepts.Entity
              extended by org.LexGrid.concepts.Concept
All Implemented Interfaces:
java.io.Serializable

public class Concept
extends Entity
implements java.io.Serializable

An entity that represents a class or category. The entityType for the class concept must be "concept".

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Concept()
           
 
Method Summary
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
static Concept unmarshalConcept(java.io.Reader reader)
          Method unmarshalConcept.
 void validate()
           
 
Methods inherited from class org.LexGrid.concepts.Entity
addAnyProperties, addAnyProperty, addComment, addComment, addDefinition, addDefinition, addEntityType, addEntityType, addPresentation, addPresentation, addProperty, addProperty, addPropertyLink, addPropertyLink, enumerateComment, enumerateDefinition, enumerateEntityType, enumeratePresentation, enumerateProperty, enumeratePropertyLink, getAllProperties, getComment, getComment, getCommentCount, getDefinition, getDefinition, getDefinitionCount, getEntityCode, getEntityCodeNamespace, getEntityType, getEntityType, getEntityTypeCount, getIsAnonymous, getIsDefined, getPresentation, getPresentation, getPresentationCount, getProperty, getProperty, getPropertyCount, getPropertyLink, getPropertyLink, getPropertyLinkCount, isIsAnonymous, isIsDefined, iterateComment, iterateDefinition, iterateEntityType, iteratePresentation, iterateProperty, iteratePropertyLink, removeAllComment, removeAllDefinition, removeAllEntityType, removeAllPresentation, removeAllProperty, removeAllPropertyLink, removeComment, removeCommentAt, removeDefinition, removeDefinitionAt, removeEntityType, removeEntityTypeAt, removePresentation, removePresentationAt, removeProperty, removePropertyAt, removePropertyLink, removePropertyLinkAt, setComment, setComment, setDefinition, setDefinition, setEntityCode, setEntityCodeNamespace, setEntityType, setEntityType, setIsAnonymous, setIsDefined, setPresentation, setPresentation, setProperty, setProperty, setPropertyLink, setPropertyLink, unmarshalEntity
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Concept

public Concept()
Method Detail

isValid

public boolean isValid()
Method isValid.

Overrides:
isValid in class Entity
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 Entity
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 Entity
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

unmarshalConcept

public static Concept unmarshalConcept(java.io.Reader reader)
                                throws org.exolab.castor.xml.MarshalException,
                                       org.exolab.castor.xml.ValidationException
Method unmarshalConcept.

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.concepts.Concept
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 Entity
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.