Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

oracle.mail.ldap
Class ESDSAttribMetaData

java.lang.Object
  |
  +--oracle.mail.ldap.ESDSAttribMetaData

public final class ESDSAttribMetaData
extends java.lang.Object
implements java.lang.Cloneable

This class provides the Attribute Definitions.


Constructor Summary
ESDSAttribMetaData(java.lang.String attroid, java.lang.String attrName, java.lang.String attrSyntax, java.lang.String mult)
Constructor

Method Summary
java.lang.Object clone()
int getAttributeLength()
Returns the maximum length defined in the LDAP schema for this attribute.
java.lang.String getAttributeName()
Returns the name of the attribute.
java.lang.String getAttributeOid()
Returns the oid of the attribute.
java.lang.String getAttributeSyntax()
Returns the LDAP syntax of the attribute.
java.lang.String getAttributeType()
Returns the syntax type of the attribute.
java.util.Vector getDefaultValues()
Gets the value of the attribute.
java.lang.String getMaxValue()
Gets the max value of the attribute.
java.lang.String getMinValue()
Gets the min value of the attribute.
java.lang.String getMultiplicity()
Returns the multiplicity of the attribute.
java.util.Vector getPossibleValues()
Returns the possible values the attribute can have.
boolean getRequired()
void setDefaultValues(java.util.Vector m_vals)
void setMaxValue(java.lang.String maxval)
Sets the max value of the attribute.
void setMinValue(java.lang.String m_minval)
Sets the min value of the attribute.
void setMultiplicity(java.lang.String mult)
void setPossibleValues(java.util.Vector m_vals)
void setRequired(boolean m_reqd)

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

Constructor Detail

ESDSAttribMetaData

public ESDSAttribMetaData(java.lang.String attroid,
                          java.lang.String attrName,
                          java.lang.String attrSyntax,
                          java.lang.String mult)
Constructor

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException

getAttributeSyntax

public java.lang.String getAttributeSyntax()
Returns the LDAP syntax of the attribute.
Parameters:
void -
Returns:
String, the attribute type

getAttributeType

public java.lang.String getAttributeType()
Returns the syntax type of the attribute.
Parameters:
void -
Returns:
String, the attribute type

getAttributeLength

public int getAttributeLength()
Returns the maximum length defined in the LDAP schema for this attribute. Since max length for the attributes is optional in LDAP, it will return -1 if no value is defined for max length.
Parameters:
void -
Returns:
int the attribute length, -1 if not defined in LDAP.

getDefaultValues

public java.util.Vector getDefaultValues()
Gets the value of the attribute.
Parameters:
m_dn - DN of the process instance
m_oid - OID of the attribute
Returns:
String, the attribute value

getPossibleValues

public java.util.Vector getPossibleValues()
Returns the possible values the attribute can have.
Parameters:
void -
Returns:
String, the attribute value

getMinValue

public java.lang.String getMinValue()
Gets the min value of the attribute.
Returns:
String, the attribute min value

getMaxValue

public java.lang.String getMaxValue()
Gets the max value of the attribute.
Returns:
String, the attribute max value

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()

setRequired

public void setRequired(boolean m_reqd)

setPossibleValues

public void setPossibleValues(java.util.Vector m_vals)

setDefaultValues

public void setDefaultValues(java.util.Vector m_vals)

setMinValue

public void setMinValue(java.lang.String m_minval)
Sets the min value of the attribute.
Parameters:
String, - the attribute min value
Returns:
void

setMaxValue

public void setMaxValue(java.lang.String maxval)
Sets the max value of the attribute.
Parameters:
String, - the attribute max value
Returns:
void

setMultiplicity

public void setMultiplicity(java.lang.String mult)

Oracle® Mail Java API Reference
10g Release 1 (10.1.1)

B14492-01

Copyright © 1988, 2005, Oracle. All rights reserved.