public interface LDAPAttribute
LDAPEntry
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Reports whether the provided object is equal to this attribute.
|
String |
getBaseName()
Extracts the base name from the attribute name of this attribute.
|
byte[] |
getByteValue()
Returns the value of this attribute in byte[] format.
|
byte[][] |
getByteValueArray()
Returns the values of the attribute in an array of byte[] format.
|
String |
getName()
Returns the name of the attribute which may include zero or more attribute options.
|
Set<String> |
getOptions()
Returns the set of options for this attribute.
|
Set<String> |
getOptions(String attrName)
Extracts the attribute options from the specified attribute name.
|
String |
getStringValue()
Returns the string value of this attribute.
|
String[] |
getStringValueArray()
Returns the values of the attribute in an array of String objects.
|
int |
hashCode()
Returns a hash code for this attribute.
|
boolean |
hasOption(String option)
Reports whether this attribute contains the specified attribute option.
|
boolean |
hasOptions()
Reports whether this attribute has any attribute options.
|
boolean |
hasOptions(String[] options)
Reports whether this attribute contains all of the specified attribute options.
|
boolean |
hasValue()
Reports whether this attribute contains at least one value.
|
boolean |
hasValue(byte[] value)
Reports whether this attribute contains the specified value.
|
boolean |
hasValue(String value)
Reports whether this attribute contains the specified value.
|
int |
size()
Returns the number of values of this attribute.
|
String |
toString()
Returns the string representation of this attribute.
|
String getBaseName()
getOptions(java.lang.String)
boolean hasValue()
boolean hasValue(byte[] value)
value
- the value for which to make the check. It must not be null.boolean hasValue(String value)
value
- the value for which to make the check. It must not be null.byte[] getByteValue()
byte[][] getByteValueArray()
String getName()
String getStringValue()
String[] getStringValueArray()
boolean hasOptions()
boolean hasOption(String option)
option
- the attribute option for which to make the check.boolean hasOptions(String[] options)
options
- the attribute options for which to make the check.Set<String> getOptions()
Set<String> getOptions(String attrName)
attrName
- attribute name from which to extract the attribute options. It must
not be null.int size()
boolean equals(Object obj)
int hashCode()