|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.steptools.stdev.EntityInstanceImpl
public abstract class EntityInstanceImpl
Supertype for EXPRESS classes for entities.
| Method Summary | |
|---|---|
EntityInstance |
castTo(java.lang.Class supertype)
|
EntityInstance |
castTo(Domain req)
Gets a view of the object that can be cast to the requested type. |
java.lang.Object |
clone()
Generate a shallow copy of this object |
Domain |
domain()
Get the Domain of this object |
boolean |
equals(java.lang.Object other)
|
EntityInstance |
getFinalObject()
Gets the base object for this instance. |
abstract EntityDomain |
getLocalDomain()
Gets the domain for the view object. |
boolean |
isa(Domain req)
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 class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public EntityInstance getFinalObject()
EntityInstanceYou should use this method to obtain a canonical view of an EntityInstance before comparing two objects.
public boolean isView()
EntityInstance
public final Domain domain()
Instance
public abstract EntityDomain getLocalDomain()
EntityInstance
public EntityInstance castTo(Domain req)
throws EntityCastException,
SchemaStructureException
EntityInstance
req - The domain to cast the current object to.
EntityCastException - If this instance cannot be cast to the
requested type
SchemaStructureException
public EntityInstance castTo(java.lang.Class supertype)
throws EntityCastException,
DomainNotFoundException
EntityCastException
DomainNotFoundExceptionpublic boolean isa(Domain req)
EntityInstance
true If this instance can be cast to the requested type.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Instance
clone in interface Instanceclone in class java.lang.Objectjava.lang.CloneNotSupportedException - If this method cannot be cloned.
This is not thrown be any ST-Developer class, but was provided in the
java.lang.Object prototype for clone().public boolean equals(java.lang.Object other)
equals in class java.lang.Object
public EntityInstanceSet usedin(EntityInstanceSet scope,
EntityDomain start,
Attribute att)
EntityInstance
usedin in interface EntityInstancescope - 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.
public EntityInstanceSet usedin(EntityInstanceSet scope,
Attribute att)
EntityInstance
usedin in interface EntityInstancescope - The set of instances to search for references to this.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 | ||||||||