public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
INTEGER |
NULL |
NUMBER |
OBJECT |
STRING |
Modifier and Type | Method and Description |
---|---|
Class |
getClassType()
Return the java class type of this property type.
|
static PropertyType |
getPropertyType(Class classType)
Return the
PropertyType based on provided java class type. |
static PropertyType |
lookUp(PropertyFormatType type) |
static PropertyType |
lookUp(String name) |
String |
toString() |
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType STRING
public static final PropertyType NUMBER
public static final PropertyType INTEGER
public static final PropertyType BOOLEAN
public static final PropertyType ARRAY
public static final PropertyType OBJECT
public static final PropertyType NULL
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 String toString()
toString
in class Enum<PropertyType>
public Class getClassType()
public static PropertyType getPropertyType(Class classType)
PropertyType
based on provided java class type.classType
- - Java class typePropertyType
associated with provided java class type.public static PropertyType lookUp(String name)
public static PropertyType lookUp(PropertyFormatType type)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.