FileDocCategorySizeDatePackage
PIMField.javaAPI DocphoneME MR2 API (J2ME)2438Wed May 02 18:00:28 BST 2007com.sun.kvem.midp.pim

PIMField

public interface PIMField
Representation of a PIM field. See EmptyPIMField, ScalarPIMField and VectorPIMField.

Fields Summary
Constructors Summary
Methods Summary
public voidaddValue(int attributes, java.lang.Object value)
Adds a value to a PIM field.

param
attributes properties to update
param
value entry to be updated

public booleancontainsData()
Checks field for contents.

return
true if contains data

public intgetAttributes(int index)
Gets the field attributes.

param
index field offset
return
coded attribute settings

public java.lang.ObjectgetValue(int index)
Gets current value.

param
index field identifier
return
requested field

public intgetValueCount()
Gets the count of values.

return
count

public booleanisScalar()
Check if field contains scalar value.

return
true if scalar value

public voidremoveValue(int index)
Removes the value.

param
index value offset

public voidsetValue(int attributes, java.lang.Object value, int index)
Sets the field value.

param
attributes field properties
param
value field to update
param
index field offset