Class AbstractAttributeTypeProtectedItem
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ProtectedItem
-
- org.apache.directory.api.ldap.aci.protectedItem.AbstractAttributeTypeProtectedItem
-
- Direct Known Subclasses:
AllAttributeValuesItem,AttributeTypeItem,SelfValueItem
public abstract class AbstractAttributeTypeProtectedItem extends ProtectedItem
A base class for all items which protects attribute types (or its values)- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<AttributeType>attributeTypesThe attribute types.-
Fields inherited from class org.apache.directory.api.ldap.aci.ProtectedItem
ALL_USER_ATTRIBUTE_TYPES, ALL_USER_ATTRIBUTE_TYPES_AND_VALUES, ENTRY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAttributeTypeProtectedItem(Set<AttributeType> attributeTypes)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Iterator<AttributeType>iterator()Gets an iterator of all attribute types.StringtoString()
-
-
-
Field Detail
-
attributeTypes
protected final Set<AttributeType> attributeTypes
The attribute types.
-
-
Constructor Detail
-
AbstractAttributeTypeProtectedItem
protected AbstractAttributeTypeProtectedItem(Set<AttributeType> attributeTypes)
Creates a new instance.- Parameters:
attributeTypes- the collection of attribute IDs
-
-
Method Detail
-
iterator
public Iterator<AttributeType> iterator()
Gets an iterator of all attribute types.- Returns:
- the iterator of all attribute types
-
-