|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
javax.jcr.PropertyType
public final class PropertyType
The property types supported by the JCR standard. <p/>
This interface defines following property types:
STRING
BINARY
LONG
DOUBLE
DATE
BOOLEAN
NAME
PATH
REFERENCE
Field Summary | |
---|---|
static int |
BINARY |
static int |
BOOLEAN |
static int |
DATE |
static int |
DOUBLE |
static int |
LONG |
static int |
NAME |
static int |
PATH |
static int |
REFERENCE |
static int |
STRING |
static java.lang.String |
TYPENAME_BINARY |
static java.lang.String |
TYPENAME_BOOLEAN |
static java.lang.String |
TYPENAME_DATE |
static java.lang.String |
TYPENAME_DOUBLE |
static java.lang.String |
TYPENAME_LONG |
static java.lang.String |
TYPENAME_NAME |
static java.lang.String |
TYPENAME_PATH |
static java.lang.String |
TYPENAME_REFERENCE |
static java.lang.String |
TYPENAME_STRING |
static java.lang.String |
TYPENAME_UNDEFINED |
static int |
UNDEFINED |
Method Summary | |
---|---|
static java.lang.String |
nameFromValue(int type) Returns the name of the specified type , as used in serialization. |
static int |
valueFromName(java.lang.String name) Returns the numeric constant value of the type with the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STRING
public static final int BINARY
public static final int LONG
public static final int DOUBLE
public static final int DATE
public static final int BOOLEAN
public static final int NAME
public static final int PATH
public static final int REFERENCE
public static final int UNDEFINED
public static final java.lang.String TYPENAME_STRING
public static final java.lang.String TYPENAME_BINARY
public static final java.lang.String TYPENAME_LONG
public static final java.lang.String TYPENAME_DOUBLE
public static final java.lang.String TYPENAME_DATE
public static final java.lang.String TYPENAME_BOOLEAN
public static final java.lang.String TYPENAME_NAME
public static final java.lang.String TYPENAME_PATH
public static final java.lang.String TYPENAME_REFERENCE
public static final java.lang.String TYPENAME_UNDEFINED
Method Detail |
---|
public static java.lang.String nameFromValue(int type)
type
, as used in serialization.type
- the property typetype
java.lang.IllegalArgumentException
- if type
is not a valid property type.public static int valueFromName(java.lang.String name)
name
- the name of the property typejava.lang.IllegalArgumentException
- if name
is not a valid property type name.
|
Oracle® Database XML Java API Reference 11g Release 2 (11.2) E10769-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |