Package com.iplanet.services.ldap.aci
Class QualifiedCollection
- java.lang.Object
-
- com.iplanet.services.ldap.aci.QualifiedCollection
-
public class QualifiedCollection extends Object
Class that wraps a collection and a boolean flag Used to represent ACI target attributes and ACI permissions. The boolean flag indicates whether the target attributes ( or the permissions ) are exclusive or inclusive
-
-
Constructor Summary
Constructors Constructor Description QualifiedCollection(Collection collection, boolean exclusive)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Clones this objectboolean
equals(Object object)
Compares whether the passed object is equal to this object semantically.Collection
getCollection()
Gets the collection of valuesboolean
isExclusive()
Gets the value of the exclusive flagvoid
setCollection(Collection collection)
Sets the collection of valuesvoid
setExclusive(boolean exclusive)
Sets the exclusive flag
-
-
-
Constructor Detail
-
QualifiedCollection
public QualifiedCollection(Collection collection, boolean exclusive)
Constructor- Parameters:
collection
- the collections of values.exclusive
- the boolean flag indicating whether the values are excluisive or inclusive.
-
-
Method Detail
-
equals
public boolean equals(Object object)
Compares whether the passed object is equal to this object semantically. The objects are considered equal if they have the same collection of values, and the same value of exclusive flag
-
clone
public Object clone()
Clones this object
-
setCollection
public void setCollection(Collection collection)
Sets the collection of values- Parameters:
collection
- the collection of values
-
getCollection
public Collection getCollection()
Gets the collection of values- Returns:
- the collection of values
-
setExclusive
public void setExclusive(boolean exclusive)
Sets the exclusive flag- Parameters:
exclusive
- value of exclusive flag
-
isExclusive
public boolean isExclusive()
Gets the value of the exclusive flag- Returns:
- the value of the exclusive flag
-
-