Hi Lakshmi,

- isSingleValued() indicates whether the AttributeType only holds a single 
value.
- isCollective() indicates whether the AttributeType is a "Collective" 
attribute.

You can find more information about collective attributes here:
- http://tools.ietf.org/html/rfc3671
- https://cwiki.apache.org/DIRxSRVx10/collective-attributes.html

Regards,
Pierre-Arnaud


On 27 avr. 2011, at 15:41, Lakshmi B wrote:

> Hi,
> 
> The org.apache.directory.shared.ldap.model.schema.AttributeType class is 
> having two data members or properties named as isSingleValued, and 
> isCollective. The names are specifying that they are used to indicate whether 
> the attribute holds a single value or multiple values. 
> 
> But there is no need to declare two members to indicate whether the 
> AttributeType is single valued or collective.
> There may be some difference between these two, but I am unable to understand 
> that difference.
> 
> Any one can help me to know the difference between these two members 
> (isSingleValued and isCollective)?
> 
> 
> 
> 
> -- 
>        Thanks & Regards
> 
>    LakshmiRambabu. D
>           (Lakshmi. B)
> 
> 
> 
> 

Reply via email to