com.projectdarkstar.tools.dtc.domain
Class SystemProbeTag

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

public class SystemProbeTag
extends Object
implements Serializable

Represents a tag entity used to categorize SystemProbe objects.

See Also:
Serialized Form

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

Constructor Detail

SystemProbeTag

public SystemProbeTag()

SystemProbeTag

public SystemProbeTag(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)

getProbes

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

Returns:
probes tagged with this tag.

setProbes

public void setProbes(List<SystemProbe> probes)

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.