org.apache.directory.api.ldap.aci.protectedItem
Class AbstractAttributeTypeProtectedItem

java.lang.Object
  extended by org.apache.directory.api.ldap.aci.ProtectedItem
      extended by 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)


Field Summary
protected  Set<org.apache.directory.api.ldap.model.schema.AttributeType> attributeTypes
          The 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
protected AbstractAttributeTypeProtectedItem(Set<org.apache.directory.api.ldap.model.schema.AttributeType> attributeTypes)
          Creates a new instance.
 
Method Summary
 boolean equals(Object o)
          
 int hashCode()
          
 Iterator<org.apache.directory.api.ldap.model.schema.AttributeType> iterator()
          Gets an iterator of all attribute types.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeTypes

protected final Set<org.apache.directory.api.ldap.model.schema.AttributeType> attributeTypes
The attribute types.

Constructor Detail

AbstractAttributeTypeProtectedItem

protected AbstractAttributeTypeProtectedItem(Set<org.apache.directory.api.ldap.model.schema.AttributeType> attributeTypes)
Creates a new instance.

Parameters:
attributeTypes - the collection of attribute IDs
Method Detail

iterator

public Iterator<org.apache.directory.api.ldap.model.schema.AttributeType> iterator()
Gets an iterator of all attribute types.

Returns:
the iterator of all attribute types

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object o)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.