org.dbe.eve.simulator
Class GroupedService

java.lang.Object
  extended by org.dbe.eve.simulator.AbstractService
      extended by org.dbe.eve.simulator.Service
          extended by org.dbe.eve.simulator.GroupedService
All Implemented Interfaces:
java.lang.Cloneable

public class GroupedService
extends Service

extends the class Service in order to implement grouped Services for SME grouping

Since:
23th of November 2006
Author:
Christoph Adelberger

Field Summary
private  int groupID
           
 
Fields inherited from class org.dbe.eve.simulator.AbstractService
attributes, ID, logger
 
Constructor Summary
GroupedService(Service s, int gid)
          constructs an GroupedService with a vector of attributes, an ID and a groupID
GroupedService(java.util.Vector attributes, int ID, int gRoupID)
           
 
Method Summary
 int getGroupID()
           
 void setGroupID(int groupID)
           
 
Methods inherited from class org.dbe.eve.simulator.Service
clone, getAsXMLElement, getColor, getCurrentUsefullness, getMigrationPath, getNumberOfHops, getNumberOfUselessHops, getOwnerSME, getPosition, getProviderSME, getSMEsWhereServiceWasUseful, setColor, setOwnerSME, setPosition, setProviderSME
 
Methods inherited from class org.dbe.eve.simulator.AbstractService
addAttribute, compareTo, getAttributes, getServiceID, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

groupID

private int groupID
Constructor Detail

GroupedService

public GroupedService(Service s,
                      int gid)
constructs an GroupedService with a vector of attributes, an ID and a groupID

Parameters:
attributes - vector of attributes
ID - service id
gRoupID - id for sme grouping

GroupedService

public GroupedService(java.util.Vector attributes,
                      int ID,
                      int gRoupID)
Method Detail

getGroupID

public int getGroupID()

setGroupID

public void setGroupID(int groupID)