|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.policy.bean.basic.BasicPart
org.openpermis.policy.bean.basic.BasicPartBean
org.openpermis.policy.bean.basic.BasicAbstractCollection<TargetBean>
org.openpermis.policy.bean.basic.BasicTargetCollection
public class BasicTargetCollection
Basic implementation of TargetBeanCollection
.
Constructor Summary | |
---|---|
protected |
BasicTargetCollection(SerialNumber serialNumber)
Creates a basic target collection. |
protected |
BasicTargetCollection(SerialNumber serialNumber,
Collection<TargetBean> collection)
Creates a basic target collection. |
Method Summary | |
---|---|
boolean |
contains(Target target)
Returns true if target is contained in this collection. |
BasicTargetCollection |
create(List<TargetBean> list)
Returns a new bean collection containing the list. |
protected boolean |
isCollectionType(BasicPart part)
Returns true if collection type of part is an instance of this collection. |
Methods inherited from class org.openpermis.policy.bean.basic.BasicAbstractCollection |
---|
appendPartDetails, comparablePart, equalPart, findBySerialNumber, getCollection, isPartValid, iterator, partHashCode, toList |
Methods inherited from class org.openpermis.policy.bean.basic.BasicPartBean |
---|
addPropertyChangeListener, equalSerialNumber, firePropertyChange, getPartBeanType, getSerialNumber, getSerialNumberString, notifyIdentityChange, notifyNameChange, removePropertyChangeListener, toShortString |
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openpermis.policy.bean.BeanCollection |
---|
iterator, toList |
Methods inherited from interface org.openpermis.policy.bean.PartBean |
---|
addPropertyChangeListener, equalSerialNumber, findBySerialNumber, getPartBeanType, getSerialNumber, removePropertyChangeListener, toShortString |
Constructor Detail |
---|
protected BasicTargetCollection(SerialNumber serialNumber)
serialNumber
- the serial number of this part.protected BasicTargetCollection(SerialNumber serialNumber, Collection<TargetBean> collection)
serialNumber
- the serial number of this part.collection
- a collection of TargetBean
's.Method Detail |
---|
protected boolean isCollectionType(BasicPart part)
BasicAbstractCollection
isCollectionType
in class BasicAbstractCollection<TargetBean>
part
- a BasicPart
.
public boolean contains(Target target)
TargetCollection
contains
in interface TargetCollection
target
- the target.
public BasicTargetCollection create(List<TargetBean> list)
BeanCollection
create
in interface BeanCollection<TargetBean>
list
- a List
.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG