org.eclipse.higgins.idas.impl
Class BasicComplexValue

java.lang.Object
  extended by org.eclipse.higgins.idas.impl.BasicAttributeSet
      extended by org.eclipse.higgins.idas.impl.AbstractComplexValue
          extended by org.eclipse.higgins.idas.impl.BasicComplexValue
All Implemented Interfaces:
IComplexValue, IHasAttributes, IPropertyValue

public class BasicComplexValue
extends AbstractComplexValue
implements IComplexValue


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 interface org.eclipse.higgins.idas.IPropertyValue
BASE_OWL_URI
 
Constructor Summary
BasicComplexValue(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()
           
 
Methods inherited from class org.eclipse.higgins.idas.impl.BasicAttributeSet
addAttribute, createAttribute, createAttribute, getAttribute, getAttributes, removeAttribute
 
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.IHasAttributes
addAttribute, createAttribute, createAttribute, getAttribute, getAttributes, removeAttribute
 

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

BasicComplexValue

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

isSimple

public boolean isSimple()
                 throws IdASException
Specified by:
isSimple in interface IPropertyValue
Overrides:
isSimple in class AbstractComplexValue
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
Throws:
IdASException