public class QSYSObjectTypeTable
extends java.lang.Object
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 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.
|
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()