org.rr0.im.business.actor
Class GroupImpl

org.rr0.im.business.event.TimeableImpl
  |
  +--org.rr0.im.business.actor.ActorImpl
        |
        +--org.rr0.im.business.actor.GroupImpl
Direct Known Subclasses:
OrganizationImpl

public class GroupImpl
extends ActorImpl
implements Group

Group Reference Implementation.

Author:
Jérôme Beau
Version: 19 juil. 2003 16:37:19

Field Summary
 private Vectormembers
           

Fields inherited from class org.rr0.im.business.event.TimeableImpl
history

Constructor Summary
GroupImpl(Identity identity)
           

Method Summary
 booleanaddMember(Principal user)
           
 StringgetName()
           
 booleanisMember(Principal member)
           
 Enumerationmembers()
           
 booleanremoveMember(Principal user)
           

Methods inherited from class org.rr0.im.business.actor.ActorImpl
addIdentity, getForcedCategory, getIdentities

Methods inherited from class org.rr0.im.business.event.TimeableImpl
compareTo, equals, getBegining, getDuration, getEnd, getHistory, getTitle, hashCode, setEndMoment, setTitle

Field Detail

members

private Vector members
Constructor Detail

GroupImpl

public GroupImpl(Identity identity)
Method Detail

addMember

public boolean addMember(Principal user)

getName

public String getName()

isMember

public boolean isMember(Principal member)

members

public Enumeration members()
Returns: A collection of Actors.
associates <{org.rr0.im.business.actor.Actor}>
link aggregation
supplierRole members
supplierCardinality 1..*

removeMember

public boolean removeMember(Principal user)

Association Links

to Class java.util.Vector

to Class org.rr0.im.business.actor.Actor

Supplier Role members
Supplier Cardinality 1..*
Type aggregation
associates <{org.rr0.im.business.actor.Actor}>
return A collection of Actors.