org.LexGrid.valueSets
Class PropertyMatchValue
java.lang.Object
org.mayo.edu.lgModel.LexGridBase
org.LexGrid.builtins.TsAnyType
org.LexGrid.commonTypes.Text
org.LexGrid.valueSets.PropertyMatchValue
- All Implemented Interfaces:
- java.io.Serializable
public class PropertyMatchValue
- extends Text
- implements java.io.Serializable
Property matching value to be used to restrict entity property.
matchAlgorithm can be used in conjunction to get matching entity
properties.
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Methods inherited from class org.LexGrid.builtins.TsAnyType |
addAnyObject, addAnyObject, enumerateAnyObject, getAnyObject, getAnyObject, getAnyObjectAsReference, getAnyObjectCount, iterateAnyObject, removeAllAnyObject, removeAnyObject, removeAnyObjectAt, setAnyObject, setAnyObject, setAnyObject, setAnyObjectAsReference, unmarshalTsAnyType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyMatchValue
public PropertyMatchValue()
getMatchAlgorithm
public java.lang.String getMatchAlgorithm()
- Returns the value of field 'matchAlgorithm'. The field
'matchAlgorithm' has the following description: Algorithm to
be used in conjunction with propertyValue.
- Returns:
- the value of field 'MatchAlgorithm'.
isValid
public boolean isValid()
- Method isValid.
- Overrides:
isValid
in class Text
- 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 Text
- 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 Text
- 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
setMatchAlgorithm
public void setMatchAlgorithm(java.lang.String matchAlgorithm)
- Sets the value of field 'matchAlgorithm'. The field
'matchAlgorithm' has the following description: Algorithm to
be used in conjunction with propertyValue.
- Parameters:
matchAlgorithm
- the value of field 'matchAlgorithm'.
unmarshalPropertyMatchValue
public static PropertyMatchValue unmarshalPropertyMatchValue(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Method unmarshalPropertyMatchValue.
- Parameters:
reader
-
- Returns:
- the unmarshaled
org.LexGrid.valueSets.PropertyMatchValue
- 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 Text
- Throws:
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema