public enum ISOType extends Enum<ISOType>
| Enum Constant and Description |
|---|
DATA_ELEMENT |
DEC |
OBJECT_CLASS |
PROPERTY |
UNKNOWN |
VALUE_DOMAIN |
| Modifier and Type | Method and Description |
|---|---|
String |
getColor()
Returns the
String value of the ISO-IEC 11179 type. |
boolean |
isDataElement()
Returns
true if the ISO-IEC 11179 type is DATA ELEMENT. |
boolean |
isDEC()
Returns
true if the ISO-IEC 11179 type is DATA ELEMENT CONCEPT. |
boolean |
isObjectClass()
Returns
true if the ISO-IEC 11179 type is OBJECT CLASS. |
boolean |
isProperty()
Returns
true if the ISO-IEC 11179 type is PROPERTY. |
boolean |
isValueDomain()
Returns
true if the ISO-IEC 11179 type is VALUE DOMAIN. |
static ISOType |
parse(String value)
Returns the ISO-IEC 11179 type instance corresponding to the value specified.
|
static String |
parseToString(String isoType,
String ebxType)
Returns the
EBXType based on ISOType and EBXType. |
String |
toString()
Returns the
String value of the ISO-IEC 11179 type. |
static ISOType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ISOType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISOType OBJECT_CLASS
public static final ISOType PROPERTY
public static final ISOType DEC
public static final ISOType VALUE_DOMAIN
public static final ISOType DATA_ELEMENT
public static final ISOType UNKNOWN
public static ISOType[] values()
for (ISOType c : ISOType.values()) System.out.println(c);
public static ISOType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ISOType parse(String value)
public boolean isObjectClass()
true if the ISO-IEC 11179 type is OBJECT CLASS.public boolean isProperty()
true if the ISO-IEC 11179 type is PROPERTY.public boolean isDEC()
true if the ISO-IEC 11179 type is DATA ELEMENT CONCEPT.public boolean isValueDomain()
true if the ISO-IEC 11179 type is VALUE DOMAIN.public boolean isDataElement()
true if the ISO-IEC 11179 type is DATA ELEMENT.public String toString()
String value of the ISO-IEC 11179 type.public String getColor()
String value of the ISO-IEC 11179 type.