|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.as400.access.QSYSObjectTypeTable
public class QSYSObjectTypeTable extends Object
Maintains a list of object types and extended attributes for objects on the system.
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]));
}
Modifier and Type | Method and Description |
---|---|
static String |
getLocalizedObjectType(String type)
Returns a localized description of an object type. |
static String |
getLocalizedObjectType(String type,
String attribute)
Returns a localized description of an object type. |
static String[] |
getSupportedAttributes(String type)
Returns a list of the supported extended attributes for an object type. |
static 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 String getLocalizedObjectType(String type)
type
- The object type.public static String getLocalizedObjectType(String type, String attribute)
type
- The object type.attribute
- The extended attribute, or null if none.public static String[] getSupportedAttributes(String type)
type
- The object type.public static String[] getSupportedObjectTypes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |