public enum PropertyTypeEnum extends Enum<PropertyTypeEnum>
| Enum Constant and Description |
|---|
BINARY |
BOOLEAN |
DATE |
DECIMAL |
DOUBLE |
LONG |
REFERENCE |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static PropertyTypeEnum |
fromType(int type) |
Object |
getObjectValue(javax.jcr.Value value) |
int |
getPropertyType() |
static PropertyTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyTypeEnum BINARY
public static final PropertyTypeEnum BOOLEAN
public static final PropertyTypeEnum DATE
public static final PropertyTypeEnum DECIMAL
public static final PropertyTypeEnum DOUBLE
public static final PropertyTypeEnum LONG
public static final PropertyTypeEnum REFERENCE
public static final PropertyTypeEnum STRING
public static PropertyTypeEnum[] values()
for (PropertyTypeEnum c : PropertyTypeEnum.values()) System.out.println(c);
public static PropertyTypeEnum 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 int getPropertyType()
public Object getObjectValue(javax.jcr.Value value) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic static PropertyTypeEnum fromType(int type)
Copyright © 2014 Tacit Knowledge. All Rights Reserved.