public final class PropertyType extends Object
PropertyType class, which allows additional property types.| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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_REFERENCEpublic static String nameFromValue(int type)
type.type - the property typetypeIllegalArgumentException - 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.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.