org.rhq.core.domain.bundle
Class BundleType

java.lang.Object
  extended by 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

Field Summary
static String QUERY_FIND_ALL
           
static String QUERY_FIND_BY_NAME
           
 
Constructor Summary
BundleType()
           
BundleType(String name, ResourceType resourceType)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getId()
           
 String getName()
           
 ResourceType getResourceType()
          Returns the resource type that is responsible for deploying and managing bundles of this bundle type.
 int hashCode()
           
 void setId(int id)
           
 void setName(String name)
           
 void setResourceType(ResourceType resourceType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

BundleType

public BundleType()

BundleType

public BundleType(String name,
                  ResourceType resourceType)
Method Detail

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.