|
Oracle Collaboration Suite Contacts Java API Reference 10g Release 1 (10.1.2) B25483-01 |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--oracle.collabsuite.addressbook.AddressBookAttribute
This class represents an address book attribute
| Constructor Summary | |
AddressBookAttribute(java.lang.String attrName) |
|
| Method Summary | |
int |
getLength()Returns the maximum length defined in the LDAP schema for this attribute. |
java.lang.String |
getName()This methods gets the name of the attribute. |
java.lang.String |
getSyntax()Returns the LDAP syntax of this attribute. |
java.lang.String |
getType()Returns the syntax type of the attribute. |
java.lang.Object |
getValue()This methods gets the value of the attribute. |
boolean |
ifBinary()This method lets the caller know whether the value of the attribute is binary or not |
boolean |
ifSingleValued()Returns the multiplicity of the given attribute. |
void |
setValue(int modificationType, java.lang.Object val)This methods sets the value the attribute for modification operation. |
void |
setValue(java.lang.Object val)This methods adds a value to the attribute. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AddressBookAttribute(java.lang.String attrName)
attrName - - The name of the attribute (constants from AddressBookContactConstants or AddressBookListConstants)| Method Detail |
public java.lang.String getName()
void -
public java.lang.Object getValue()
throws AddressBookException
void -
public void setValue(java.lang.Object val)
throws AddressBookException
val - The value Object will be - String when attribute is single valued String[] when attribute is multivalued byte[] when attribute value is binary null when no value is set for the given attribute
public void setValue(int modificationType,
java.lang.Object val)
throws AddressBookException
modificationType - The type of modificationval - The value Object will be - String when attribute is single valued String[] when attribute is multivalued byte[] when attribute value is binary null when no value is set for the given attributepublic java.lang.String getSyntax()
void - public java.lang.String getType()
void - public int getLength()
void - public boolean ifSingleValued()
void - public boolean ifBinary()
void -
|
Oracle Collaboration Suite Contacts Java API Reference 10g Release 1 (10.1.2) B25483-01 |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||