|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.introspection.WTIntrospector
public class WTIntrospector
WTIntrospector is a factory for class info objects.
Supported API: true
Extendable: false
ClassInfo,
LinkInfo| Field Summary | |
|---|---|
static String |
ARRAY_TYPE
Key to access the Array ObjectType extended value from a ClassInfo. |
static String |
CHANGEABLE
Key to access the Changeable setting (as a wt.introspection.ChangeableKind) from a PropertyDescriptor obtained from a ClassInfo. |
static String |
CONSTRAINED_TYPE
Key to access the ConstrainedType (as a String), if it is constrained, from a PropertyDescriptor obtained from a ClassInfo. |
static String |
DEFINED_AS
Key to access the Fully Qualified Name of the Property, as it was defined (modeled). |
static String |
DERIVED
Key to access the Derived setting from a PropertyDescriptor obtained from a ClassInfo. |
static String |
INCREMENT
Key to access the Sequence Increment extended value from a ClassInfo. |
static String |
INFO_EXTENSION
The extension used for serialized ClassInfo files. |
static String |
INITIAL_VALUE
Key to access the Initial Value setting from a PropertyDescriptor obtained from a ClassInfo. |
static String |
LOCALIZABLE
Key to access the Localizable setting from a PropertyDescriptor obtained from a ClassInfo. |
static String |
LOWER_LIMIT
Key to access the Lower Limit from a PropertyDescriptor obtained from a ClassInfo. |
static String |
MODEL_RESOURCE_SUFFIX
The suffix used for resource files related to modeled information. |
static String |
MODELED_PERSISTENT_TYPE
Key to access the ColumnType from a PropertyDescriptor obtained from a ClassInfo. |
static String |
OBJECT_NAME
Key to access the datastore ObjectName extended value from a ClassInfo. |
static String |
ORACLE_OPTIONS
Key to access the Oracle Options extended value from a ClassInfo. |
static String |
PERSISTENT
Key to access the Persistence setting from a PropertyDescriptor obtained from a ClassInfo. |
static String |
QUERY_NAME
Key to access the Query Name from a PropertyDescriptor obtained from a ClassInfo. |
static String |
REQUIRED
Key to access the Required setting from a PropertyDescriptor obtained from a ClassInfo. |
static String |
SEED
Key to access the Sequence Seed extended value from a ClassInfo. |
static String |
SQL_SERVER_OPTIONS
Key to access the SQLServer Options extended value from a ClassInfo. |
static String |
STEREOTYPE
Key to access the Stereotype from a PropertyDescriptor obtained from a ClassInfo. |
static String |
STRING_CASE
Key to access the StringCase setting (as a wt.util.CaseKind) from a PropertyDescriptor obtained from a ClassInfo. |
static String |
UPDATEABLE
Key to access the Updateable setting from a PropertyDescriptor obtained from a ClassInfo. |
static String |
UPPER_LIMIT
Key to access the Upper Limit from a PropertyDescriptor obtained from a ClassInfo. |
static String |
VALUE_SET_METHOD
Key to access the Method object, that returns the valid value set, from a PropertyDescriptor obtained from a ClassInfo. |
| Method Summary | |
|---|---|
static ClassInfo |
getClassInfo(Class aClass)
Gets class meta info. |
static ClassInfo |
getClassInfo(String aClassname)
Gets class meta info. |
static ClassInfo |
getClassInfo(String aClassname,
String dir)
Gets class meta info. |
static ClassInfo |
getClassInfoByAttribute(String attribute)
Gets class meta info. |
static LinkInfo |
getLinkInfo(Class aClass)
Gets class meta info. |
static LinkInfo |
getLinkInfo(String aClassname)
Gets link class meta info. |
static LinkInfo |
getLinkInfo(String aClassname,
String dir)
Gets link class meta info. |
static String |
getQualifiedName(PropertyDescriptor pd)
Get the qualifed name (classname.name) of the PropertyDescriptor Supported API: true |
static Class |
getValidType(PropertyDescriptor pd)
Get the valid type for a PropertyDescriptor. |
static String |
getValidTypeName(PropertyDescriptor pd)
Get the name of the valid type for a PropertyDescriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INFO_EXTENSION
public static final String MODEL_RESOURCE_SUFFIX
public static final String STEREOTYPE
public static final String DERIVED
public static final String PERSISTENT
public static final String QUERY_NAME
public static final String STRING_CASE
public static final String INITIAL_VALUE
public static final String REQUIRED
public static final String LOWER_LIMIT
public static final String UPPER_LIMIT
public static final String UPDATEABLE
public static final String CHANGEABLE
public static final String VALUE_SET_METHOD
public static final String CONSTRAINED_TYPE
public static final String DEFINED_AS
public static final String LOCALIZABLE
public static final String MODELED_PERSISTENT_TYPE
public static final String OBJECT_NAME
public static final String ORACLE_OPTIONS
public static final String SQL_SERVER_OPTIONS
public static final String ARRAY_TYPE
public static final String SEED
public static final String INCREMENT
| Method Detail |
|---|
public static ClassInfo getClassInfo(Class aClass)
throws wt.introspection.WTIntrospectionException
aClass - is the target class
WTIntrospectionException - if class info cannot be loaded
public static ClassInfo getClassInfo(String aClassname)
throws wt.introspection.WTIntrospectionException
aClassname - is the full qualified name of the target class
WTIntrospectionException - if class info cannot be loaded
public static ClassInfo getClassInfo(String aClassname,
String dir)
throws wt.introspection.WTIntrospectionException
aClassname - is the full qualified name of the target classdir - is the root directory under which ClassInfo's are located
WTIntrospectionException - if class info cannot be loaded
public static ClassInfo getClassInfoByAttribute(String attribute)
throws wt.introspection.WTIntrospectionException
attribute - is a fully qualified attribute name
WTIntrospectionException - if class info cannot be loaded
public static LinkInfo getLinkInfo(Class aClass)
throws wt.introspection.WTIntrospectionException
aClass - is the target link class
WTIntrospectionException - if class info cannot be loaded
public static LinkInfo getLinkInfo(String aClassname)
throws wt.introspection.WTIntrospectionException
aClassname - is the full qualified name of the target class
WTIntrospectionException - if class info cannot be loaded
public static LinkInfo getLinkInfo(String aClassname,
String dir)
throws wt.introspection.WTIntrospectionException
aClassname - is the full qualified name of the target classdir - is the root directory under which ClassInfo's are located
WTIntrospectionException - if class info cannot be loaded
public static Class getValidType(PropertyDescriptor pd)
throws wt.introspection.WTIntrospectionException
pd - The target PropertyDescriptor.
WTIntrospectionException - if fails to construct new PropertyDescriptor.
public static String getValidTypeName(PropertyDescriptor pd)
throws wt.introspection.WTIntrospectionException
pd - The target PropertyDescriptor.
WTIntrospectionException - if fails to construct new PropertyDescriptor.public static String getQualifiedName(PropertyDescriptor pd)
pd - The target PropertyDescriptor.
WTIntrospectionException - if fails to construct new PropertyDescriptor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||