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

java.lang.Object
  extended by org.apache.directory.api.ldap.aci.protectedItem.RestrictedByElem

public class RestrictedByElem
extends Object

An element of RestrictedByItem.


Constructor Summary
RestrictedByElem(org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.schema.AttributeType valuesIn)
          Creates a new instance.
 
Method Summary
 boolean equals(Object o)
          
 org.apache.directory.api.ldap.model.schema.AttributeType getAttributeType()
          Gets the attribute type to restrict.
 org.apache.directory.api.ldap.model.schema.AttributeType getValuesIn()
          Gets the attribute type only whose values are allowed in attributeType.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestrictedByElem

public RestrictedByElem(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
                        org.apache.directory.api.ldap.model.schema.AttributeType valuesIn)
Creates a new instance.

Parameters:
attributeType - the attribute type to restrict
valuesIn - the attribute type only whose values are allowed in attributeType.
Method Detail

getAttributeType

public org.apache.directory.api.ldap.model.schema.AttributeType getAttributeType()
Gets the attribute type to restrict.

Returns:
the attribute type

getValuesIn

public org.apache.directory.api.ldap.model.schema.AttributeType getValuesIn()
Gets the attribute type only whose values are allowed in attributeType.

Returns:
the list of allowed AttributeType values

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.