org.rhq.core.domain.bundle
Class Bundle
java.lang.Object
org.rhq.core.domain.bundle.Bundle
- All Implemented Interfaces:
- Serializable
public class Bundle
- extends Object
- implements Serializable
Defines a bundle of content that can be versioned.
- See Also:
- Serialized Form
QUERY_FIND_ALL
public static final String QUERY_FIND_ALL
- See Also:
- Constant Field Values
QUERY_FIND_BY_NAME
public static final String QUERY_FIND_BY_NAME
- See Also:
- Constant Field Values
QUERY_FIND_BY_TYPE_AND_NAME
public static final String QUERY_FIND_BY_TYPE_AND_NAME
- See Also:
- Constant Field Values
Bundle
public Bundle()
Bundle
public Bundle(String name,
BundleType type,
Repo repo,
PackageType packageType)
getId
public int getId()
setId
public void setId(int id)
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getBundleType
public BundleType getBundleType()
setBundleType
public void setBundleType(BundleType bundleType)
getPackageType
public PackageType getPackageType()
setPackageType
public void setPackageType(PackageType packageType)
getRepo
public Repo getRepo()
setRepo
public void setRepo(Repo repo)
getBundleVersions
public List<BundleVersion> getBundleVersions()
addBundleVersion
public void addBundleVersion(BundleVersion bundleVersion)
setBundleVersions
public void setBundleVersions(List<BundleVersion> bundleVersions)
getDestinations
public List<BundleDestination> getDestinations()
addDestination
public void addDestination(BundleDestination destination)
setDestinations
public void setDestinations(List<BundleDestination> destinations)
getTags
public Set<Tag> getTags()
setTags
public void setTags(Set<Tag> tags)
addTag
public void addTag(Tag tag)
removeTag
public boolean removeTag(Tag tag)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.