|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EntityInstance
An instance of an EXPRESS-defined entity.
| Method Summary | |
|---|---|
EntityInstance |
castTo(Domain supertype)
Gets a view of the object that can be cast to the requested type. |
EntityInstance |
getFinalObject()
Gets the base object for this instance. |
EntityDomain |
getLocalDomain()
Gets the domain for the view object. |
boolean |
isa(Domain dom)
This method determines if this EntityInstance is an instance of the specified domain. |
boolean |
isView()
This function determines if this object is a view, or if it is the final object. |
EntityInstanceSet |
usedin(EntityInstanceSet scope,
Attribute att)
This method implements an EXPRESS-like USEDIN facility. |
EntityInstanceSet |
usedin(EntityInstanceSet scope,
EntityDomain start,
Attribute att)
This method implements an EXPRESS-like USEDIN facility. |
| Methods inherited from interface com.steptools.stdev.Instance |
|---|
clone, domain |
| Method Detail |
|---|
EntityInstance getFinalObject()
You should use this method to obtain a canonical view of an EntityInstance before comparing two objects.
EntityDomain getLocalDomain()
EntityInstance castTo(Domain supertype)
throws EntityCastException
supertype - The domain to cast the current object to.
EntityCastException - If this instance cannot be cast to the
requested typeboolean isa(Domain dom)
true If this instance can be cast to the requested type.boolean isView()
EntityInstanceSet usedin(EntityInstanceSet scope,
EntityDomain start,
Attribute att)
scope - The set of instances to search for references to this.start - Further limit the scope of instances.att - The attribute that is being queried.
this via
the specified attribute.
EntityInstanceSet usedin(EntityInstanceSet scope,
Attribute att)
scope - The set of instances to search for references to this.start - Further limit the scope of instances.att - The attribute that is being queried.
this via
the specified attribute.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||