|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.steptools.stdev.Domain
com.steptools.stdev.EntityDomain
public abstract class EntityDomain
Representation of an EXPRESS Entity.
| Method Summary | |
|---|---|
static EntityDomain |
domain(EntityDomain[] sups)
Gets or creates (possibly) complex domain. |
static EntityDomain |
domain(java.util.List supers)
Gets or creates (possibly) complex domain. |
Attribute[] |
getAllAttributes()
Gets the all the attributes (local and inherited) of this domain. |
EntityDomain[] |
getAllKnownSubtypes()
Gets all the subtypes of this domain. |
java.util.Set |
getAllRedeclaredAttributes()
Gets the list of explicit attributes that are redeclated as derived by this domain or its supertypes. |
StaticEntityDomain[] |
getAllSupertypes()
Gets all the supertypes of the domain. |
Attribute |
getAttribute(java.lang.String name)
Finds an attribute by name. |
abstract EntityDomain[] |
getKnownSubtypes()
Gets the immediate subtypes of this domain. |
Attribute |
getLocalAttribute(java.lang.String name)
Finds a non-inherited attribute by name. |
abstract Attribute[] |
getLocalAttributes()
Gets the immediate (EXPRESS defined) attributes of this domain. |
abstract StaticEntityDomain[] |
getLocalSupertypes()
Gets the immediate (EXPRESS defined) supertypes of the domain. |
boolean |
isAttributeRedeclared(Attribute att)
Determines if the specified attribute is redeclared as derived in this entity. |
abstract boolean |
isComplex()
Determines if this domain is an AND-OR domain. |
boolean |
isEntity()
|
abstract boolean |
isInSchema(SchemaBase sch)
Determined if this Domain is a member of this schema. |
EntityInstance |
newInstance()
Create a new non-persistent instance of the entity |
abstract EntityInstance |
newInstance(PopulationBase pop)
Creates a new instance of the entity. |
boolean |
typeIsa(Domain other)
Tests if this Domain is assignable to the other Domain. |
| Methods inherited from class com.steptools.stdev.Domain |
|---|
getName, isAggregate, isBoolean, isEnumeration, isInteger, isLogical, isReal, isSelect, isString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public abstract EntityInstance newInstance(PopulationBase pop)
newXXX method
on a population.
pop - The population in which the entity will be created.
null may be specified to create non-persistent objects
public EntityInstance newInstance()
public abstract StaticEntityDomain[] getLocalSupertypes()
public abstract boolean isInSchema(SchemaBase sch)
sch - The schema we are checking
true If this instance is in the specified schema.public StaticEntityDomain[] getAllSupertypes()
public abstract Attribute[] getLocalAttributes()
public Attribute[] getAllAttributes()
public Attribute getAttribute(java.lang.String name)
name - The attribute to search for
null if not found.public Attribute getLocalAttribute(java.lang.String name)
name - The attribute to search for
null if not found.public boolean typeIsa(Domain other)
Domain
typeIsa in class Domainother - The domain to compare to
true If this domain is equal to or a subtype of
the other Domain.public abstract EntityDomain[] getKnownSubtypes()
public abstract boolean isComplex()
true If this domain is an AND-OR.public EntityDomain[] getAllKnownSubtypes()
public static EntityDomain domain(java.util.List supers)
supers - The list of supertypes of the domain that needs to be
retrieved. This list may include the types that are themselves subtypes
of other types in the list.
public static EntityDomain domain(EntityDomain[] sups)
sups - Array of supertypes of the domain that needs to be
retrieved. This list may include the types that are themselves subtypes
of other types in the list.
public java.util.Set getAllRedeclaredAttributes()
public boolean isAttributeRedeclared(Attribute att)
att - The attribute to check.
true If the attribute is redeclared as derived.public boolean isEntity()
isEntity in class Domain
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||