org.rhq.core.domain.tagging
Class Tag

java.lang.Object
  extended by org.rhq.core.domain.tagging.Tag
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TagReportComposite

public class Tag
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String QUERY_TAG_COMPOSITE_REPORT
           
 
Constructor Summary
Tag()
           
Tag(String tag)
           
Tag(String namespace, String semantic, String name)
           
 
Method Summary
 void addBundle(Bundle bundle)
           
 void addBundleDeployment(BundleDeployment bundleDeployment)
           
 void addBundleDestination(BundleDestination bundleDestination)
           
 void addBundleVersion(BundleVersion bundleVersion)
           
 void addResource(Resource resource)
           
 void addResourceGroup(ResourceGroup resourceGroup)
           
 boolean equals(Object o)
           
 Set<BundleDeployment> getBundleDeployments()
           
 Set<BundleDestination> getBundleDestinations()
           
 Set<Bundle> getBundles()
           
 Set<BundleVersion> getBundleVersions()
           
 int getId()
           
 String getName()
           
 String getNamespace()
           
 Set<ResourceGroup> getResourceGroups()
           
 Set<Resource> getResources()
           
 String getSemantic()
           
 int hashCode()
           
 boolean removeBundle(Bundle bundle)
           
 boolean removeBundleDeployment(BundleDeployment bundleDeployment)
           
 boolean removeBundleDestination(BundleDestination bundleDestination)
           
 boolean removeBundleVersion(BundleVersion bundleVersion)
           
 boolean removeResource(Resource resource)
           
 boolean removeResourceGroup(ResourceGroup resourceGroup)
           
 void setBundleDeployments(Set<BundleDeployment> bundleDeployments)
           
 void setBundleDestinations(Set<BundleDestination> bundleDestinations)
           
 void setBundles(Set<Bundle> bundles)
           
 void setBundleVersions(Set<BundleVersion> bundleVersions)
           
 void setId(int id)
           
 void setName(String name)
           
 void setNamespace(String namespace)
           
 void setResourceGroups(Set<ResourceGroup> resourceGroups)
           
 void setResources(Set<Resource> resources)
           
 void setSemantic(String semantic)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_TAG_COMPOSITE_REPORT

public static final String QUERY_TAG_COMPOSITE_REPORT
See Also:
Constant Field Values
Constructor Detail

Tag

public Tag()

Tag

public Tag(String namespace,
           String semantic,
           String name)

Tag

public Tag(String tag)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getNamespace

public String getNamespace()

setNamespace

public void setNamespace(String namespace)

getSemantic

public String getSemantic()

setSemantic

public void setSemantic(String semantic)

getName

public String getName()

setName

public void setName(String name)

getResources

public Set<Resource> getResources()

setResources

public void setResources(Set<Resource> resources)

addResource

public void addResource(Resource resource)

removeResource

public boolean removeResource(Resource resource)

getResourceGroups

public Set<ResourceGroup> getResourceGroups()

setResourceGroups

public void setResourceGroups(Set<ResourceGroup> resourceGroups)

addResourceGroup

public void addResourceGroup(ResourceGroup resourceGroup)

removeResourceGroup

public boolean removeResourceGroup(ResourceGroup resourceGroup)

getBundles

public Set<Bundle> getBundles()

setBundles

public void setBundles(Set<Bundle> bundles)

addBundle

public void addBundle(Bundle bundle)

removeBundle

public boolean removeBundle(Bundle bundle)

getBundleVersions

public Set<BundleVersion> getBundleVersions()

setBundleVersions

public void setBundleVersions(Set<BundleVersion> bundleVersions)

addBundleVersion

public void addBundleVersion(BundleVersion bundleVersion)

removeBundleVersion

public boolean removeBundleVersion(BundleVersion bundleVersion)

getBundleDeployments

public Set<BundleDeployment> getBundleDeployments()

setBundleDeployments

public void setBundleDeployments(Set<BundleDeployment> bundleDeployments)

addBundleDeployment

public void addBundleDeployment(BundleDeployment bundleDeployment)

removeBundleDeployment

public boolean removeBundleDeployment(BundleDeployment bundleDeployment)

getBundleDestinations

public Set<BundleDestination> getBundleDestinations()

setBundleDestinations

public void setBundleDestinations(Set<BundleDestination> bundleDestinations)

addBundleDestination

public void addBundleDestination(BundleDestination bundleDestination)

removeBundleDestination

public boolean removeBundleDestination(BundleDestination bundleDestination)

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.