Search

Class LdapAttribute

Extends java.lang.Object
This class provides a data structure for holding information about an LDAP attribute, which includes an attribute name (which may include a set of attribute options) and zero or more values.

Attributes

None

Methods

Name Returns
LdapAttribute(String name) constructor
LdapAttribute(String name, String[] values) constructor
encode() com.unboundid.asn1.ASN1Sequence
equals(Object ) boolean
getBaseName() String
getDelegate() com.unboundid.ldap.sdk.Attribute
getMatchingRule() com.unboundid.ldap.matchingrules.MatchingRule
getName() String
getOptions() java.util.Set
getRawValues() com.unboundid.asn1.ASN1OctetString[]
getValue() String
getValueAsBoolean() boolean
getValueAsDate() java.util.Date
getValueAsDN() com.unboundid.ldap.sdk.DN
getValueAsInteger() Number
getValueAsLong() Number
getValueByteArray() Number[]
getValueByteArrays() Number[][]
getValues() String[]
hashCode() Number
hasOption(String ) boolean
hasOptions() boolean
hasValue() boolean
hasValue(String ) boolean
hasValueAsByte(Number[] ) boolean
nameIsValid() boolean
needsBase64Encoding() boolean
setDelegate(com.unboundid.ldap.sdk.Attribute ) void
size() Number
toString() String
toString(java.lang.StringBuilder ) void
writeTo(com.unboundid.asn1.ASN1Buffer ) void

Returned by

Method Returns
LdapEntry.getAttribute(String ) LdapAttribute
LdapEntry.getObjectClassAttribute() LdapAttribute
LdapModification.getAttribute() LdapAttribute

Referenced in

Method Returns
LdapEntry.addAttribute(LdapAttribute ) boolean
LdapEntry.hasAttribute(LdapAttribute ) boolean
LdapEntry.(String dn, LdapAttribute[] values) void