public final class DefaultEntry extends Object implements Entry
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Attribute> |
attributes
A map containing all the attributes for this entry
|
private Dn |
dn
The Dn for this entry
|
private int |
h
The computed hashcode.
|
private static org.slf4j.Logger |
LOG
The logger for this class
|
private static Object |
MUTEX
A mutex to manage synchronization
|
private static AttributeType |
objectClassAttributeType
A speedup to get the ObjectClass attribute
|
private SchemaManager |
schemaManager
The SchemaManager
|
private static long |
serialVersionUID
Used for serialization
|
| Constructor and Description |
|---|
DefaultEntry()
Creates a new instance of DefaultEntry.
|
DefaultEntry(Dn dn)
Creates a new instance of DefaultEntry, with a Dn.
|
DefaultEntry(Dn dn,
Object... elements)
Creates a new instance of DefaultEntry, with a
Dn and a list of IDs.
|
DefaultEntry(SchemaManager schemaManager)
Creates a new instance of DefaultEntry, schema aware.
|
DefaultEntry(SchemaManager schemaManager,
Dn dn)
Creates a new instance of DefaultEntry, schema aware.
|
DefaultEntry(SchemaManager schemaManager,
Dn dn,
Object... elements)
Creates a new instance of DefaultEntry, with a
Dn and a list of IDs.
|
DefaultEntry(SchemaManager schemaManager,
Entry entry)
Creates a new instance of DefaultEntry, copying
another entry.
|
DefaultEntry(SchemaManager schemaManager,
String dn)
Creates a new instance of DefaultEntry, schema aware.
|
DefaultEntry(SchemaManager schemaManager,
String dn,
Object... elements)
Creates a new instance of DefaultEntry, with a
Dn and a list of IDs.
|
DefaultEntry(String dn)
Creates a new instance of DefaultEntry, with a Dn.
|
DefaultEntry(String dn,
Object... elements)
Creates a new instance of DefaultEntry, with a
Dn and a list of IDs.
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
add(Attribute... attributes)
Add some Attributes to the current Entry.
|
Entry |
add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
add(AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
add(String upId,
AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
add(String upId,
byte[]... values)
Add some binary values to the current Entry.
|
Entry |
add(String upId,
String... values)
Add some String values to the current Entry.
|
Entry |
add(String upId,
Value... values)
Add some Values to the current Entry.
|
void |
clear()
Remove all the attributes for this entry.
|
Entry |
clone()
Clone an entry.
|
boolean |
contains(Attribute... attributes)
Checks if an entry contains a list of attributes.
|
boolean |
contains(AttributeType attributeType,
byte[]... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
contains(AttributeType attributeType,
String... values)
Checks if an entry contains an attribute with some given String values.
|
boolean |
contains(AttributeType attributeType,
Value... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
contains(String upId,
byte[]... values)
Checks if an entry contains an attribute with some binary values.
|
boolean |
contains(String upId,
String... values)
Checks if an entry contains an attribute with some String values.
|
boolean |
contains(String upId,
Value... values)
Checks if an entry contains an attribute with some values.
|
boolean |
containsAttribute(AttributeType attributeType)
Checks if an entry contains a specific AttributeType.
|
boolean |
containsAttribute(String... attributes)
Checks if an entry contains some specific attributes.
|
protected void |
createAttribute(String upId,
AttributeType attributeType,
byte[]... values)
Add a new EntryAttribute, with its upId.
|
protected void |
createAttribute(String upId,
AttributeType attributeType,
String... values)
Add a new EntryAttribute, with its upId.
|
protected void |
createAttribute(String upId,
AttributeType attributeType,
Value... values)
Add a new EntryAttribute, with its upId.
|
private Entry |
createEntry(SchemaManager schemaManager,
Object... elements) |
boolean |
equals(Object o) |
Attribute |
get(AttributeType attributeType)
Returns the attribute associated with an AttributeType
|
Attribute |
get(String alias)
Returns the attribute with the specified alias.
|
Collection<Attribute> |
getAttributes()
Gets all the attributes
|
protected AttributeType |
getAttributeType(String upId)
Returns the attributeType from an Attribute ID.
|
Dn |
getDn()
Get this entry's Dn.
|
private String |
getId(String upId)
Get the trimmed and lower cased entry ID
|
private String |
getUpId(String upId,
AttributeType attributeType)
Get the UpId if it is null.
|
int |
hashCode()
Get the hash code of this ClientEntry.
|
boolean |
hasObjectClass(Attribute... objectClasses)
Tells if an entry has some specific ObjectClasses Attributes
|
boolean |
hasObjectClass(String... objectClasses)
Tells if an entry as some specific ObjectClasses values
|
private void |
initObjectClassAT()
This method is used to initialize the OBJECT_CLASS_AT attributeType.
|
boolean |
isSchemaAware()
Tells if the Entry is schema aware
|
Iterator<Attribute> |
iterator()
Returns an enumeration containing the zero or more attributes in the
collection.
|
private Dn |
normalizeDn(Dn dn)
Normalizes the given Dn if it was not already normalized
|
List<Attribute> |
put(Attribute... attributes)
Places attributes in the attribute collection.
|
Attribute |
put(AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and binary values
into the attribute collection.
|
Attribute |
put(AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and String values
into the attribute collection.
|
Attribute |
put(AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
Attribute |
put(String upId,
AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values
into the attribute collection.
|
Attribute |
put(String upId,
AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and some String values
into the attribute collection.
|
Attribute |
put(String upId,
AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
Attribute |
put(String upId,
byte[]... values)
Put an attribute (represented by its ID and some binary values) into an entry.
|
Attribute |
put(String upId,
String... values)
Put an attribute (represented by its ID and some String values) into an entry.
|
Attribute |
put(String upId,
Value... values)
Put an attribute (represented by its ID and some values) into an entry.
|
void |
readExternal(ObjectInput in) |
private void |
rehash()
A helper method to recompute the hash code
|
List<Attribute> |
remove(Attribute... attributes)
Removes the specified attributes.
|
boolean |
remove(AttributeType attributeType,
byte[]... values)
Removes the specified binary values from an attribute.
|
boolean |
remove(AttributeType attributeType,
String... values)
Removes the specified String values from an attribute.
|
boolean |
remove(AttributeType attributeType,
Value... values)
Removes the specified values from an attribute.
|
boolean |
remove(String upId,
byte[]... values)
Removes the specified binary values from an attribute.
|
boolean |
remove(String upId,
String... values)
Removes the specified String values from an attribute.
|
boolean |
remove(String upId,
Value... values)
Removes the specified values from an attribute.
|
void |
removeAttributes(AttributeType... attributes)
Removes the attribute with the specified AttributeTypes.
|
void |
removeAttributes(String... attributes)
Removes the attribute with the specified alias.
|
void |
setDn(Dn dn)
Set this entry's Dn.
|
void |
setDn(String dn)
Set this entry's Dn.
|
Entry |
shallowClone()
Shallow clone an entry.
|
int |
size()
Returns the number of attributes.
|
String |
toString() |
String |
toString(String tabs)
A pretty-pinter for Entries
|
void |
writeExternal(ObjectOutput out)
This is the place where we serialize entries, and all theirs
elements.
|
finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorprivate static final long serialVersionUID
private static final org.slf4j.Logger LOG
private Dn dn
private Map<String,Attribute> attributes
private static AttributeType objectClassAttributeType
private transient SchemaManager schemaManager
private volatile int h
private static final Object MUTEX
public DefaultEntry()
This entry must be initialized before being used !
public DefaultEntry(SchemaManager schemaManager)
Creates a new instance of DefaultEntry, schema aware.
No attributes will be created.
schemaManager - The reference to the schemaManagerpublic DefaultEntry(String dn) throws LdapInvalidDnException
dn - The String Dn for this serverEntry. Can be null.LdapInvalidDnException - If the Dn is invalidpublic DefaultEntry(Dn dn)
dn - The Dn for this serverEntry. Can be null.public DefaultEntry(SchemaManager schemaManager, String dn) throws LdapInvalidDnException
Creates a new instance of DefaultEntry, schema aware.
No attributes will be created.
schemaManager - The reference to the schemaManagerdn - The String Dn for this serverEntry. Can be null.LdapInvalidDnException - If the Dn is invalidpublic DefaultEntry(SchemaManager schemaManager, Dn dn)
Creates a new instance of DefaultEntry, schema aware.
No attributes will be created.
schemaManager - The reference to the schemaManagerdn - The Dn for this serverEntry. Can be null.public DefaultEntry(String dn, Object... elements) throws LdapException
dn - The Dn for this serverEntry. Can be null.elements - The list of elements to inject in the entryLdapException - If the elements are invalidLdapException - If the provided Dn or elements are invalidpublic DefaultEntry(Dn dn, Object... elements) throws LdapException
dn - The Dn for this serverEntry. Can be null.elements - The list of attributes to create.LdapException - If the provided Dn or elements are invalidpublic DefaultEntry(SchemaManager schemaManager, String dn, Object... elements) throws LdapException
schemaManager - The SchemaManagerdn - The Dn for this serverEntry. Can be null.elements - The list of attributes to create.LdapException - If the provided Dn or elements are invalidpublic DefaultEntry(SchemaManager schemaManager, Dn dn, Object... elements) throws LdapException
schemaManager - The reference to the schemaManagerdn - The Dn for this serverEntry. Can be null.elements - The list of attributes to create.LdapException - If the provided Dn or Elements are invalidpublic DefaultEntry(SchemaManager schemaManager, Entry entry) throws LdapException
Creates a new instance of DefaultEntry, copying another entry.
No attributes will be created.
schemaManager - The reference to the schemaManagerentry - the entry to copyLdapException - If the provided entry is invalidprivate Entry createEntry(SchemaManager schemaManager, Object... elements) throws LdapInvalidAttributeValueException, LdapLdifException
private String getId(String upId)
upId - The IDprivate String getUpId(String upId, AttributeType attributeType)
upId - The IDattributeType - The AttributeType to retrieveprivate void initObjectClassAT()
private Dn normalizeDn(Dn dn)
dn - the Dn to be normalizedprivate void rehash()
protected void createAttribute(String upId, AttributeType attributeType, byte[]... values) throws LdapInvalidAttributeValueException
upId - The user provided ID for the attribute to createattributeType - The AttributeType to usevalues - The values to add to this attributeLdapInvalidAttributeValueException - If one of the value is incorrectprotected void createAttribute(String upId, AttributeType attributeType, String... values) throws LdapInvalidAttributeValueException
upId - The user provided ID for the attribute to createattributeType - The AttributeType to usevalues - The values to add to this attributeLdapInvalidAttributeValueException - If one of the value is incorrectprotected void createAttribute(String upId, AttributeType attributeType, Value... values) throws LdapInvalidAttributeValueException
upId - The user provided ID for the attribute to createattributeType - The AttributeType to usevalues - The values to add to this attributeLdapInvalidAttributeValueException - If one of the value is incorrectprotected AttributeType getAttributeType(String upId) throws LdapException
upId - The ID we are looking forLdapException - If the lookup failedpublic Entry add(AttributeType attributeType, byte[]... values) throws LdapException
Add an attribute (represented by its AttributeType and some binary values) into an entry.
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a LdapException is thrown.
add in interface EntryattributeType - The attribute Type.values - The list of binary values to inject. It can be empty.LdapException - If the attribute does not existpublic Entry add(AttributeType attributeType, String... values) throws LdapException
Add an attribute (represented by its AttributeType and some String values) into an entry.
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a LdapException is thrown.
add in interface EntryattributeType - The attribute Typevalues - The list of binary values to inject. It can be emptyLdapException - If the attribute does not existpublic Entry add(AttributeType attributeType, Value... values) throws LdapException
Add an attribute (represented by its AttributeType and some values) into an entry.
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a LdapException is thrown.
add in interface EntryattributeType - The attribute Typevalues - The list of binary values to inject. It can be emptyLdapException - If the attribute does not existpublic Entry add(String upId, AttributeType attributeType, byte[]... values) throws LdapException
Add an attribute (represented by its AttributeType and some binary values) into an entry. Set the User Provider ID at the same time
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a LdapException is thrown.
add in interface EntryupId - The user provided ID for the added AttributeTypeattributeType - The attribute Type.values - The list of binary values to add. It can be empty.LdapException - If the attribute does not existpublic Entry add(String upId, AttributeType attributeType, Value... values) throws LdapException
Add an attribute (represented by its AttributeType and some values) into an entry. Set the User Provider ID at the same time
If we already have an attribute with the same values, nothing is done (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a LdapException is thrown.
add in interface EntryupId - The user provided ID for the added AttributeTypeattributeType - The attribute Type.values - The list of values to add. It can be empty.LdapException - If the attribute does not existpublic Entry add(String upId, AttributeType attributeType, String... values) throws LdapException
Add an attribute (represented by its AttributeType and some String values) into an entry. Set the User Provider ID at the same time
If we already have an attribute with the same values, the duplicated values are not added (duplicated values are not allowed)
If the value cannot be added, or if the AttributeType is null or invalid, a LdapException is thrown.
add in interface EntryupId - The user provided ID for the added AttributeTypeattributeType - The attribute Type.values - The list of String values to add. It can be empty.LdapException - If the attribute does not existpublic Entry add(Attribute... attributes) throws LdapException
add in interface Entryattributes - The attributes to addLdapException - If we can't add any of the attributespublic Entry add(String upId, byte[]... values) throws LdapException
add in interface EntryupId - The user provided ID of the attribute we want to add
some values tovalues - The list of binary values to addLdapException - If we can't add any of the valuespublic Entry add(String upId, String... values) throws LdapException
add in interface EntryupId - The user provided ID of the attribute we want to add
some values tovalues - The list of String values to addLdapException - If we can't add any of the valuespublic Entry add(String upId, Value... values) throws LdapException
add in interface EntryupId - The user provided ID of the attribute we want to add
some values tovalues - The list of Values to addLdapException - If we can't add any of the valuespublic Entry clone()
public Entry shallowClone()
shallowClone in interface Entrypublic boolean contains(Attribute... attributes)
Checks if an entry contains a list of attributes.
If the list is null or empty, this method will return true
if the entry has no attribute, false otherwise.
public boolean containsAttribute(String... attributes)
containsAttribute in interface Entryattributes - The Attributes to look for.true if the attributes are all found within the entry.public boolean containsAttribute(AttributeType attributeType)
containsAttribute in interface EntryattributeType - The AttributeType to look for.true if the attribute is found within the entry.public boolean contains(AttributeType attributeType, byte[]... values)
public boolean contains(AttributeType attributeType, String... values)
public boolean contains(AttributeType attributeType, Value... values)
public boolean contains(String upId, byte[]... values)
public boolean contains(String upId, String... values)
public boolean contains(String upId, Value... values)
public Attribute get(String alias)
Returns the attribute with the specified alias. The return value
is null if no match is found.
An Attribute with an id different from the supplied alias may be returned: for example a call with 'cn' may in some implementations return an Attribute whose getId() field returns 'commonName'.
public Attribute get(AttributeType attributeType)
public Collection<Attribute> getAttributes()
getAttributes in interface Entrypublic Attribute put(String upId, byte[]... values)
Put an attribute (represented by its ID and some binary values) into an entry.
If the attribute already exists, the previous attribute will be replaced and returned.
public Attribute put(String upId, String... values)
Put an attribute (represented by its ID and some String values) into an entry.
If the attribute already exists, the previous attribute will be replaced and returned.
public Attribute put(String upId, Value... values)
Put an attribute (represented by its ID and some values) into an entry.
If the attribute already exists, the previous attribute will be replaced and returned.
public List<Attribute> put(Attribute... attributes) throws LdapException
Places attributes in the attribute collection.
If there is already an attribute with the same ID as any of the
new attributes, the old ones are removed from the collection and
are returned by this method. If there was no attribute with the
same ID the return value is null.
put in interface Entryattributes - the attributes to be putnullLdapException - if the operation failspublic Attribute put(AttributeType attributeType, byte[]... values) throws LdapException
Places a new attribute with the supplied AttributeType and binary values into the attribute collection.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null value: the value may be null.
put in interface EntryattributeType - the type of the new attribute to be putvalues - the binary values of the new attribute to be putnullLdapException - if there are failurespublic Attribute put(AttributeType attributeType, String... values) throws LdapException
Places a new attribute with the supplied AttributeType and String values into the attribute collection.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null value: the value may be null.
put in interface EntryattributeType - the type of the new attribute to be putvalues - the String values of the new attribute to be putnullLdapException - if there are failurespublic Attribute put(AttributeType attributeType, Value... values) throws LdapException
Places a new attribute with the supplied AttributeType and some values into the attribute collection.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null value: the value may be null.
put in interface EntryattributeType - the type of the new attribute to be putvalues - the values of the new attribute to be putnullLdapException - if there are failurespublic Attribute put(String upId, AttributeType attributeType, byte[]... values) throws LdapException
Places a new attribute with the supplied AttributeType and some binary values into the attribute collection.
The given User provided ID will be used for this new AttributeEntry.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null value: the value may be null.
put in interface EntryupId - The User Provided ID to be stored into the AttributeEntryattributeType - The attributeType to usevalues - The values to storenullLdapException - if there are failures.public Attribute put(String upId, AttributeType attributeType, String... values) throws LdapException
Places a new attribute with the supplied AttributeType and some String values into the attribute collection.
The given User provided ID will be used for this new AttributeEntry.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null value: the value may be null.
put in interface EntryupId - The User Provided ID to be stored into the AttributeEntryattributeType - the type of the new attribute to be putvalues - the String values of the new attribute to be putnullLdapException - if there are failures.public Attribute put(String upId, AttributeType attributeType, Value... values) throws LdapException
Places a new attribute with the supplied AttributeType and some values into the attribute collection.
The given User provided ID will be used for this new AttributeEntry.
If there is already an attribute with the same AttributeType, the old one is removed from the collection and is returned by this method.
This method provides a mechanism to put an attribute with a
null value: the value may be null.
put in interface EntryupId - The User Provided ID to be stored into the AttributeEntryattributeType - the type of the new attribute to be putvalues - the values of the new attribute to be putnullLdapException - if there are failures.public List<Attribute> remove(Attribute... attributes) throws LdapException
null.remove in interface Entryattributes - the attributes to be removednullLdapException - If the removal failedpublic boolean remove(AttributeType attributeType, byte[]... values) throws LdapException
Removes the specified binary values from an attribute.
If at least one value is removed, this method returns true.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove in interface EntryattributeType - The attribute typevalues - the values to be removedtrue if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.LdapException - If the removal failedpublic boolean remove(AttributeType attributeType, String... values) throws LdapException
Removes the specified String values from an attribute.
If at least one value is removed, this method returns true.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove in interface EntryattributeType - The attribute typevalues - the values to be removedtrue if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.LdapException - If the removal failedpublic boolean remove(AttributeType attributeType, Value... values) throws LdapException
Removes the specified values from an attribute.
If at least one value is removed, this method returns true.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove in interface EntryattributeType - The attribute typevalues - the values to be removedtrue if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.LdapException - If the removal failedpublic void removeAttributes(AttributeType... attributes)
Removes the attribute with the specified AttributeTypes.
The removed attribute are returned by this method.
If there is no attribute with the specified AttributeTypes,
the return value is null.
removeAttributes in interface Entryattributes - the AttributeTypes to be removedpublic void removeAttributes(String... attributes)
Removes the attribute with the specified alias.
The removed attribute are returned by this method.
If there is no attribute with the specified alias,
the return value is null.
removeAttributes in interface Entryattributes - an aliased name of the attribute to be removedpublic boolean remove(String upId, byte[]... values) throws LdapException
Removes the specified binary values from an attribute.
If at least one value is removed, this method returns true.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove in interface EntryupId - The attribute IDvalues - the values to be removedtrue if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.LdapException - If the removal failedpublic boolean remove(String upId, String... values) throws LdapException
Removes the specified String values from an attribute.
If at least one value is removed, this method returns true.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove in interface EntryupId - The attribute IDvalues - the attributes to be removedtrue if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.LdapException - If the provided values are invalidpublic boolean remove(String upId, Value... values) throws LdapException
Removes the specified values from an attribute.
If at least one value is removed, this method returns true.
If there is no more value after having removed the values, the attribute will be removed too.
If the attribute does not exist, nothing is done and the method returns
false
remove in interface EntryupId - The attribute IDvalues - the attributes to be removedtrue if at least a value is removed, false
if not all the values have been removed or if the attribute does not exist.LdapException - if the attribute does not existspublic Dn getDn()
public void setDn(Dn dn)
public void setDn(String dn) throws LdapInvalidDnException
setDn in interface Entrydn - The String Dn associated with this entryLdapInvalidDnException - if the provided Dn is invalidpublic void clear()
public Iterator<Attribute> iterator()
public int size()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean hasObjectClass(String... objectClasses)
hasObjectClass in interface EntryobjectClasses - The ObjectClasses we want to checktrue if all the ObjectClasses value are present
in the ObjectClass attributepublic boolean hasObjectClass(Attribute... objectClasses)
hasObjectClass in interface EntryobjectClasses - The ObjectClasses we want to checktrue if the ObjectClasses Attribute are present
in the ObjectClass attributepublic boolean isSchemaAware()
isSchemaAware in interface Entrypublic boolean equals(Object o)
equals in class ObjectObject.equals(Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.