|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IValue
Holds the value of a context.
This interface is not intended to be instantiated (only used as a super-interface).
When the value is a Literal (isSimple() returns true), an instance of this interface may be cast to ISimpleAttrValue, and the table found at ITypedValue.getData() is used to determine the type returned from ITypedValue.getData().
When the value is a Resource (isSimple() returns false), an instance of this interface may be cast to IComplexAttrValue.
This extends IHasAttributes so that metadata about the attribute may be presented as
attributes on this attribute.
| Field Summary | |
|---|---|
static String |
BASE_OWL_URI
Value: "http://www.eclipse.org/higgins/ontologies/2008/6/higgins#" |
| Method Summary | |
|---|---|
URI |
getType()
Returns this value's type (like string, int, address) This is a shortcut for calling getModel().getType(). |
IValueModel |
getValueModel()
|
boolean |
isSimple()
|
void |
remove()
Removes this value from its container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
|---|
addAttribute, addAttribute, addAttributeValue, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue |
| Field Detail |
|---|
static final String BASE_OWL_URI
| Method Detail |
|---|
boolean isSimple()
throws IdASException
IdASException
URI getType()
throws IdASException
IdASException
void remove()
throws IdASException
{@link - IdASException}
IdASExceptionIValueModel getValueModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||