Magentix2  2.1.1
es.upv.dsic.gti_ia.argAgents.knowledgeResources.Group Class Reference
Inheritance diagram for es.upv.dsic.gti_ia.argAgents.knowledgeResources.Group:
Collaboration diagram for es.upv.dsic.gti_ia.argAgents.knowledgeResources.Group:

List of all members.

Public Member Functions

 Group (long id, String name, ValPref valpref, ArrayList< SocialEntity > agents)
 Group ()
ArrayList< SocialEntitygetMembers ()
void addMember (SocialEntity newMember)
void removeMember (SocialEntity oldMember)
void setMembers (ArrayList< SocialEntity > newMembers)

Detailed Description

Implementation of the concept Group

Definition at line 12 of file Group.java.


Constructor & Destructor Documentation

es.upv.dsic.gti_ia.argAgents.knowledgeResources.Group.Group ( long  id,
String  name,
ValPref  valpref,
ArrayList< SocialEntity agents 
)

Definition at line 20 of file Group.java.

                                                                                        {
        super(id, name, "",null,valpref);
        this.agents = agents;
    }

Definition at line 26 of file Group.java.

                   {
        agents = new ArrayList<SocialEntity>();
    }

Member Function Documentation

Definition at line 38 of file Group.java.

                                                  {
        agents.add(newMember);
    }

Definition at line 32 of file Group.java.

                                                {
        return agents;
    }

Definition at line 43 of file Group.java.

                                                     {
        agents.remove(oldMember);
    }

Definition at line 48 of file Group.java.

                                                               {
        agents = newMembers;
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables