org.eclipse.higgins.idas.impl
Class BasicSimpleValue

java.lang.Object
  extended by org.eclipse.higgins.idas.impl.AbstractSimpleValue
      extended by org.eclipse.higgins.idas.impl.BasicSimpleValue
All Implemented Interfaces:
IPropertyValue, ISimpleValue

public class BasicSimpleValue
extends AbstractSimpleValue
implements ISimpleValue


Field Summary
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
BasicSimpleValue(java.lang.Object value)
           
 
Method Summary
 java.lang.Object getData()
          Returns the backing Java object for this property value.
 java.net.URI getType()
          Returns a URI for "http://www.w3.org/2001/XMLSchema#any"
 boolean isSimple()
          returns true
 
Methods inherited from class org.eclipse.higgins.idas.impl.AbstractSimpleValue
getCanonical, getLexical
 
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
 

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

BasicSimpleValue

public BasicSimpleValue(java.lang.Object value)
Method Detail

isSimple

public boolean isSimple()
                 throws IdASException
Description copied from class: AbstractSimpleValue
returns true

Specified by:
isSimple in interface IPropertyValue
Overrides:
isSimple in class AbstractSimpleValue
Throws:
IdASException

getType

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

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

getData

public java.lang.Object getData()
                         throws IdASException
Description copied from interface: IPropertyValue
Returns the backing Java object for this property value.

TODO: This method is a temporary hack to solve the issue brought up in this thread.

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