|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dbe.eve.simulator.DemandedAndUsedServicePoolElement
public class DemandedAndUsedServicePoolElement
The DemandedAndUsedServicePoolElements are representing the elements of the DemandedAndUsedServicePool. Each DemandedAndUsedServicePoolElement consists of an activity flag, an DemandedService and maybe an UsedService which fit to the DemandedService as well as the UsedService population migrationHistory.
Field Summary | |
---|---|
(package private) boolean |
active
|
(package private) DemandedService |
demService
|
(package private) java.util.Vector |
migationHistory
|
(package private) Service |
usedService
|
Constructor Summary | |
---|---|
DemandedAndUsedServicePoolElement(DemandedService demService)
Constructor |
Method Summary | |
---|---|
DemandedService |
getDemandedService()
return the DemandedService of the DemandedAndUsedServicePoolElement |
java.util.Vector |
getMigrationHistory()
return the UsedServices population MigrationHistory |
Service |
getUsedService()
return the UsedService of the DemandedAndUsedServicePoolElement |
boolean |
isActive()
return true if this DemandedAndUsedServicePoolElement is active otherwise false |
boolean |
removeUsedService()
removes the DemandedAndUsedServicePoolElements UsedService |
void |
setInactive()
sets the DemandedAndUsedServicePoolElement Inactive |
void |
setMigrationHistory(java.util.Vector val)
sets the UsedServices population MigrationHistory |
void |
setUsedService(Service usedService)
sets the UsedService of the DemandedAndUsedServicePoolElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
boolean active
DemandedService demService
Service usedService
java.util.Vector migationHistory
Constructor Detail |
---|
public DemandedAndUsedServicePoolElement(DemandedService demService)
demService
- represents the DemandedServiceMethod Detail |
---|
public void setInactive()
public void setUsedService(Service usedService)
usedService
- public void setMigrationHistory(java.util.Vector val)
val
- public java.util.Vector getMigrationHistory()
public boolean removeUsedService()
public Service getUsedService()
public DemandedService getDemandedService()
public boolean isActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |