public class MaxValueCountElem extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.schema.AttributeType |
attributeType
The targeted AttributeType
|
private int |
maxCount
The maximum number of accepted values for this attributeType
|
| Constructor and Description |
|---|
MaxValueCountElem(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
int maxCount)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.apache.directory.api.ldap.model.schema.AttributeType |
getAttributeType()
Gets the attribute to limit the maximum count.
|
int |
getMaxCount()
Gets the maximum count of the attribute allowed.
|
int |
hashCode() |
String |
toString() |
private org.apache.directory.api.ldap.model.schema.AttributeType attributeType
private int maxCount
public MaxValueCountElem(org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
int maxCount)
attributeType - the attribute ID to limit the maximum countmaxCount - the maximum count of the attribute allowedpublic org.apache.directory.api.ldap.model.schema.AttributeType getAttributeType()
public int getMaxCount()
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.