org.dbe.eve
Class EvEService

java.lang.Object
  extended by org.dbe.eve.EvEService
All Implemented Interfaces:
java.io.Serializable

public class EvEService
extends java.lang.Object
implements java.io.Serializable

The EvEService is the individuals within the Digital Ecosystem. They are light-weight entities consisting of a description and a reference to the DBE service they represent.

See Also:
Serialized Form

Field Summary
(package private)  int usageCounter
           
 
Constructor Summary
EvEService()
          Empty constructor.
EvEService(java.lang.String smid)
          Creates a new Object (representation of a real service with this identifier)
 
Method Summary
 java.util.Vector getCharacteristics()
          Deprecated. remove after enabling sbvr
 java.lang.String getHomeHabitatId()
          The ID of the HomeHabitat of this service.
 java.util.Vector getMigrationHistory()
          The Migration History of this service
 java.lang.String getModel()
           
 SBVRDescription getSbvr()
           
 java.lang.String getServiceManifest()
           
 java.lang.String getServiceName()
           
 java.lang.String getSmId()
           
 int getUsageCounter()
           
 void setCharacteristics(java.util.Vector characteristics)
          Deprecated. remove after enabling sbvr
 void setHomeHabitatId(java.lang.String homeHabitatId)
          This should relate to @see org.dbe.eve.HabitatService#getId()
 void setMigrationHistory(java.util.Vector migrationHistory)
           
 void setModel(java.lang.String model)
           
 void setSbvr(SBVRDescription sbvr)
           
 void setServiceManifest(java.lang.String serviceManifest)
           
 void setServiceName(java.lang.String serviceName)
           
 void setSmId(java.lang.String smid)
           
 void setUsageCounter(int usageCounter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usageCounter

int usageCounter
Constructor Detail

EvEService

public EvEService()
Empty constructor. Needed for serialization


EvEService

public EvEService(java.lang.String smid)
Creates a new Object (representation of a real service with this identifier)

Parameters:
smid - service identifier
Method Detail

getSmId

public java.lang.String getSmId()
Returns:
Returns the smid.

setSmId

public void setSmId(java.lang.String smid)
Parameters:
smid - The sm_id is the reference to the "real-world" implementation of this service

getModel

public java.lang.String getModel()
Returns:
Returns the model.

setModel

public void setModel(java.lang.String model)
Parameters:
model - The model to set.

getCharacteristics

public java.util.Vector getCharacteristics()
Deprecated. remove after enabling sbvr

Returns:
java.util.Vector Returns the characteristics.

setCharacteristics

public void setCharacteristics(java.util.Vector characteristics)
Deprecated. remove after enabling sbvr

Parameters:
characteristics - The characteristics to set.

getHomeHabitatId

public java.lang.String getHomeHabitatId()
The ID of the HomeHabitat of this service. The home habitat is the habitat, where this service has been deployed first.


setHomeHabitatId

public void setHomeHabitatId(java.lang.String homeHabitatId)
This should relate to @see org.dbe.eve.HabitatService#getId()

Parameters:
homeHabitatId - The ID of the HomeHabitat

getMigrationHistory

public java.util.Vector getMigrationHistory()
The Migration History of this service

Returns:
A Vector of the id's of the habitats this service has been

setMigrationHistory

public void setMigrationHistory(java.util.Vector migrationHistory)

getUsageCounter

public int getUsageCounter()

setUsageCounter

public void setUsageCounter(int usageCounter)

getServiceName

public java.lang.String getServiceName()

setServiceName

public void setServiceName(java.lang.String serviceName)

getSbvr

public SBVRDescription getSbvr()

setSbvr

public void setSbvr(SBVRDescription sbvr)

getServiceManifest

public java.lang.String getServiceManifest()

setServiceManifest

public void setServiceManifest(java.lang.String serviceManifest)