| com.sun.kvem.midp.pim.PIMField
All known Subclasses: com.sun.kvem.midp.pim.VectorPIMField, com.sun.kvem.midp.pim.EmptyPIMField, com.sun.kvem.midp.pim.ScalarPIMField,
PIMField | interface PIMField (Code) | | Representation of a PIM field.
See EmptyPIMField, ScalarPIMField and VectorPIMField.
|
Method Summary | |
public void | addValue(int attributes, Object value) Adds a value to a PIM field. | public boolean | containsData() Checks field for contents. | public int | getAttributes(int index) Gets the field attributes. | public Object | getValue(int index) Gets current value. | public int | getValueCount() Gets the count of values. | public boolean | isScalar() Check if field contains scalar value. | public void | removeValue(int index) Removes the value. | public void | setValue(int attributes, Object value, int index) Sets the field value. |
addValue | public void addValue(int attributes, Object value)(Code) | | Adds a value to a PIM field.
Parameters: attributes - properties to update Parameters: value - entry to be updated |
containsData | public boolean containsData()(Code) | | Checks field for contents.
true if contains data |
getAttributes | public int getAttributes(int index)(Code) | | Gets the field attributes.
Parameters: index - field offset coded attribute settings |
getValue | public Object getValue(int index)(Code) | | Gets current value.
Parameters: index - field identifier requested field |
getValueCount | public int getValueCount()(Code) | | Gets the count of values.
count |
isScalar | public boolean isScalar()(Code) | | Check if field contains scalar value.
true if scalar value |
removeValue | public void removeValue(int index)(Code) | | Removes the value.
Parameters: index - value offset |
setValue | public void setValue(int attributes, Object value, int index)(Code) | | Sets the field value.
Parameters: attributes - field properties Parameters: value - field to update Parameters: index - field offset |
|
|