org.LexGrid.versions
Class SystemRelease

java.lang.Object
  extended by org.mayo.edu.lgModel.LexGridBase
      extended by org.LexGrid.commonTypes.Describable
          extended by org.LexGrid.versions.SystemRelease
All Implemented Interfaces:
java.io.Serializable

public class SystemRelease
extends Describable
implements java.io.Serializable

A collection of coding schemes, value set definitions, pick list definitions and/or revision records that are distributed as a unit.

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

Constructor Summary
SystemRelease()
           
 
Method Summary
 java.lang.String getBasedOnRelease()
          Returns the value of field 'basedOnRelease'.
 CodingSchemes getCodingSchemes()
          Returns the value of field 'codingSchemes'.
 EditHistory getEditHistory()
          Returns the value of field 'editHistory'.
 PickListDefinitions getPickListDefinitions()
          Returns the value of field 'pickListDefinitions'.
 java.lang.String getReleaseAgency()
          Returns the value of field 'releaseAgency'.
 java.util.Date getReleaseDate()
          Returns the value of field 'releaseDate'.
 java.lang.String getReleaseId()
          Returns the value of field 'releaseId'.
 java.lang.String getReleaseURI()
          Returns the value of field 'releaseURI'.
 ValueSetDefinitions getValueSetDefinitions()
          Returns the value of field 'valueSetDefinitions'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setBasedOnRelease(java.lang.String basedOnRelease)
          Sets the value of field 'basedOnRelease'.
 void setCodingSchemes(CodingSchemes codingSchemes)
          Sets the value of field 'codingSchemes'.
 void setEditHistory(EditHistory editHistory)
          Sets the value of field 'editHistory'.
 void setPickListDefinitions(PickListDefinitions pickListDefinitions)
          Sets the value of field 'pickListDefinitions'.
 void setReleaseAgency(java.lang.String releaseAgency)
          Sets the value of field 'releaseAgency'.
 void setReleaseDate(java.util.Date releaseDate)
          Sets the value of field 'releaseDate'.
 void setReleaseId(java.lang.String releaseId)
          Sets the value of field 'releaseId'.
 void setReleaseURI(java.lang.String releaseURI)
          Sets the value of field 'releaseURI'.
 void setValueSetDefinitions(ValueSetDefinitions valueSetDefinitions)
          Sets the value of field 'valueSetDefinitions'.
static SystemRelease unmarshalSystemRelease(java.io.Reader reader)
          Method unmarshalSystemRelease.
 void validate()
           
 
Methods inherited from class org.LexGrid.commonTypes.Describable
getEntityDescription, setEntityDescription, unmarshalDescribable
 
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

SystemRelease

public SystemRelease()
Method Detail

getBasedOnRelease

public java.lang.String getBasedOnRelease()
Returns the value of field 'basedOnRelease'. The field 'basedOnRelease' has the following description: The URI of the release that logically preceeds this release

Returns:
the value of field 'BasedOnRelease'.

getCodingSchemes

public CodingSchemes getCodingSchemes()
Returns the value of field 'codingSchemes'. The field 'codingSchemes' has the following description: A collection of coding schemes that are included in this release. Each entry in this collection is a complete representation of a coding scheme at a given revision.

Returns:
the value of field 'CodingSchemes'.

getEditHistory

public EditHistory getEditHistory()
Returns the value of field 'editHistory'. The field 'editHistory' has the following description: An ordered collection of revisions that describe the transformations that were applied to create this release

Returns:
the value of field 'EditHistory'.

getPickListDefinitions

public PickListDefinitions getPickListDefinitions()
Returns the value of field 'pickListDefinitions'. The field 'pickListDefinitions' has the following description: A collection of pick list definitions that are included in this release. Each entry in this collection is a complete representation of a pick list definition at a given revision.

Returns:
the value of field 'PickListDefinitions'.

getReleaseAgency

