org.eclipse.higgins.idas.impl
Class BasicValueString

java.lang.Object
  extended by org.eclipse.higgins.idas.impl.AbstractSimpleValue
      extended by org.eclipse.higgins.idas.impl.BasicValueString
All Implemented Interfaces:
IPropertyValue, ISimpleValue
Direct Known Subclasses:
BasicValueNormalizedString

public class BasicValueString
extends AbstractSimpleValue
implements ISimpleValue


Field Summary
protected  java.lang.String _value
           
static java.lang.String ATTR_VALUE_TYPE_URI_STR
           
static java.lang.String ATTR_VALUE_URI_STR
           
static java.lang.String OWL_TYPE_STR
           
static java.lang.String XML_TYPE_STR
           
 
Fields inherited from class org.eclipse.higgins.idas.impl.AbstractSimpleValue
OWL_TYPE_SUFFIX
 
Fields inherited from interface org.eclipse.higgins.idas.ISimpleValue
BASE_XML_SCHEMA_URI
 
Fields inherited from interface org.eclipse.higgins.idas.IPropertyValue
BASE_OWL_URI
 
Constructor Summary
protected BasicValueString()
           
  BasicValueString(java.lang.String value)
           
 
Method Summary
protected  void _setValue(java.lang.String value)
           
 java.lang.Object getData()
          Returns the String backing this value
 java.net.URI getType()
          Returns a URI for "http://www.w3.org/2001/XMLSchema#string"
 
Methods inherited from class org.eclipse.higgins.idas.impl.AbstractSimpleValue
getCanonical, getLexical, isSimple
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.ISimpleValue
getCanonical, getLexical
 
Methods inherited from interface org.eclipse.higgins.idas.IPropertyValue
isSimple
 

Field Detail

XML_TYPE_STR

public static final java.lang.String XML_TYPE_STR
See Also:
Constant Field Values

OWL_TYPE_STR

public static final java.lang.String OWL_TYPE_STR
See Also:
Constant Field Values

ATTR_VALUE_URI_STR

public static final java.lang.String ATTR_VALUE_URI_STR
See Also:
Constant Field Values

ATTR_VALUE_TYPE_URI_STR

public static final java.lang.String ATTR_VALUE_TYPE_URI_STR
See Also:
Constant Field Values

_value

protected java.lang.String _value
Constructor Detail

BasicValueString

protected BasicValueString()

BasicValueString

public BasicValueString(java.lang.String value)
Method Detail

getData

public java.lang.Object getData()
                         throws IdASException
Returns the String backing this value

Specified by:
getData in interface IPropertyValue
Specified by:
getData in interface ISimpleValue
Throws:
IdASException

_setValue

protected void _setValue(java.lang.String value)

getType

public java.net.URI getType()
                     throws IdASException
Returns a URI for "http://www.w3.org/2001/XMLSchema#string"

Specified by:
getType in interface IPropertyValue
Returns:
The OWL type for this property's value.
Throws:
IdASException