com.steptools.stdev
Class EnumerationDomain
java.lang.Object
com.steptools.stdev.Domain
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumerationDomain
public EnumerationDomain(java.lang.Class c)
- Reserved for EXPRESS classes
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