| java.lang.Object com.sun.kvem.midp.pim.PIMFieldDescriptor
PIMFieldDescriptor | public class PIMFieldDescriptor (Code) | | Specification of a PIM field.
|
Constructor Summary | |
public | PIMFieldDescriptor(int field, int dataType, boolean hasDefaultValue, Object defaultValue, String labelResource, String[] labelResources, long attributes, int maxValues) Constructor: field initialization. | public | PIMFieldDescriptor(int field, int dataType, boolean hasDefaultValue, Object defaultValue, String labelResource, long attributes, int maxValues) Constructor: field initialization. |
labelResources | String[] labelResources(Code) | | PIM: label resources.
|
PIMFieldDescriptor | public PIMFieldDescriptor(int field, int dataType, boolean hasDefaultValue, Object defaultValue, String labelResource, String[] labelResources, long attributes, int maxValues)(Code) | | Constructor: field initialization.
Parameters: field - ID Parameters: dataType - type Parameters: hasDefaultValue - is the default value present? Parameters: defaultValue - default value of the field Parameters: labelResource - label Parameters: labelResources - array of label resources Parameters: attributes - field attributes Parameters: maxValues - maximum number of values or -1 |
PIMFieldDescriptor | public PIMFieldDescriptor(int field, int dataType, boolean hasDefaultValue, Object defaultValue, String labelResource, long attributes, int maxValues)(Code) | | Constructor: field initialization.
Parameters: field - ID Parameters: dataType - type Parameters: hasDefaultValue - is the default value present? Parameters: defaultValue - default value of the field Parameters: labelResource - label (labelResources = null) Parameters: attributes - field attributes Parameters: maxValues - maximum number of values or -1 |
getDataType | public int getDataType()(Code) | | Gets field type.
the field type |
getDefaultValue | public Object getDefaultValue()(Code) | | Gets the default value.
the default value |
getElementlabel | public String getElementlabel(int arrayElement)(Code) | | Gets the label.
Parameters: arrayElement - index of label in labelResources array the label |
getField | public int getField()(Code) | | Gets field ID.
the field ID |
getLabel | public String getLabel()(Code) | | Gets field label.
the field label |
getMaximumValues | public int getMaximumValues()(Code) | | Gets the maximum values.
the maximum values |
getStringArraySize | public int getStringArraySize()(Code) | | Gets the length of array (type STRING_ARRAY).
the length of array |
getSupportedAttributes | public long getSupportedAttributes()(Code) | | Gets the supported attributes.
the set of supported attributes |
hasDefaultValue | public boolean hasDefaultValue()(Code) | | Checks if the field has a default value?
true if the field has a default value? |
|
|