|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPropertyValue
Holds the value of a property.
TODO: for convenience, add a method which returns the OWL range for this property's value(s). From this, one should be able to infer the Java class type of the value(s).
When the value is a Literal (isSimple()
returns true), an instance of this interface may be cast to ISimpleValue
, and the table found at ISimpleValue.getData()
is used to determine the type returned from ISimpleValue.getData()
.
When the value is a Resource (isSimple()
returns false), an instance of this interface may be cast to IComplexValue
.
Method Summary | |
---|---|
Object |
getData()
Returns the backing Java object for this property value. |
boolean |
isSimple()
|
Method Detail |
---|
boolean isSimple() throws IdASException
IdASException
Object getData() throws IdASException
TODO: This method is a temporary hack to solve the issue brought up in this thread.
IdASException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |