Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.appdef
Class ServiceCluster

java.lang.Object
  extended by org.hyperic.hibernate.PersistedObject
      extended by org.hyperic.hq.appdef.AppdefBean
          extended by org.hyperic.hq.appdef.ServiceCluster
All Implemented Interfaces:
java.io.Serializable, ContainerManagedTimestampTrackable

public class ServiceCluster
extends AppdefBean

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hyperic.hq.appdef.AppdefBean
cid, creationTime, modifiedTime
 
Constructor Summary
ServiceCluster()
           
 
Method Summary
 void clearAppServices()
           
 void clearServices()
           
 boolean equals(java.lang.Object obj)
           
 java.util.Collection getAppServices()
           
 java.lang.String getDescription()
           
 ResourceGroup getGroup()
           
 java.lang.String getName()
           
 ServiceClusterValue getServiceClusterValue()
          Deprecated. use (this) ServiceCluster object instead
 java.util.Collection getServices()
           
 ServiceType getServiceType()
           
 java.lang.String getSortName()
           
 int hashCode()
           
 void setAppServices(java.util.Collection appServices)
           
 void setDescription(java.lang.String description)
           
 void setGroup(ResourceGroup group)
           
 void setName(java.lang.String name)
           
 void setServiceClusterValue(ServiceClusterValue val)
           
 void setServices(java.util.Collection services)
           
 void setServiceType(ServiceType serviceType)
           
 void setSortName(java.lang.String sortName)
           
 void validateMemberService(Service aService)
          Checks whether aService's Service Type is compatible with this cluster.
 
Methods inherited from class org.hyperic.hq.appdef.AppdefBean
allowContainerManagedCreationTime, allowContainerManagedLastModifiedTime, getCid, getCreationTime, getCTime, getModifiedTime, getMTime, matchesValueObject, setCid, setCreationTime, setModifiedTime
 
Methods inherited from class org.hyperic.hibernate.PersistedObject
get_version_, getId, set_version_, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceCluster

public ServiceCluster()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getSortName

public java.lang.String getSortName()

setSortName

public void setSortName(java.lang.String sortName)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getGroup

public ResourceGroup getGroup()

setGroup

public void setGroup(ResourceGroup group)

getServiceType

public ServiceType getServiceType()

setServiceType

public void setServiceType(ServiceType serviceType)

getAppServices

public java.util.Collection getAppServices()

setAppServices

public void setAppServices(java.util.Collection appServices)

clearAppServices

public void clearAppServices()

clearServices

public void clearServices()

getServices

public java.util.Collection getServices()

setServices

public void setServices(java.util.Collection services)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AppdefBean

hashCode

public int hashCode()
Overrides:
hashCode in class AppdefBean

getServiceClusterValue

public ServiceClusterValue getServiceClusterValue()
Deprecated. use (this) ServiceCluster object instead

legacy EJB DTO pattern


setServiceClusterValue

public void setServiceClusterValue(ServiceClusterValue val)

validateMemberService

public void validateMemberService(Service aService)
                           throws AppSvcClustIncompatSvcException
Checks whether aService's Service Type is compatible with this cluster.

Throws:
AppSvcClustIncompatSvcException - if aService is incompatible with this Service Cluster

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.