org.apache.directory.shared.ldap.aci
Class ProtectedItem.MaxValueCountItem

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.ProtectedItem.MaxValueCountItem
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ProtectedItem

public static class ProtectedItem.MaxValueCountItem
extends java.lang.Object
implements java.io.Serializable

An element of MaxValueCount.

See Also:
Serialized Form

Constructor Summary
ProtectedItem.MaxValueCountItem(java.lang.String attributeType, int maxCount)
          Creates a new instance.
 
Method Summary
 java.lang.String getAttributeType()
          Returns the attribute ID to limit the maximum count.
 int getMaxCount()
          Returns the maximum count of the attribute allowed.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtectedItem.MaxValueCountItem

public ProtectedItem.MaxValueCountItem(java.lang.String attributeType,
                                       int maxCount)
Creates a new instance.

Parameters:
attributeType - the attribute ID to limit the maximum count
maxCount - the maximum count of the attribute allowed
Method Detail

getAttributeType

public java.lang.String getAttributeType()
Returns the attribute ID to limit the maximum count.


getMaxCount

public int getMaxCount()
Returns the maximum count of the attribute allowed.


toString

public java.lang.String toString()


Copyright © 2003-2006 . All Rights Reserved.