FileDocCategorySizeDatePackage
PIMItem.javaAPI DocphoneME MR2 API (J2ME)5193Wed May 02 18:00:28 BST 2007javax.microedition.pim

PIMItem

public interface PIMItem
This class is defined by the JSR-75 specification PDA Optional Packages for the J2ME™ Platform

Fields Summary
public static final int
BINARY
public static final int
BOOLEAN
public static final int
DATE
public static final int
INT
public static final int
STRING
public static final int
STRING_ARRAY
public static final int
ATTR_NONE
public static final int
EXTENDED_FIELD_MIN_VALUE
public static final int
EXTENDED_ATTRIBUTE_MIN_VALUE
Constructors Summary
Methods Summary
public abstract voidaddBinary(int field, int attributes, byte[] value, int offset, int length)

public abstract voidaddBoolean(int field, int attributes, boolean value)

public abstract voidaddDate(int field, int attributes, long value)

public abstract voidaddInt(int field, int attributes, int value)

public abstract voidaddString(int field, int attributes, java.lang.String value)

public abstract voidaddStringArray(int field, int attributes, java.lang.String[] value)

public abstract voidaddToCategory(java.lang.String category)

public abstract voidcommit()

public abstract intcountValues(int field)

public abstract intgetAttributes(int field, int index)

public abstract byte[]getBinary(int field, int index)

public abstract booleangetBoolean(int field, int index)

public abstract java.lang.String[]getCategories()

public abstract longgetDate(int field, int index)

public abstract int[]getFields()

public abstract intgetInt(int field, int index)

public abstract PIMListgetPIMList()

public abstract java.lang.StringgetString(int field, int index)

public abstract java.lang.String[]getStringArray(int field, int index)

public abstract booleanisModified()

public abstract intmaxCategories()

public abstract voidremoveFromCategory(java.lang.String category)

public abstract voidremoveValue(int field, int index)

public abstract voidsetBinary(int field, int index, int attributes, byte[] value, int offset, int length)

public abstract voidsetBoolean(int field, int index, int attributes, boolean value)

public abstract voidsetDate(int field, int index, int attributes, long value)

public abstract voidsetInt(int field, int index, int attributes, int value)

public abstract voidsetString(int field, int index, int attributes, java.lang.String value)

public abstract voidsetStringArray(int field, int index, int attributes, java.lang.String[] value)