org.openpermis.policy.bean.basic
Class BasicObligationCollection
java.lang.Object
org.openpermis.policy.bean.basic.BasicPart
org.openpermis.policy.bean.basic.BasicPartBean
org.openpermis.policy.bean.basic.BasicAbstractCollection<ObligationBean>
org.openpermis.policy.bean.basic.BasicObligationCollection
- All Implemented Interfaces:
- Serializable, Iterable<ObligationBean>, BeanCollection<ObligationBean>, ObligationBeanCollection, PartBean, ObligationCollection, Part
public class BasicObligationCollection
- extends BasicAbstractCollection<ObligationBean>
- implements ObligationBeanCollection
Basic implementation of BasicObligationCollection
.
- See Also:
- Serialized Form
- Since:
- 0.3.0
Methods inherited from class org.openpermis.policy.bean.basic.BasicPart |
appendDetails, equals, getIdentity, getName, getSimpleClassName, hashCode, hasPartIdentity, hasPartName, isChildCollectionValid, isChildNotNull, isChildNullOrValid, isChildValid, isIdentityValid, isNameValid, isValid, reportProblem, setIdentity, setName, toString |
serialVersionUID
private static final long serialVersionUID
- Constant Field Value:
-956620427014379243L
BasicObligationCollection
protected BasicObligationCollection(SerialNumber serialNumber)
- Creates a basic obligation collection.
- Parameters:
serialNumber
- the serial number of this part.- Since:
- 0.3.0
BasicObligationCollection
protected BasicObligationCollection(SerialNumber serialNumber,
Collection<ObligationBean> collection)
- Creates a basic obligation collection.
- Parameters:
serialNumber
- the serial number of this part.collection
- a collection of ObligationBean
's.- Since:
- 0.3.0
getObligationStrings
public Set<String> getObligationStrings()
- Description copied from interface:
ObligationCollection
- Returns a set of obligations strings. The set may be empty but never be
null
.
- Specified by:
getObligationStrings
in interface ObligationCollection
- Returns:
- the set of obligations strings.
- Since:
- 0.3.0
isCollectionType
protected boolean isCollectionType(BasicPart part)
- Description copied from class:
BasicAbstractCollection
- Returns true if collection type of part is an instance of this collection.
- Specified by:
isCollectionType
in class BasicAbstractCollection<ObligationBean>
- Parameters:
part
- a BasicPart
.
- Returns:
- true if collection type of part is an instance of this collection.
- Since:
- 0.3.0
create
public BasicObligationCollection create(List<ObligationBean> list)
- Description copied from interface:
BeanCollection
- Returns a new bean collection containing the list.
- Specified by:
create
in interface BeanCollection<ObligationBean>
- Parameters:
list
- a List
.
- Returns:
- a new bean collection containing the list.
- Since:
- 0.3.0
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG