public enum PropertyBaseType extends java.lang.Enum<PropertyBaseType>
Enum Type | Java Object type | Storage string |
---|---|---|
BOOLEAN | java.lang.Boolean | Boolean.toString() |
ENUMERATE | org.modelio.metamodel.uml.infrastructure.properties. PropertyEnumerationLitteral | The property literal name |
FLOAT | java.lang.Float | Float.toString() |
UNSIGNED | java.lang.Integer | Integer.toString() |
INTEGER | java.lang.Integer | Integer.toString() |
ELEMENT | MRef | MRef.toString() |
RICHTEXT | MRef | MRef.toString() |
TIME | java.sql.Time | Time as long, long.toString() |
DATE | java.util.Date | Date as long, long.toString() |
STRING | java.lang.String | the string itself |
TEXT | java.lang.String | the string itself |
Enum Constant and Description |
---|
BOOLEAN |
DATE |
ELEMENT |
ENUMERATE |
FLOAT |
INTEGER |
MULTIELEMENT |
MULTISTRING |
RICHTEXT |
STRING |
TEXT |
TIME |
UNSIGNED |
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN_VALUE |
static int |
DATE_VALUE |
static int |
ELEMENT_VALUE |
static int |
ENUMERATE_VALUE |
static int |
FLOAT_VALUE |
static int |
INTEGER_VALUE |
static int |
MULTIELEMENT_VALUE |
static int |
MULTISTRING_VALUE |
static int |
RICHTEXT_VALUE |
static int |
STRING_VALUE |
static int |
TEXT_VALUE |
static int |
TIME_VALUE |
static int |
UNSIGNED_VALUE |
static java.util.List<PropertyBaseType> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static PropertyBaseType |
get(int value) |
static PropertyBaseType |
get(java.lang.String literal) |
static PropertyBaseType |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
static PropertyBaseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyBaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyBaseType STRING
public static final PropertyBaseType TEXT
public static final PropertyBaseType BOOLEAN
public static final PropertyBaseType INTEGER
public static final PropertyBaseType UNSIGNED
public static final PropertyBaseType FLOAT
public static final PropertyBaseType ENUMERATE
public static final PropertyBaseType DATE
public static final PropertyBaseType TIME
public static final PropertyBaseType ELEMENT
public static final PropertyBaseType RICHTEXT
public static final PropertyBaseType MULTISTRING
public static final PropertyBaseType MULTIELEMENT
public static final int STRING_VALUE
public static final int TEXT_VALUE
public static final int BOOLEAN_VALUE
public static final int INTEGER_VALUE
public static final int UNSIGNED_VALUE
public static final int FLOAT_VALUE
public static final int ENUMERATE_VALUE
public static final int DATE_VALUE
public static final int TIME_VALUE
public static final int ELEMENT_VALUE
public static final int RICHTEXT_VALUE
public static final int MULTISTRING_VALUE
public static final int MULTIELEMENT_VALUE
public static final java.util.List<PropertyBaseType> VALUES
public static PropertyBaseType[] values()
for (PropertyBaseType c : PropertyBaseType.values()) System.out.println(c);
public static PropertyBaseType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PropertyBaseType get(java.lang.String literal)
public static PropertyBaseType getByName(java.lang.String name)
public static PropertyBaseType get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<PropertyBaseType>