Methods Summary |
---|
public void | addValue(int attributes, java.lang.Object value)Adds a value to a PIM field.
this.value = value;
this.attributes = attributes;
|
private void | checkIndex(int index)Ensures that index is value value offset.
if (index != 0) {
throw new IndexOutOfBoundsException(String.valueOf(index));
}
|
public boolean | containsData()Checks if the field contains data.
return true;
|
public int | getAttributes(int index)Gets the field attributes.
checkIndex(index);
return attributes;
|
public java.lang.Object | getValue(int index)Gets the value of the field.
return value;
|
public int | getValueCount()Gets the number of value elements.
return 1;
|
public boolean | isScalar()Checks if field has scalar value.
return true;
|
public void | removeValue(int index)Removes a value element.
|
public void | setValue(int attributes, java.lang.Object value, int index)Sets the value of the field.
this.value = value;
this.attributes = attributes;
|