org.openpermis.policy.bean.basic
Class BasicRoleHierarchyCollection

java.lang.Object
  extended by org.openpermis.policy.bean.basic.BasicPart
      extended by org.openpermis.policy.bean.basic.BasicPartBean
          extended by org.openpermis.policy.bean.basic.BasicAbstractCollection<RoleHierarchyBean>
              extended by org.openpermis.policy.bean.basic.BasicRoleHierarchyCollection
All Implemented Interfaces:
Serializable, Iterable<RoleHierarchyBean>, BeanCollection<RoleHierarchyBean>, PartBean, RoleHierarchyBeanCollection, Part, RoleHierarchyCollection

public class BasicRoleHierarchyCollection
extends BasicAbstractCollection<RoleHierarchyBean>
implements RoleHierarchyBeanCollection

Basic implementation of RoleHierarchyBeanCollection.

See Also:
Serialized Form
Since:
0.3.0

Constructor Summary
protected BasicRoleHierarchyCollection(SerialNumber serialNumber)
          Creates a basic role hierarchy collection.
protected BasicRoleHierarchyCollection(SerialNumber serialNumber, Collection<RoleHierarchyBean> collection)
          Creates a basic role hierarchy collection.
 
Method Summary
 BasicRoleHierarchyCollection create(List<RoleHierarchyBean> 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

BasicRoleHierarchyCollection

protected BasicRoleHierarchyCollection(SerialNumber serialNumber)
Creates a basic role hierarchy collection.

Parameters:
serialNumber - the serial number of this part.
Since:
0.3.0

BasicRoleHierarchyCollection

protected BasicRoleHierarchyCollection(SerialNumber serialNumber,
                                       Collection<RoleHierarchyBean> collection)
Creates a basic role hierarchy collection.

Parameters:
serialNumber - the serial number of this part.
collection - a collection of RoleHierarchyBean's.
Since:
0.3.0
Method Detail

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<RoleHierarchyBean>
Parameters:
part - a BasicPart.
Returns:
true if collection type of part is an instance of this collection.
Since:
0.3.0

create

public BasicRoleHierarchyCollection create(List<RoleHierarchyBean> list)
Description copied from interface: BeanCollection
Returns a new bean collection containing the list.

Specified by:
create in interface BeanCollection<RoleHierarchyBean>
Parameters:
list - a List.
Returns:
a new bean collection containing the list.
Since:
0.3.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:10
Copyright (c) 2002-2007 Ergon Informatik AG