com.projectdarkstar.tools.dtc.domain
Class ServerAppTag

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

public class ServerAppTag
extends Object
implements Serializable

Represents a tag entity used to categorize ServerApp objects.

See Also:
Serialized Form

Constructor Summary
ServerAppTag()
           
ServerAppTag(String tag)
           
 
Method Summary
 boolean equals(Object o)
           
 List<ServerApp> getApps()
          Returns the list of ServerApp objects that are tagged with this tag.
 Long getId()
          Returns the id of the entity in persistent storage
 String getTag()
           
 int hashCode()
           
 void setApps(List<ServerApp> apps)
           
 void setId(Long id)
           
 void setTag(String tag)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerAppTag

public ServerAppTag()

ServerAppTag

public ServerAppTag(String tag)
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)

getTag

public String getTag()

setTag

public void setTag(String tag)

getApps

public List<ServerApp> getApps()
Returns the list of ServerApp objects that are tagged with this tag.

Returns:
server apps tagged with this tag.

setApps

public void setApps(List<ServerApp> apps)

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.