com.projectdarkstar.tools.dtc.domain
Class ClientApp

java.lang.Object
  extended by com.projectdarkstar.tools.dtc.domain.ClientApp
All Implemented Interfaces:
Serializable

public class ClientApp
extends Object
implements Serializable

Represents a client application simulator package to be run against a ServerApp in a DTC test.

See Also:
Serialized Form

Constructor Summary
ClientApp()
           
ClientApp(String name, String description, PkgLibrary requiredPkg)
           
 
Method Summary
 boolean equals(Object o)
           
 List<ClientAppConfig> getConfigs()
          Returns a list of client application configurations that can be used to run this client application.
 String getDescription()
           
 Long getId()
          Returns the id of the entity in persistent storage
 String getName()
           
 PkgLibrary getRequiredPkg()
          Returns the package library required to run this client application.
 List<ClientAppTag> getTags()
          Returns a list of ClientAppTag objects that are used to categorize client apps into groups.
 Long getVersionNumber()
          Returns the version number in the data store that this entity represents.
 int hashCode()
           
 void setConfigs(List<ClientAppConfig> configs)
           
 void setDescription(String description)
           
 void setId(Long id)
           
 void setName(String name)
           
 void setRequiredPkg(PkgLibrary requiredPkg)
           
 void setTags(List<ClientAppTag> tags)
           
protected  void setVersionNumber(Long versionNumber)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientApp

public ClientApp()

ClientApp

public ClientApp(String name,
                 String description,
                 PkgLibrary requiredPkg)
Method Detail

getId

public Long getId()
Returns the id of the entity in persistent storage

Returns:
id of the entity

setId

public void setId(Long id)

getVersionNumber

public Long getVersionNumber()
Returns the version number in the data store that this entity represents. Whenever an update to an object is pushed to the persistent data store, the version number is incremented.

Returns:
version number of the entity

setVersionNumber

protected void setVersionNumber(Long versionNumber)

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getTags

public List<ClientAppTag> getTags()
Returns a list of ClientAppTag objects that are used to categorize client apps into groups.

Returns:
list of tags for this client app

setTags

public void setTags(List<ClientAppTag> tags)

getConfigs

public List<ClientAppConfig> getConfigs()
Returns a list of client application configurations that can be used to run this client application.

Returns:
list of runtime configurations for this client app

setConfigs

public void setConfigs(List<ClientAppConfig> configs)

getRequiredPkg

public PkgLibrary getRequiredPkg()
Returns the package library required to run this client application.

Returns:
the package library required to run this client application.

setRequiredPkg

public void setRequiredPkg(PkgLibrary requiredPkg)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.