| Package | Description |
|---|---|
| org.apache.directory.api.ldap.model.entry | |
| org.apache.directory.api.ldap.model.filter | |
| org.apache.directory.api.ldap.model.name | |
| org.apache.directory.api.ldap.model.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
| org.apache.directory.api.ldap.model.schema.normalizers | |
| org.apache.directory.api.ldap.model.schema.parsers | |
| org.apache.directory.api.ldap.model.schema.registries | |
| org.apache.directory.api.ldap.model.schema.registries.helper | |
| org.apache.directory.api.ldap.model.subtree |
| Modifier and Type | Field and Description |
|---|---|
private AttributeType |
DefaultAttribute.attributeType
The associated AttributeType
|
private AttributeType |
DefaultModification.attributeType
The AtributeType
|
private AttributeType |
Value.attributeType
reference to the attributeType associated with the value
|
private static AttributeType |
DefaultEntry.objectClassAttributeType
A speedup to get the ObjectClass attribute
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
DefaultAttribute.getAttributeType()
Get the attribute type associated with this EntryAttribute.
|
AttributeType |
DefaultModification.getAttributeType() |
AttributeType |
Value.getAttributeType()
Get the associated AttributeType
|
AttributeType |
Attribute.getAttributeType()
Get the attribute type associated with this EntryAttribute.
|
protected AttributeType |
DefaultEntry.getAttributeType(String upId)
Returns the attributeType from an Attribute ID.
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
Entry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
DefaultEntry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
ImmutableEntry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
Entry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
DefaultEntry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
ImmutableEntry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
Entry.add(AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
DefaultEntry.add(AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
ImmutableEntry.add(AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
Entry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
DefaultEntry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
ImmutableEntry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
Entry |
Entry.add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
DefaultEntry.add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
ImmutableEntry.add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
Entry |
Entry.add(String upId,
AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
DefaultEntry.add(String upId,
AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
Entry |
ImmutableEntry.add(String upId,
AttributeType attributeType,
Value... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
void |
DefaultAttribute.apply(AttributeType attributeType)
Set the attribute type associated with this EntryAttribute.
|
void |
DefaultModification.apply(AttributeType attributeType)
Apply the AttributeType to the Modification
|
void |
Attribute.apply(AttributeType attributeType)
Set the attribute type associated with this EntryAttribute.
|
void |
Modification.apply(AttributeType attributeType)
Apply the AttributeType to the Modification
|
private boolean |
DefaultAttribute.areCompatible(String id,
AttributeType attributeType)
Check that the id is either a name or the OID of a given AT
|
boolean |
Entry.contains(AttributeType attributeType,
byte[]... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
DefaultEntry.contains(AttributeType attributeType,
byte[]... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
ImmutableEntry.contains(AttributeType attributeType,
byte[]... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
Entry.contains(AttributeType attributeType,
String... values)
Checks if an entry contains an attribute with some given String values.
|
boolean |
DefaultEntry.contains(AttributeType attributeType,
String... values)
Checks if an entry contains an attribute with some given String values.
|
boolean |
ImmutableEntry.contains(AttributeType attributeType,
String... values)
Checks if an entry contains an attribute with some given String values.
|
boolean |
Entry.contains(AttributeType attributeType,
Value... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
DefaultEntry.contains(AttributeType attributeType,
Value... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
ImmutableEntry.contains(AttributeType attributeType,
Value... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
Entry.containsAttribute(AttributeType attributeType)
Checks if an entry contains a specific AttributeType.
|
boolean |
DefaultEntry.containsAttribute(AttributeType attributeType)
Checks if an entry contains a specific AttributeType.
|
boolean |
ImmutableEntry.containsAttribute(AttributeType attributeType)
Checks if an entry contains a specific AttributeType.
|
protected void |
DefaultEntry.createAttribute(String upId,
AttributeType attributeType,
byte[]... values)
Add a new EntryAttribute, with its upId.
|
protected void |
DefaultEntry.createAttribute(String upId,
AttributeType attributeType,
String... values)
Add a new EntryAttribute, with its upId.
|
protected void |
DefaultEntry.createAttribute(String upId,
AttributeType attributeType,
Value... values)
Add a new EntryAttribute, with its upId.
|
private Value |
DefaultAttribute.createBinaryValue(AttributeType attributeType,
byte[] value) |
private Value |
DefaultAttribute.createStringValue(AttributeType attributeType,
String value) |
static Value |
Value.createValue(AttributeType attributeType)
Create a Value with an AttributeType.
|
static Value |
Value.deserialize(AttributeType attributeType,
ObjectInput in)
Deserialize a Value.
|
Attribute |
Entry.get(AttributeType attributeType)
Returns the attribute associated with an AttributeType
|
Attribute |
DefaultEntry.get(AttributeType attributeType)
Returns the attribute associated with an AttributeType
|
Attribute |
ImmutableEntry.get(AttributeType attributeType)
Returns the attribute associated with an AttributeType
|
private String |
DefaultEntry.getUpId(String upId,
AttributeType attributeType)
Get the UpId if it is null.
|
private void |
Value.init(AttributeType attributeType) |
boolean |
DefaultAttribute.isInstanceOf(AttributeType attributeType)
Check if the current attribute type has the same type (or is a descendant of)
than the given attributeType
|
boolean |
Value.isInstanceOf(AttributeType attributeType)
Check if the value is stored into an instance of the given
AttributeType, or one of its ascendant.
|
boolean |
Attribute.isInstanceOf(AttributeType attributeType)
Check if the current attribute type has the same type (or is a descendant of)
than the given attributeType
|
boolean |
DefaultAttribute.isValid(AttributeType attributeType)
Checks to see if this attribute is valid along with the values it contains.
|
boolean |
Attribute.isValid(AttributeType attributeType)
Checks to see if this attribute is valid along with the values it contains.
|
Attribute |
Entry.put(AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and binary values
into the attribute collection.
|
Attribute |
DefaultEntry.put(AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and binary values
into the attribute collection.
|
Attribute |
ImmutableEntry.put(AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and binary values
into the attribute collection.
|
Attribute |
Entry.put(AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and String values
into the attribute collection.
|
Attribute |
DefaultEntry.put(AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and String values
into the attribute collection.
|
Attribute |
ImmutableEntry.put(AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and String values
into the attribute collection.
|
Attribute |
Entry.put(AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
Attribute |
DefaultEntry.put(AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
Attribute |
ImmutableEntry.put(AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
Attribute |
Entry.put(String upId,
AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values
into the attribute collection.
|
Attribute |
DefaultEntry.put(String upId,
AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values
into the attribute collection.
|
Attribute |
ImmutableEntry.put(String upId,
AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values
into the attribute collection.
|
Attribute |
Entry.put(String upId,
AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and some String values
into the attribute collection.
|
Attribute |
DefaultEntry.put(String upId,
AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and some String values
into the attribute collection.
|
Attribute |
ImmutableEntry.put(String upId,
AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and some String values
into the attribute collection.
|
Attribute |
Entry.put(String upId,
AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
Attribute |
DefaultEntry.put(String upId,
AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
Attribute |
ImmutableEntry.put(String upId,
AttributeType attributeType,
Value... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
boolean |
Entry.remove(AttributeType attributeType,
byte[]... values)
Removes the specified binary values from an attribute.
|
boolean |
DefaultEntry.remove(AttributeType attributeType,
byte[]... values)
Removes the specified binary values from an attribute.
|
boolean |
ImmutableEntry.remove(AttributeType attributeType,
byte[]... values)
Removes the specified binary values from an attribute.
|
boolean |
Entry.remove(AttributeType attributeType,
String... values)
Removes the specified String values from an attribute.
|
boolean |
DefaultEntry.remove(AttributeType attributeType,
String... values)
Removes the specified String values from an attribute.
|
boolean |
ImmutableEntry.remove(AttributeType attributeType,
String... values)
Removes the specified String values from an attribute.
|
boolean |
Entry.remove(AttributeType attributeType,
Value... values)
Removes the specified values from an attribute.
|
boolean |
DefaultEntry.remove(AttributeType attributeType,
Value... values)
Removes the specified values from an attribute.
|
boolean |
ImmutableEntry.remove(AttributeType attributeType,
Value... values)
Removes the specified values from an attribute.
|
void |
Entry.removeAttributes(AttributeType... attributes)
Removes the attribute with the specified AttributeTypes.
|
void |
DefaultEntry.removeAttributes(AttributeType... attributes)
Removes the attribute with the specified AttributeTypes.
|
void |
ImmutableEntry.removeAttributes(AttributeType... attributes)
Removes the attribute with the specified AttributeTypes.
|
void |
DefaultAttribute.setUpId(byte[] upId,
AttributeType attributeType)
Sets the User Provided ID as a byte[]
|
void |
DefaultAttribute.setUpId(String upId,
AttributeType attributeType)
Set the user provided ID.
|
void |
Attribute.setUpId(String upId,
AttributeType attributeType)
Set the user provided ID.
|
private void |
DefaultAttribute.setUpIdInternal(String upId,
String newId,
AttributeType attributeType) |
| Constructor and Description |
|---|
DefaultAttribute(AttributeType attributeType)
Create a new instance of a schema aware Attribute, without ID nor value.
|
DefaultAttribute(AttributeType attributeType,
Attribute attribute)
Creates a new instance of schema aware Attribute, by copying another attribute.
|
DefaultAttribute(AttributeType attributeType,
byte[]... vals)
Create a new instance of a schema aware Attribute, with some byte[] values.
|
DefaultAttribute(AttributeType attributeType,
String... vals)
Create a new instance of a schema aware Attribute, without ID but with some values.
|
DefaultAttribute(AttributeType attributeType,
String upId,
String normId,
boolean isHR,
int hashCode,
Value... values)
Create a new instance of a schema aware Attribute.
|
DefaultAttribute(AttributeType attributeType,
Value... vals)
Create a new instance of a schema aware Attribute, with some values.
|
DefaultAttribute(String upId,
AttributeType attributeType)
Create a new instance of a schema aware Attribute, without value.
|
DefaultAttribute(String upId,
AttributeType attributeType,
byte[]... vals)
Create a new instance of a schema aware Attribute, with some byte[] values, and
a user provided ID.
|
DefaultAttribute(String upId,
AttributeType attributeType,
String... vals)
Create a new instance of a schema aware Attribute, with some values, and a user provided ID.
|
DefaultAttribute(String upId,
AttributeType attributeType,
Value... vals)
Create a new instance of a schema aware Attribute, with some values, and a user provided ID.
If the value does not correspond to the same attributeType, then it's wrapped value is copied into a new Value which uses the specified attributeType. |
DefaultModification(ModificationOperation operation,
AttributeType attributeType)
Creates a new instance of DefaultModification with no value.
|
DefaultModification(ModificationOperation operation,
AttributeType attributeType,
byte[]... values)
Creates a new instance of DefaultModification.
|
DefaultModification(ModificationOperation operation,
AttributeType attributeType,
String... values)
Creates a new instance of DefaultModification.
|
DefaultModification(ModificationOperation operation,
AttributeType attributeType,
Value... values)
Creates a new instance of DefaultModification.
|
Value(AttributeType attributeType)
Creates a schema aware binary Value with an initial value.
|
Value(AttributeType attributeType,
byte[] upValue)
Creates a schema aware binary Value with an initial value.
|
Value(AttributeType attributeType,
String upValue)
Creates a schema aware StringValue with an initial user provided String value.
|
Value(AttributeType attributeType,
String upValue,
String normValue)
Creates a schema aware StringValue with an initial user provided String value and
its normalized Value
|
Value(AttributeType attributeType,
Value value)
Creates a Value from an existing Value with an AttributeType
|
| Modifier and Type | Field and Description |
|---|---|
protected AttributeType |
LeafNode.attributeType
attributeType on which this leaf is based
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
LeafNode.getAttributeType()
Gets the attributeType this leaf node is based on.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
LeafNode.escapeFilterValue(AttributeType attributeType,
byte[] value)
Handles the escaping of special characters in LDAP search filter assertion values using the
<valueencoding> rule as described in
RFC 4515.
|
void |
LeafNode.setAttributeType(AttributeType attributeType)
Sets the attributeType this leaf node is based on.
|
| Constructor and Description |
|---|
ApproximateNode(AttributeType attributeType,
Value value)
Creates a new ApproximateNode object.
|
EqualityNode(AttributeType attributeType,
Value value)
Creates a new Equality object.
|
ExtensibleNode(AttributeType attributeType)
Creates a new emptyExtensibleNode object.
|
ExtensibleNode(AttributeType attributeType,
Value value,
String matchingRuleId,
boolean dnAttributes)
Creates a new ExtensibleNode object.
|
GreaterEqNode(AttributeType attributeType,
Value value)
Creates a new GreaterOrEqual object.
|
LeafNode(AttributeType attributeType,
AssertionType assertionType)
Creates a leaf node.
|
LessEqNode(AttributeType attributeType,
Value value)
Creates a new LessEqNode object.
|
PresenceNode(AttributeType attributeType)
Creates a PresenceNode object based on an attribute.
|
SimpleNode(AttributeType attributeType,
byte[] bytes,
AssertionType assertionType)
Creates a new SimpleNode object.
|
SimpleNode(AttributeType attributeType,
Value value,
AssertionType assertionType)
Creates a new SimpleNode object.
|
SubstringNode(AttributeType attribute)
Creates a new SubstringNode object without any value
|
SubstringNode(AttributeType attributeType,
String initialPattern,
String finalPattern)
Creates a new SubstringNode object with only one wildcard and no internal
any fragments between wildcards.
|
SubstringNode(List<String> anyPattern,
AttributeType attributeType,
String initialPattern,
String finalPattern)
Creates a new SubstringNode object more than one wildcard and an any
list.
|
| Modifier and Type | Field and Description |
|---|---|
private AttributeType |
Ava.attributeType
The attributeType if the Ava is schemaAware
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
Ava.getAttributeType() |
| Constructor and Description |
|---|
Ava(AttributeType attributeType,
String upType,
String normType,
Value value,
String upName)
Construct an Ava.
|
| Modifier and Type | Field and Description |
|---|---|
private AttributeType |
AttributeTypeOptions.attributeType
The attributeType
|
protected AttributeType |
AttributeType.superior
The superior AttributeType
|
| Modifier and Type | Field and Description |
|---|---|
private List<AttributeType> |
MatchingRuleUse.applicableAttributes
The list of attributes types the matching rule applies to
|
protected List<AttributeType> |
ObjectClass.mayAttributeTypes
The list of allowed AttributeTypes
|
private List<AttributeType> |
NameForm.mayAttributeTypes
The set of allowed AttributeTypes for this name form
|
private List<AttributeType> |
DitContentRule.mayAttributeTypes
The list of allowed AttributeTypes
|
protected List<AttributeType> |
ObjectClass.mustAttributeTypes
The list of required AttributeTypes
|
private List<AttributeType> |
NameForm.mustAttributeTypes
The set of required AttributeTypes for this name form
|
private List<AttributeType> |
DitContentRule.mustAttributeTypes
The list of required AttributeTypes
|
private List<AttributeType> |
DitContentRule.notAttributeTypes
The list of precluded AttributeTypes
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
AttributeType.copy()
Copy the current SchemaObject on place
|
AttributeType |
AttributeTypeOptions.getAttributeType() |
AttributeType |
SchemaManager.getAttributeType(String oid)
Get an AttributeType in the AttributeType registry.
|
AttributeType |
AttributeType.getSuperior()
Gets the the superior AttributeType of this AttributeType.
|
AttributeType |
SchemaManager.lookupAttributeTypeRegistry(String oid)
Lookup for an AttributeType in the AttributeType registry
|
| Modifier and Type | Method and Description |
|---|---|
List<AttributeType> |
MatchingRuleUse.getApplicableAttributes() |
List<AttributeType> |
ObjectClass.getMayAttributeTypes() |
List<AttributeType> |
NameForm.getMayAttributeTypes()
Gets all the AttributeTypes of the attribute this NameForm specifies as
being useable without requirement in the given objectClass for naming: as
part of the Rdn.
|
List<AttributeType> |
DitContentRule.getMayAttributeTypes() |
List<AttributeType> |
ObjectClass.getMustAttributeTypes() |
List<AttributeType> |
NameForm.getMustAttributeTypes()
Gets all the AttributeTypes of the attributes this NameForm specifies as
having to be used in the given objectClass for naming: as part of the
Rdn.
|
List<AttributeType> |
DitContentRule.getMustAttributeTypes() |
List<AttributeType> |
DitContentRule.getNotAttributeTypes() |
static Iterable<AttributeType> |
SchemaObjectSorter.hierarchicalOrdered(List<AttributeType> attributeTypes)
Gets an hierarchical ordered
Iterable of the given AttributeTypes. |
| Modifier and Type | Method and Description |
|---|---|
void |
MatchingRuleUse.addApplicableAttribute(AttributeType attributeType)
Add a matchingRule's AttributeType the MRU applies to.
|
void |
ObjectClass.addMayAttributeTypes(AttributeType... attributeTypes)
Add some allowed AttributeTypes
|
void |
NameForm.addMayAttributeTypes(AttributeType attributeType)
Add an allowed AttributeType
|
void |
DitContentRule.addMayAttributeTypes(AttributeType attributeType)
Add an allowed AttributeType
|
void |
ObjectClass.addMustAttributeTypes(AttributeType... attributeTypes)
Add some required AttributeTypes
|
void |
NameForm.addMustAttributeTypes(AttributeType attributeType)
Add a required AttributeType
|
void |
DitContentRule.addMustAttributeTypes(AttributeType attributeType)
Add a required AttributeType
|
void |
DitContentRule.addNotAttributeTypes(AttributeType attributeType)
Add a precluded AttributeType
|
Entry |
AttributesFactory.convert(AttributeType attributeType,
Schema schema,
SchemaManager schemaManager)
objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.3
NAME 'metaAttributeType'
DESC 'meta definition of the AttributeType object'
SUP metaTop
STRUCTURAL
MUST ( m-name $ m-syntax )
MAY ( m-supAttributeType $ m-obsolete $ m-equality $ m-ordering $
m-substr $ m-singleValue $ m-collective $ m-noUserModification $
m-usage $ m-extensionAttributeType )
)
|
boolean |
AttributeType.isAncestorOf(AttributeType descendant)
Checks to see if this AttributeType is the ancestor of another
attributeType.
|
private boolean |
AttributeType.isAncestorOrEqual(AttributeType ancestor,
AttributeType descendant)
Recursive method which checks to see if a descendant is really an ancestor or if the two
are equal.
|
boolean |
AttributeType.isDescendantOf(AttributeType ancestor)
Checks to see if this AttributeType is the descendant of another
attributeType.
|
String |
SchemaObjectRenderer.render(AttributeType at)
Renders an attributeType according to the
Attribute Type Description Syntax 1.3.6.1.4.1.1466.115.121.1.3.
|
static StringBuilder |
SchemaUtils.render(AttributeType[] ats)
Renders a list of attributeTypes for things like the must or may list of
objectClasses using the ( oid $ oid ) format.
|
static StringBuilder |
SchemaUtils.render(StringBuilder buf,
AttributeType[] ats)
Renders a list of attributeTypes for things like the must or may list of
objectClasses using the ( oid $ oid ) format into an existing buffer.
|
void |
AttributeType.setSuperior(AttributeType superior)
Sets the superior for this AttributeType
|
| Modifier and Type | Method and Description |
|---|---|
static Iterable<AttributeType> |
SchemaObjectSorter.hierarchicalOrdered(List<AttributeType> attributeTypes)
Gets an hierarchical ordered
Iterable of the given AttributeTypes. |
void |
MatchingRuleUse.setApplicableAttributes(List<AttributeType> applicableAttributes)
Set the matchingRule's AttributeType the MRU applies to.
|
void |
ObjectClass.setMayAttributeTypes(List<AttributeType> mayAttributeTypes)
Sets the list of allowed AttributeTypes
|
void |
NameForm.setMayAttributeTypes(List<AttributeType> mayAttributeTypes)
Sets the list of allowed AttributeTypes
|
void |
DitContentRule.setMayAttributeTypes(List<AttributeType> mayAttributeTypes)
Sets the list of allowed AttributeTypes
|
void |
ObjectClass.setMustAttributeTypes(List<AttributeType> mustAttributeTypes)
Sets the list of required AttributeTypes
|
void |
NameForm.setMustAttributeTypes(List<AttributeType> mustAttributeTypes)
Sets the list of required AttributeTypes
|
void |
DitContentRule.setMustAttributeTypes(List<AttributeType> mustAttributeTypes)
Sets the list of required AttributeTypes
|
void |
DitContentRule.setNotAttributeTypes(List<AttributeType> notAttributeTypes)
Sets the list of precluded AttributeTypes
|
| Constructor and Description |
|---|
AttributeTypeOptions(AttributeType attributeType)
Creates a new instance of AttributeTypeOptions, containing an attributeType,
but no options.
|
AttributeTypeOptions(AttributeType attributeType,
Set<String> options)
Creates a new instance of AttributeTypeOptions, containing an attributeType,
and options.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
NameComponentNormalizer.normalizeByName(AttributeType attributeType,
String value)
Normalizes an attribute's value given the name of the attribute - short
names like 'cn' as well as 'commonName' should work here.
|
Object |
ConcreteNameComponentNormalizer.normalizeByName(AttributeType attributeType,
String value)
Normalizes an attribute's value given the name of the attribute - short
names like 'cn' as well as 'commonName' should work here.
|
| Modifier and Type | Field and Description |
|---|---|
private List<AttributeType> |
OpenLdapSchemaParser.attributeTypes
The list of attribute type, initialized by splitParsedSchemaDescriptions()
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
AttributeTypeDescriptionSchemaParser.parse(String attributeTypeDescription)
Parses a attribute type description according to RFC 4512:
|
AttributeType |
OpenLdapSchemaParser.parseAttributeType(String attributeTypeDescription)
Production for matching attribute type descriptions.
|
private static AttributeType |
OpenLdapSchemaParser.parseAttributeTypeRelaxed(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching attribute type descriptions.
|
private static AttributeType |
OpenLdapSchemaParser.parseAttributeTypeStrict(Reader reader,
OpenLdapSchemaParser.PosSchema pos,
Map<String,OpenLdapObjectIdentifierMacro> objectIdentifierMacros)
Production for matching attribute type descriptions.
|
| Modifier and Type | Method and Description |
|---|---|
List<AttributeType> |
OpenLdapSchemaParser.getAttributeTypes()
Gets the attribute types.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ParserDescriptionUtils.attributeTypesMatch(AttributeType at0,
AttributeType at1)
Checks two schema attributeTypes for an exact match.
|
private static void |
OpenLdapSchemaParser.getNoidLenRelaxed(AttributeType attributeType,
OpenLdapSchemaParser.PosSchema pos)
noidlen = oidRelaxed [ LCURLY len RCURLY ]
|
private static void |
OpenLdapSchemaParser.getNoidLenStrict(AttributeType attributeType,
OpenLdapSchemaParser.PosSchema pos)
noidlen = oidStrict [ LCURLY len RCURLY ]
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,Set<AttributeType>> |
DefaultAttributeTypeRegistry.oidToDescendantSet
maps OIDs to a Set of descendants for that OID
|
| Modifier and Type | Method and Description |
|---|---|
AttributeType |
ImmutableAttributeTypeRegistry.get(String oid)
Gets the SchemaObject associated with a given OID.
|
AttributeType |
DefaultAttributeTypeRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
AttributeType |
ImmutableAttributeTypeRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
AttributeType |
ImmutableAttributeTypeRegistry.unregister(AttributeType schemaObject)
Removes the SchemaObject registered with this registry.
|
AttributeType |
DefaultAttributeTypeRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
AttributeType |
ImmutableAttributeTypeRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<AttributeType> |
DefaultAttributeTypeRegistry.descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
ImmutableAttributeTypeRegistry.descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
AttributeTypeRegistry.descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
DefaultAttributeTypeRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
ImmutableAttributeTypeRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
AttributeTypeRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
private List<AttributeType> |
Registries.getMustRecursive(List<AttributeType> musts,
Set<ObjectClass> processed,
ObjectClass objectClass) |
Iterator<AttributeType> |
ImmutableAttributeTypeRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultAttributeTypeRegistry.addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer map
|
void |
ImmutableAttributeTypeRegistry.addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer map
|
void |
AttributeTypeRegistry.addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer map
|
void |
Registries.delCrossReferences(AttributeType attributeType)
Add the SchemaObjectReferences.
|
Iterator<AttributeType> |
DefaultAttributeTypeRegistry.descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
ImmutableAttributeTypeRegistry.descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
AttributeTypeRegistry.descendants(AttributeType ancestor)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
boolean |
DefaultAttributeTypeRegistry.hasDescendants(AttributeType ancestor)
Quick lookup to see if an attribute has descendants.
|
boolean |
ImmutableAttributeTypeRegistry.hasDescendants(AttributeType ancestor)
Quick lookup to see if an attribute has descendants.
|
boolean |
AttributeTypeRegistry.hasDescendants(AttributeType ancestor)
Quick lookup to see if an attribute has descendants.
|
void |
ImmutableAttributeTypeRegistry.register(AttributeType attributeType)
Registers a new SchemaObject with this registry.
|
void |
DefaultAttributeTypeRegistry.registerDescendants(AttributeType attributeType,
AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its
descendants.
|
void |
ImmutableAttributeTypeRegistry.registerDescendants(AttributeType attributeType,
AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its
descendants.
|
void |
AttributeTypeRegistry.registerDescendants(AttributeType attributeType,
AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its
descendants.
|
void |
DefaultAttributeTypeRegistry.removeMappingFor(AttributeType attributeType)
Remove the AttributeType normalizer from the OidNormalizer map
|
void |
ImmutableAttributeTypeRegistry.removeMappingFor(AttributeType attributeType)
Remove a new Oid/Normalizer couple in the OidNormalizer map
|
void |
AttributeTypeRegistry.removeMappingFor(AttributeType attributeType)
Remove a new Oid/Normalizer couple in the OidNormalizer map
|
private void |
Registries.resolve(AttributeType attributeType)
Check the inheritance, and the existence of MatchingRules and LdapSyntax
for an attribute
|
private void |
Registries.resolveRecursive(AttributeType attributeType,
Set<String> processed)
Check AttributeType referential integrity
|
AttributeType |
ImmutableAttributeTypeRegistry.unregister(AttributeType schemaObject)
Removes the SchemaObject registered with this registry.
|
void |
DefaultAttributeTypeRegistry.unregisterDescendants(AttributeType attributeType,
AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its
descendants.
|
void |
ImmutableAttributeTypeRegistry.unregisterDescendants(AttributeType attributeType,
AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its
descendants.
|
void |
AttributeTypeRegistry.unregisterDescendants(AttributeType attributeType,
AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its
descendants.
|
| Modifier and Type | Method and Description |
|---|---|
private List<AttributeType> |
Registries.getMustRecursive(List<AttributeType> musts,
Set<ObjectClass> processed,
ObjectClass objectClass) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AttributeTypeHelper.addToRegistries(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Inject the AttributeType into the Registries, updating the references to
other SchemaObject
If one of the referenced SchemaObject does not exist (SUP, EQUALITY, ORDERING, SUBSTR, SYNTAX),
an exception is thrown.
|
private static void |
AttributeTypeHelper.buildEquality(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Build the EQUALITY MR reference for an AttributeType
|
private static void |
AttributeTypeHelper.buildOrdering(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Build the ORDERING MR reference for an AttributeType
|
private static void |
AttributeTypeHelper.buildSubstring(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Build the SUBSTR MR reference for an AttributeType
|
private static boolean |
AttributeTypeHelper.buildSuperior(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Build the Superior AttributeType reference for an AttributeType
|
private static void |
AttributeTypeHelper.buildSyntax(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Build the SYNTAX reference for an AttributeType
|
private static void |
AttributeTypeHelper.checkCollective(AttributeType attributeType,
SchemaErrorHandler errorHandler)
Check the constraints for the Collective field.
|
private static void |
AttributeTypeHelper.checkUsage(AttributeType attributeType,
SchemaErrorHandler errorHandler)
Check the constraints for the Usage field.
|
static void |
AttributeTypeHelper.removeFromRegistries(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Remove the AttributeType from the registries, updating the references to
other SchemaObject.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) AttributeType |
AntlrSubtreeSpecificationParser.OBJECT_CLASS_AT
The ObjectClass AT
|
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.