com.steptools.stdev
Class AggregateDomain

java.lang.Object
  extended by com.steptools.stdev.Domain
      extended by com.steptools.stdev.AggregateDomain

public class AggregateDomain
extends Domain

Representation of an EXPRESS list, bag, set or array type.


Constructor Summary
AggregateDomain(java.lang.Class c)
          Reserved for EXPRESS compiler generated classes.
 
Method Summary
 Domain getElementDomain()
          Gets the domain for elements of the aggregate.
 boolean isAggregate()
           
 Aggregate newInstance()
          Create a new instance of the Aggregate object described by this domain
 boolean typeIsa(Domain other)
          Tests if this Domain is assignable to the other Domain.
 
Methods inherited from class com.steptools.stdev.Domain
getName, isBoolean, isEntity, isEnumeration, isInteger, isLogical, isReal, isSelect, isString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateDomain

public AggregateDomain(java.lang.Class c)
Reserved for EXPRESS compiler generated classes.

Method Detail

getElementDomain

public Domain getElementDomain()
Gets the domain for elements of the aggregate.

Returns:
The domain

newInstance

public Aggregate newInstance()
                      throws SchemaStructureException
Create a new instance of the Aggregate object described by this domain

Returns:
The newly created Aggregate.
Throws:
SchemaStructureException

typeIsa

public boolean typeIsa(Domain other)
Description copied from class: Domain
Tests if this Domain is assignable to the other Domain.

Specified by:
typeIsa in class Domain
Parameters:
other - The domain to compare to
Returns:
true If this domain is equal to or a subtype of the other Domain.

isAggregate

public boolean isAggregate()
Overrides:
isAggregate in class Domain