/** * Indicates whether this entry contains the specified object class. * * @param objectClassName The name of the object class for which to make the * determination. It must not be {@code null}. * * @return {@code true} if this entry contains the specified object class, or * {@code false} if not. */ public boolean hasObjectClass(final String objectClassName) { return hasAttributeValue("objectClass", objectClassName); }
/** * Indicates whether this entry contains the specified object class. * * @param objectClassName The name of the object class for which to make the * determination. It must not be {@code null}. * * @return {@code true} if this entry contains the specified object class, or * {@code false} if not. */ public boolean hasObjectClass(final String objectClassName) { return hasAttributeValue("objectClass", objectClassName); }