|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jcr.api.PropertyType
public final class PropertyType
ModeShape extension of the PropertyType class, which allows additional property types.
| Field Summary | |
|---|---|
static int |
SIMPLE_REFERENCE
The SIMPLE_REFERENCE property type is used to store references to nodes without also storing
back-references. |
static String |
TYPENAME_SIMPLE_REFERENCE
The type name for SIMPLE_REFERENCE |
| Method Summary | |
|---|---|
static String |
nameFromValue(int type)
Returns the name of the specified type. |
static int |
valueFromName(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 SIMPLE_REFERENCE
SIMPLE_REFERENCE property type is used to store references to nodes without also storing
back-references.
public static final String TYPENAME_SIMPLE_REFERENCE
SIMPLE_REFERENCE
| Method Detail |
|---|
public static String nameFromValue(int type)
type.
type - the property type
type
IllegalArgumentException - if type is not a valid
property type.public static int valueFromName(String name)
name - the name of the property type.
IllegalArgumentException - if name is not a valid
property type name.
|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||