public java.lang.String getReleaseAgency()
Returns the value of field 'releaseAgency'. The field 'releaseAgency' has the following description: The URI of the agency responsible for this release

Returns:
the value of field 'ReleaseAgency'.

getReleaseDate

public java.util.Date getReleaseDate()
Returns the value of field 'releaseDate'. The field 'releaseDate' has the following description: The official release data and time of this release.

Returns:
the value of field 'ReleaseDate'.

getReleaseId

public java.lang.String getReleaseId()
Returns the value of field 'releaseId'. The field 'releaseId' has the following description: The label assigned to this release by the release agency.

Returns:
the value of field 'ReleaseId'.

getReleaseURI

public java.lang.String getReleaseURI()
Returns the value of field 'releaseURI'. The field 'releaseURI' has the following description: The official URI of this release

Returns:
the value of field 'ReleaseURI'.

getValueSetDefinitions

public ValueSetDefinitions getValueSetDefinitions()
Returns the value of field 'valueSetDefinitions'. The field 'valueSetDefinitions' has the following description: A collection of value set definitions that are included in this release.

Returns:
the value of field 'ValueSetDefinitions'.

isValid

public boolean isValid()
Method isValid.

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

setBasedOnRelease

public void setBasedOnRelease(java.lang.String basedOnRelease)
Sets the value of field 'basedOnRelease'. The field 'basedOnRelease' has the following description: The URI of the release that logically preceeds this release

Parameters:
basedOnRelease - the value of field 'basedOnRelease'.

setCodingSchemes

public void setCodingSchemes(CodingSchemes codingSchemes)
Sets the value of field 'codingSchemes'. The field 'codingSchemes' has the following description: A collection of coding schemes that are included in this release. Each entry in this collection is a complete representation of a coding scheme at a given revision.

Parameters:
codingSchemes - the value of field 'codingSchemes'.

setEditHistory

public void setEditHistory(EditHistory editHistory)
Sets the value of field 'editHistory'. The field 'editHistory' has the following description: An ordered collection of revisions that describe the transformations that were applied to create this release

Parameters:
editHistory - the value of field 'editHistory'.

setPickListDefinitions

public void setPickListDefinitions(PickListDefinitions pickListDefinitions)
Sets the value of field 'pickListDefinitions'. The field 'pickListDefinitions' has the following description: A collection of pick list definitions that are included in this release. Each entry in this collection is a complete representation of a pick list definition at a given revision.

Parameters:
pickListDefinitions - the value of field 'pickListDefinitions'.

setReleaseAgency

public void setReleaseAgency(java.lang.String releaseAgency)
Sets the value of field 'releaseAgency'. The field 'releaseAgency' has the following description: The URI of the agency responsible for this release

Parameters:
releaseAgency - the value of field 'releaseAgency'.

setReleaseDate

public void setReleaseDate(java.util.Date releaseDate)
Sets the value of field 'releaseDate'. The field 'releaseDate' has the following description: The official release data and time of this release.

Parameters:
releaseDate - the value of field 'releaseDate'.

setReleaseId

public void setReleaseId(java.lang.String releaseId)
Sets the value of field 'releaseId'. The field 'releaseId' has the following description: The label assigned to this release by the release agency.

Parameters:
releaseId - the value of field 'releaseId'.

setReleaseURI

public void setReleaseURI(java.lang.String releaseURI)
Sets the value of field 'releaseURI'. The field 'releaseURI' has the following description: The official URI of this release

Parameters:
releaseURI - the value of field 'releaseURI'.

setValueSetDefinitions

public void setValueSetDefinitions(ValueSetDefinitions valueSetDefinitions)
Sets the value of field 'valueSetDefinitions'. The field 'valueSetDefinitions' has the following description: A collection of value set definitions that are included in this release.

Parameters:
valueSetDefinitions - the value of field 'valueSetDefinitions'.

unmarshalSystemRelease

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.versions.SystemRelease
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 Describable
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.