public class PropertyMap
extends java.lang.Object
JdapiMetadata
to dynamically look up the properties of
an object.Constructor and Description |
---|
PropertyMap() |
Modifier and Type | Method and Description |
---|---|
(package private) static int[] |
getAllowedValues(int ptid)
Returns an array of the allowed values for a given property
id.
|
(package private) static int |
getFormattedPropertyId(java.lang.String name)
Reverse look up of method getFormattedPropertyName.
|
(package private) static java.lang.String |
getFormattedPropertyName(int ptid)
Returns a InitCaps unique property name for a given
property id.
|
static java.lang.Class[] |
getPropertyTypes(java.lang.Class objClass,
int propertyTypeId) |
static java.lang.Class[] |
getPropertyTypes(JdapiObject obj,
int propertyTypeId)
Gets the classes that may implement an object for the specified
property.
|
static java.lang.String getFormattedPropertyName(int ptid)
ptid
- the property id to look upstatic int getFormattedPropertyId(java.lang.String name)
name
- the property name to look up.static int[] getAllowedValues(int ptid)
ptid
- the property id to look uppublic static java.lang.Class[] getPropertyTypes(JdapiObject obj, int propertyTypeId)
obj
- Object on which this property you want to know aboutpropertyTypeId
- X_PTID property IDpublic static java.lang.Class[] getPropertyTypes(java.lang.Class objClass, int propertyTypeId)