com.steptools.stdev
Class EnumerationDomain

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

public class EnumerationDomain
extends Domain

Represents an EXPRESS ENUMERATION type.


Constructor Summary
EnumerationDomain(java.lang.Class c)
          Reserved for EXPRESS classes
 
Method Summary
 Enumeration forName(java.lang.String name)
          Find the enumeration item for a given name
 boolean isEnumeration()
           
 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, isEntity, isInteger, isLogical, isReal, isSelect, isString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationDomain

public EnumerationDomain(java.lang.Class c)
Reserved for EXPRESS classes

Method Detail

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.

forName

public Enumeration forName(java.lang.String name)
Find the enumeration item for a given name

Parameters:
name - The item to find.
Returns:
The item, or null it it is not found.

isEnumeration

public boolean isEnumeration()
Overrides:
isEnumeration in class Domain