|
ST-Developer Java Reference | ||||||||
| 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.EnumerationDomain
public class EnumerationDomain
Represents an EXPRESS ENUMERATION type.
| Constructor Summary | |
|---|---|
EnumerationDomain(Class c)
Reserved for EXPRESS classes |
|
| Method Summary | |
|---|---|
Object |
convert(Object obj)
Try to convert an object to a corresponding object of this type. |
Class |
domainClass()
|
Enumeration |
forName(String name)
Find the enumeration item for a given name |
Map<String,Enumeration> |
getItems()
Get the Map of enumeration items. |
boolean |
isEnumeration()
|
boolean |
typeIsa(Domain other)
Tests if this Domain is assignable to the other Domain. |
| Methods inherited from class com.steptools.stdev.Domain |
|---|
forClass, getName, isAggregate, isBoolean, isEntity, isInteger, isLogical, isReal, isSelect, isString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationDomain(Class c)
| Method Detail |
|---|
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 Class domainClass()
domainClass in class Domainpublic Enumeration forName(String name)
name - The item to find.
null it it is not found.public Map<String,Enumeration> getItems()
public boolean isEnumeration()
isEnumeration in class Domainpublic Object convert(Object obj)
DomainAttribute.setValue() throws a TypeException.)
convert in class Domainobj - The object to convert.
null.
|
ST-Developer Java Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||