com.steptools.stdev
Class Domain

java.lang.Object
  extended by com.steptools.stdev.Domain
Direct Known Subclasses:
AggregateDomain, EntityDomain, EnumerationDomain, PrimitiveDomain, SelectDomain

public abstract class Domain
extends java.lang.Object

Representation of an EXPRESS type.


Method Summary
 java.lang.String getName()
          Gets the name of the Domain.
 boolean isAggregate()
           
 boolean isBoolean()
           
 boolean isEntity()
           
 boolean isEnumeration()
           
 boolean isInteger()
           
 boolean isLogical()
           
 boolean isReal()
           
 boolean isSelect()
           
 boolean isString()
           
abstract  boolean typeIsa(Domain other)
          Tests if this Domain is assignable to the other Domain.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

typeIsa

public abstract boolean typeIsa(Domain other)
Tests if this Domain is assignable to the other Domain.

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

getName

public java.lang.String getName()
Gets the name of the Domain. The name is the EXPRESS symbol, converted to uppercase.

Returns:
The name for the domain.

isBoolean

public boolean isBoolean()

isLogical

public boolean isLogical()

isEntity

public boolean isEntity()

isEnumeration

public boolean isEnumeration()

isSelect

public boolean isSelect()

isAggregate

public boolean isAggregate()

isReal

public boolean isReal()

isInteger

public boolean isInteger()

isString

public boolean isString()