Methods Summary |
---|
public void | addValue(int attributes, java.lang.Object value)Adds a value to a PIM field.
this.values.addElement(value);
this.attributes.addElement(new Integer(attributes));
|
public boolean | containsData()Checks if the field contains data.
return values.size() > 0;
|
public int | getAttributes(int index)Gets the field attributes.
return ((Integer) attributes.elementAt(index)).intValue();
|
public java.lang.Object | getValue(int index)Gets the value of the field.
return values.elementAt(index);
|
public int | getValueCount()Gets the number of value elements.
return values.size();
|
public boolean | isScalar()Checks if field has scalar value.
return false;
|
public void | removeValue(int index)Removes a value element.
this.values.removeElementAt(index);
this.attributes.removeElementAt(index);
|
public void | setValue(int attributes, java.lang.Object value, int index)Sets the value of the field.
this.values.setElementAt(value, index);
this.attributes.setElementAt(new Integer(attributes), index);
|