|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.QSYSObjectTypeTable
The QSYSObjectTypeTable class maintains a list of object types and extended attributes for AS/400 objects.
For example, to list all possible extended attributes for the "FILE" object type.
String[] extendedAttributes = QSYSObjectTypeTable.getSupportedAttributes("FILE");
for(int i = 0; i < extendedAttributes.length; ++i)
{
System.out.println(QSYSObjectTypeTable.getLocalizedObjectType("FILE", extendedAttributes[i]));
}
Method Summary | |
static java.lang.String |
getLocalizedObjectType(java.lang.String type)
Returns a localized description of an object type. |
static java.lang.String |
getLocalizedObjectType(java.lang.String type,
java.lang.String attribute)
Returns a localized description of an object type. |
static java.lang.String[] |
getSupportedAttributes(java.lang.String type)
Returns a list of the supported extended attributes for an object type. |
static java.lang.String[] |
getSupportedObjectTypes()
Returns a list of the supported object types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String getLocalizedObjectType(java.lang.String type)
type
- The object type.public static java.lang.String getLocalizedObjectType(java.lang.String type, java.lang.String attribute)
type
- The object type.attribute
- The extended attribute, or null if none.public static java.lang.String[] getSupportedAttributes(java.lang.String type)
type
- The object type.public static java.lang.String[] getSupportedObjectTypes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |