|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
As defined at
http://wiki.eclipse.org/Entity
and http://wiki.eclipse.org/Context,
This interface holds a set of IEntity objects.
All Entities follow the http://www.eclipse.org/higgins/ontologies/2006/higgins ontology
as a base. As such, each Entity has the attribute
http://www.eclipse.org/higgins/ontologies/2006/higgins#uniqueIdentifier. getEntityID()
provides a shortcut to access the value of this attribute.
TODO (Doc): Finish javadoc on methods
| Method Summary | |
|---|---|
IContext |
getContext()
|
String |
getEntityID()
Returns the Contextually unique identifier of this Entity. |
URI |
getEntityType()
Deprecated. Instead, call getModel() and from that call IModel.getType().
Doing this is equivalent to calling this method. |
IEntityModel |
getModel()
Returns a model of this type of Entities as it defined in the context's schema. |
void |
remove()
Removes this Entity from its Context. |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasMetadata |
|---|
addMetadata, addMetadata, equals, getMetadata, getMetadataSet |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
|---|
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue |
| Method Detail |
public IContext getContext()
throws IdASException
IdASException
public String getEntityID()
throws IdASException
IdASException
public URI getEntityType()
throws IdASException
getModel() and from that call IModel.getType().
Doing this is equivalent to calling this method.
IdASException
public void remove()
throws IdASException
IContext.applyUpdates() is called.
IdASException
public IEntityModel getModel()
throws IdASException
IdASException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||