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

PIMAttribute

public class PIMAttribute extends Object
Specification of a PIM attribute.

Fields Summary
private int
attr
PIM: field.
private String
label
PIM: label.
Constructors Summary
public PIMAttribute(int attr, String labelResource)
Constructor: attribute initialization.

param
attr ID
param
labelResource label

        this.attr = attr;
        this.label = labelResource;
    
public PIMAttribute()
Default constructor: attribute initialization.

        this(0, null);
    
Methods Summary
public intgetAttr()
Gets attribute ID.

return
the attribute ID

        return attr;
    
public java.lang.StringgetLabel()
Gets attribute label.

return
the attribute label

        return label;