|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Holds the value of an attribute.
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
.
Field Summary | |
---|---|
static String |
BASE_OWL_URI
Value: "http://www.eclipse.org/higgins/ontologies/2006/higgins#" |
Method Summary | |
---|---|
boolean |
equals(IAttributeValue value)
returns true if this IAttributeValue is equal to the passed IAttributeValue This should test the attribute ID, metadata, and the value for equality. |
URI |
getDataType()
Deprecated. Instead, call getModel() and from that call IModel.getType() .
Doing this is equivalent to calling this method. |
IAttributeValueModel |
getModel()
Returns the model for this type of attribute value as it is defined in the context's schema. |
boolean |
isSimple()
|
void |
remove()
Removes this value from its IAttribute 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.IHasMetadata |
---|
addMetadata, addMetadata, equals, getMetadata, getMetadataSet |
Field Detail |
public static final String BASE_OWL_URI
Method Detail |
public boolean isSimple() throws IdASException
IdASException
public URI getDataType() throws IdASException
getModel()
and from that call IModel.getType()
.
Doing this is equivalent to calling this method.
IdASException
public void remove() throws IdASException
{@link
- IdASException}
IdASException
public boolean equals(IAttributeValue value) throws IdASException
IdASException
public IAttributeValueModel getModel() throws IdASException
IdASException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |