org.dbe.eve.simulator
Class GroupedService
java.lang.Object
org.dbe.eve.simulator.AbstractService
org.dbe.eve.simulator.Service
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
|
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)
|
| 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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
groupID
private int groupID
GroupedService
public GroupedService(Service s,
int gid)
- constructs an GroupedService with a vector of attributes, an ID and
a groupID
- Parameters:
attributes - vector of attributesID - service idgRoupID - id for sme grouping
GroupedService
public GroupedService(java.util.Vector attributes,
int ID,
int gRoupID)
getGroupID
public int getGroupID()
setGroupID
public void setGroupID(int groupID)