Oracle Email Java API Reference
Release 2(9.0.4)

B10724-01

oracle.mail.sdk.ldap
Class DirectoryAttributeMetaData

java.lang.Object
  |
  +--oracle.mail.sdk.ldap.DirectoryAttributeMetaData

public class DirectoryAttributeMetaData
extends java.lang.Object

This class represents the metadata for a email server ldap object (eg., mailuser, list etc). It contains information about all attributes of an ldap object, for example the syntax, multiplicity of the attributes, the default values for attributes (if any default is set in the LDAP) for that particular type of ldap object. In UI based applications, using the metadata, the caller can do any input validations for the data entered.


Method Summary
 java.lang.String getAttributeName()
          Returns the name of the attribute.
 java.lang.String getAttributeOid()
          Returns the oid of the attribute.
 java.lang.String getAttributeType()
          Returns the type of the attribute.
 java.util.Vector getDefaultValues()
          Returns the the default values for attributes (if any default is set in the LDAP)
 java.lang.String getMultiplicity()
          Returns the multiplicity of the attribute.
 boolean getRequired()
          Returns true if the attribute is an mandatory attribute from the DirectoryObject it was retrieved from, false if optional.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getAttributeType

public java.lang.String getAttributeType()
Returns the type of the attribute. Possible values are "String", "byte", "boolean" and "int"
Parameters:
void -  
Returns:
String, the type of the attribute

getDefaultValues

public java.util.Vector getDefaultValues()
Returns the the default values for attributes (if any default is set in the LDAP)
Parameters:
void -  
Returns:
Vector if Strings where each String represents one of the values of the attribute

getMultiplicity

public java.lang.String getMultiplicity()
Returns the multiplicity of the attribute.
Parameters:
void -  
Returns:
String, the multiplicity of attribute

getAttributeName

public java.lang.String getAttributeName()
Returns the name of the attribute.
Parameters:
void -  
Returns:
String, the attribute name

getAttributeOid

public java.lang.String getAttributeOid()
Returns the oid of the attribute.
Parameters:
void -  
Returns:
String, the attribute oid

getRequired

public boolean getRequired()
Returns true if the attribute is an mandatory attribute from the DirectoryObject it was retrieved from, false if optional.
Parameters:
void -  
Returns:
boolean

Oracle Email Java API Reference
Release 2(9.0.4)

B10724-01

Copyright © 1988, 2003 Oracle Corporation. All Rights Reserved.