|
Oracle® Collaboration Suite Contacts Java API Reference 10g Release 1 (10.1.1) B16235-01 |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.collabsuite.addressbook.SchemaObject
This class contains information about schema representation of an address book entry in LDAP, ie. the ldap schema information for a list object. From the schema object, various information like the list of mandatory and optional attributes for the entry can be obtained. It also contains information about all these attributes, for example the syntax, multiplicity of the attributes etc.
Method Summary | |
int |
getAttributeLength(java.lang.String attr) Returns the maximum length defined in the LDAP schema for this attribute. |
java.lang.String |
getAttributeSyntax(java.lang.String attr) Returns the LDAP syntax of the attribute. |
java.lang.String |
getAttributeType(java.lang.String attr) Returns the syntax type of the attribute. |
java.lang.String[] |
getMandatoryAttributes() Returns the names of mandatory attributes |
java.lang.String[] |
getOptionalAttributes() Returns the names of optional attributes |
boolean |
ifBinary(java.lang.String attr) Returns if the given attribute definition is binary. |
boolean |
ifSingleValued(java.lang.String attr) Returns the multiplicity of the given attribute. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String[] getMandatoryAttributes()
void
-public java.lang.String[] getOptionalAttributes() throws AddressBookException
void
-public java.lang.String getAttributeSyntax(java.lang.String attr) throws AddressBookException
attr
- Name of the attributepublic java.lang.String getAttributeType(java.lang.String attr) throws AddressBookException
attr
- Name of the attributepublic int getAttributeLength(java.lang.String attr) throws AddressBookException
attr
- Name of the attributepublic boolean ifSingleValued(java.lang.String attr) throws AddressBookException
attr
- Name of the attributepublic boolean ifBinary(java.lang.String attr) throws AddressBookException
attr
- Name of the attribute
|
Oracle® Collaboration Suite Contacts Java API Reference 10g Release 1 (10.1.1) B16235-01 |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |