Class MaxValueCountElem
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.protectedItem.MaxValueCountElem
-
public class MaxValueCountElem extends Object
An element of MaxValueCount.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description MaxValueCountElem(AttributeType attributeType, int maxCount)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AttributeType
getAttributeType()
Gets the attribute to limit the maximum count.int
getMaxCount()
Gets the maximum count of the attribute allowed.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
MaxValueCountElem
public MaxValueCountElem(AttributeType attributeType, int maxCount)
Creates a new instance.- Parameters:
attributeType
- the attribute ID to limit the maximum countmaxCount
- the maximum count of the attribute allowed
-
-
Method Detail
-
getAttributeType
public AttributeType getAttributeType()
Gets the attribute to limit the maximum count.- Returns:
- the attribute type
-
getMaxCount
public int getMaxCount()
Gets the maximum count of the attribute allowed.- Returns:
- the maximum count of the attribute allowed
-
-