org.rhq.core.domain.bundle
Class BundleType
java.lang.Object
org.rhq.core.domain.bundle.BundleType
- All Implemented Interfaces:
- Serializable
public class BundleType
- extends Object
- implements Serializable
Defines a type of bundle that can exist in the system. Bundle types are used to determine
how a bundle is to be processed.
- 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
BundleType
public BundleType()
BundleType
public BundleType(String name,
ResourceType resourceType)
getId
public int getId()
setId
public void setId(int id)
getName
public String getName()
setName
public void setName(String name)
getResourceType
public ResourceType getResourceType()
- Returns the resource type that is responsible for deploying and managing bundles of this bundle type.
- Returns:
- resource type that supports this bundle type
setResourceType
public void setResourceType(ResourceType resourceType)
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.