org.LexGrid.commonTypes
Class PropertyQualifier

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

public class PropertyQualifier
extends LexGridBase
implements java.io.Serializable

Additional information about the property and/or its association with the resource.

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

Constructor Summary
PropertyQualifier()
           
 
Method Summary
 java.lang.String getPropertyQualifierName()
          Returns the value of field 'propertyQualifierName'.
 java.lang.String getPropertyQualifierType()
          Returns the value of field 'propertyQualifierType'.
 Text getValue()
          Returns the value of field 'value'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setPropertyQualifierName(java.lang.String propertyQualifierName)
          Sets the value of field 'propertyQualifierName'.
 void setPropertyQualifierType(java.lang.String propertyQualifierType)
          Sets the value of field 'propertyQualifierType'.
 void setValue(Text value)
          Sets the value of field 'value'.
static PropertyQualifier unmarshalPropertyQualifier(java.io.Reader reader)
          Method unmarshalPropertyQualifier.
 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

PropertyQualifier

public PropertyQualifier()
Method Detail

getPropertyQualifierName

public java.lang.String getPropertyQualifierName()
Returns the value of field 'propertyQualifierName'. The field 'propertyQualifierName' has the following description: The local name of the qualifier. Must match a local id of a supportedPropertyQualifier in the corresponding mappings section.

Returns:
the value of field 'PropertyQualifierName'.

getPropertyQualifierType

public java.lang.String getPropertyQualifierType()
Returns the value of field 'propertyQualifierType'. The field 'propertyQualifierType' has the following description: The local name of the qualifier type. Must match a local id of a supportedPropertyQualifierType in the corresponding mappings section.

Returns:
the value of field 'PropertyQualifierType'.

getValue

public Text getValue()
Returns the value of field 'value'.

Returns:
the value of field 'Value'.

isValid

public boolean isValid()
Method isValid.

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
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
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

setPropertyQualifierName

public void setPropertyQualifierName(java.lang.String propertyQualifierName)
Sets the value of field 'propertyQualifierName'. The field 'propertyQualifierName' has the following description: The local name of the qualifier. Must match a local id of a supportedPropertyQualifier in the corresponding mappings section.

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

setPropertyQualifierType

public void setPropertyQualifierType(java.lang.String propertyQualifierType)
Sets the value of field 'propertyQualifierType'. The field 'propertyQualifierType' has the following description: The local name of the qualifier type. Must match a local id of a supportedPropertyQualifierType in the corresponding mappings section.

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

setValue

public void setValue(Text value)
Sets the value of field 'value'.

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

unmarshalPropertyQualifier

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.commonTypes.PropertyQualifier
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
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.