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

EmptyPIMField

public class EmptyPIMField extends Object implements PIMField
Encapsulation of an empty PIM field

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

        return false;
    
public intgetAttributes(int index)
Gets the field attributes.

param
index field offset
return
coded attribute settings

        throw new IndexOutOfBoundsException("No data in field");
    
public java.lang.ObjectgetValue(int index)
Gets current value.

param
index field identifier
return
requested field

        return null;
    
public intgetValueCount()
Gets the count of values.

return
count

        return 0;
    
public booleanisScalar()
Check if field contains scalar value.

return
true if scalar value

        return true;
    
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