Uses of Class
org.forgerock.opendj.ldap.schema.ObjectClass.Builder
Package
Description
Classes and interfaces for constructing and querying LDAP schemas.
-
Uses of ObjectClass.Builder in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionSchemaBuilder.buildObjectClass
(String oid) Returns a builder which can be used for incrementally constructing a new object class before adding it to the schema.SchemaBuilder.buildObjectClass
(ObjectClass objectClass) Returns an object class builder whose fields are initialized to the values of the provided object class.ObjectClass.Builder.description
(String description) ObjectClass.Builder.extraProperties
(String extensionName, String... extensionValues) ObjectClass.Builder.extraProperties
(Map<String, List<String>> extraProperties) Adds the provided user friendly names.ObjectClass.Builder.names
(Collection<String> names) Adds the provided user friendly names.ObjectClass.Builder.obsolete
(boolean isObsolete) Specifies whether this schema element is obsolete.Sets the numeric OID which uniquely identifies this object class.ObjectClass.Builder.optionalAttributes
(String... attributeNamesOrOids) Adds the provided optional attributes.ObjectClass.Builder.optionalAttributes
(Collection<String> attributeNamesOrOids) Adds the provided optional attributes.ObjectClass.Builder.removeAllExtraProperties()
ObjectClass.Builder.removeAllNames()
Removes all user defined names.ObjectClass.Builder.removeAllOptionalAttributes()
Removes all optional attributes.ObjectClass.Builder.removeAllRequiredAttributes()
Removes all required attributes.ObjectClass.Builder.removeAllSuperiorObjectClass()
Removes all superior object class.ObjectClass.Builder.removeExtraProperty
(String extensionName, String... extensionValues) ObjectClass.Builder.removeName
(String name) Removes the provided user defined name.ObjectClass.Builder.removeOptionalAttribute
(String attributeNameOrOid) Removes the provided optional attribute.ObjectClass.Builder.removeRequiredAttribute
(String attributeNameOrOid) Removes the provided required attribute.ObjectClass.Builder.removeSuperiorObjectClass
(String objectClassNameOrOid) Removes the provided superior object class.ObjectClass.Builder.requiredAttributes
(String... attributeNamesOrOids) Adds the provided required attributes.ObjectClass.Builder.requiredAttributes
(Collection<String> attributeNamesOrOids) Adds the provided required attributes.ObjectClass.Builder.superiorObjectClasses
(String... objectClassNamesOrOids) Adds the provided superior object classes.ObjectClass.Builder.superiorObjectClasses
(Collection<String> objectClassNamesOrOids) Adds the provided superior object classes.ObjectClass.Builder.type
(ObjectClassType type) Sets the type of this object class.Modifier and TypeMethodDescriptionvoid
SchemaBuilder.SchemaBuilderHook.beforeAddObjectClass
(ObjectClass.Builder builder) Allow to modify the builder before its inclusion in schema.