Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.appdef.shared
Class ServiceValue

java.lang.Object
  extended by org.hyperic.hq.appdef.shared.AppdefResourceValue
      extended by org.hyperic.hq.appdef.shared.ServiceValue
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
AppServiceNodeBean

public class ServiceValue
extends AppdefResourceValue
implements java.io.Serializable

Value object for Service.

See Also:
Serialized Form

Constructor Summary
ServiceValue()
           
ServiceValue(ServiceValue otherValue)
           
ServiceValue(java.lang.String sortName, boolean autodiscoveryZombie, boolean serviceRt, boolean endUserRt, java.lang.String modifiedBy, java.lang.String owner, java.lang.String location, java.lang.Integer configResponseId, java.lang.Integer parentId, java.lang.String name, java.lang.String description, java.lang.Integer id, java.lang.Long mTime, java.lang.Long cTime)
           
 
Method Summary
 boolean autodiscoveryZombieHasBeenSet()
           
 boolean configResponseIdHasBeenSet()
           
 boolean cTimeHasBeenSet()
           
 boolean descriptionHasBeenSet()
           
 boolean endUserRtHasBeenSet()
           
 boolean equals(java.lang.Object other)
           
 boolean getAutodiscoveryZombie()
           
 java.lang.String getAutoinventoryIdentifier()
           
 java.lang.Integer getConfigResponseId()
           
 java.lang.Long getCTime()
           
 java.lang.String getDescription()
           
 boolean getEndUserRt()
           
 AppdefEntityID getEntityId()
          get an entity ID for the object
 java.lang.Integer getId()
           
 java.lang.String getLocation()
           
 java.lang.String getModifiedBy()
           
 java.lang.Long getMTime()
           
 java.lang.String getName()
           
 java.lang.String getOwner()
           
 java.lang.Integer getParentId()
           
 ResourceGroupValue getResourceGroup()
           
 java.lang.Integer getResourceId()
           
 ServerLightValue getServer()
           
 boolean getServiceRt()
           
 ServiceTypeValue getServiceType()
           
 java.lang.String getSortName()
           
 int hashCode()
           
protected  boolean hasIdentity()
          A Value object have an identity if its attributes making its Primary Key has all been set.
 boolean idHasBeenSet()
           
 boolean isIdentical(java.lang.Object other)
           
 boolean locationHasBeenSet()
           
 boolean modifiedByHasBeenSet()
           
 boolean mTimeHasBeenSet()
           
 boolean nameHasBeenSet()
           
 boolean ownerHasBeenSet()
           
 boolean parentIdHasBeenSet()
           
 boolean resourceIdHasBeenSet()
           
 boolean serviceRtHasBeenSet()
           
 void setAutodiscoveryZombie(boolean autodiscoveryZombie)
           
 void setAutoinventoryIdentifier(java.lang.String aiid)
           
 void setConfigResponseId(java.lang.Integer configResponseId)
           
 void setCTime(java.lang.Long cTime)
           
 void setDescription(java.lang.String description)
           
 void setEndUserRt(boolean endUserRt)
           
 void setId(java.lang.Integer id)
           
 void setLocation(java.lang.String location)
           
 void setModifiedBy(java.lang.String modifiedBy)
           
 void setMTime(java.lang.Long mTime)
           
 void setName(java.lang.String name)
           
 void setOwner(java.lang.String owner)
           
 void setParentId(java.lang.Integer parentId)
           
 void setResourceGroup(ResourceGroupValue ResourceGroup)
           
 void setResourceId(java.lang.Integer resourceId)
           
 void setServer(ServerLightValue Server)
           
 void setServiceRt(boolean serviceRt)
           
 void setServiceType(ServiceTypeValue ServiceType)
           
 void setSortName(java.lang.String sortName)
           
 boolean sortNameHasBeenSet()
           
 java.lang.String toString()
           
 
Methods inherited from class org.hyperic.hq.appdef.shared.AppdefResourceValue
compareTo, getAppdefResourceTypeValue, getHostName, getPlatformTypeCountMap, getResourceTypeCountMap, getServerTypeCountMap, getServiceTypeCountMap, setHostName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceValue

public ServiceValue()

ServiceValue

public ServiceValue(java.lang.String sortName,
                    boolean autodiscoveryZombie,
                    boolean serviceRt,
                    boolean endUserRt,
                    java.lang.String modifiedBy,
                    java.lang.String owner,
                    java.lang.String location,
                    java.lang.Integer configResponseId,
                    java.lang.Integer parentId,
                    java.lang.String name,
                    java.lang.String description,
                    java.lang.Integer id,
                    java.lang.Long mTime,
                    java.lang.Long cTime)

ServiceValue

public ServiceValue(ServiceValue otherValue)
Method Detail

getSortName

public java.lang.String getSortName()

setSortName

public void setSortName(java.lang.String sortName)

sortNameHasBeenSet

public boolean sortNameHasBeenSet()

getAutodiscoveryZombie

public boolean getAutodiscoveryZombie()

setAutodiscoveryZombie

public void setAutodiscoveryZombie(boolean autodiscoveryZombie)

autodiscoveryZombieHasBeenSet

public boolean autodiscoveryZombieHasBeenSet()

getServiceRt

public boolean getServiceRt()

setServiceRt

public void setServiceRt(boolean serviceRt)

serviceRtHasBeenSet

public boolean serviceRtHasBeenSet()

getEndUserRt

public boolean getEndUserRt()

setEndUserRt

public void setEndUserRt(boolean endUserRt)

endUserRtHasBeenSet

public boolean endUserRtHasBeenSet()

getModifiedBy

public java.lang.String getModifiedBy()
Specified by:
getModifiedBy in class AppdefResourceValue

setModifiedBy

public void setModifiedBy(java.lang.String modifiedBy)
Specified by:
setModifiedBy in class AppdefResourceValue

modifiedByHasBeenSet

public boolean modifiedByHasBeenSet()

getOwner

public java.lang.String getOwner()
Specified by:
getOwner in class AppdefResourceValue

setOwner

public void setOwner(java.lang.String owner)
Specified by:
setOwner in class AppdefResourceValue

ownerHasBeenSet

public boolean ownerHasBeenSet()

getLocation

public java.lang.String getLocation()
Specified by:
getLocation in class AppdefResourceValue

setLocation

public void setLocation(java.lang.String location)
Specified by:
setLocation in class AppdefResourceValue

locationHasBeenSet

public boolean locationHasBeenSet()

getConfigResponseId

public java.lang.Integer getConfigResponseId()

setConfigResponseId

public void setConfigResponseId(java.lang.Integer configResponseId)

configResponseIdHasBeenSet

public boolean configResponseIdHasBeenSet()

getParentId

public java.lang.Integer getParentId()

setParentId

public void setParentId(java.lang.Integer parentId)

parentIdHasBeenSet

public boolean parentIdHasBeenSet()

getResourceId

public java.lang.Integer getResourceId()

setResourceId

public void setResourceId(java.lang.Integer resourceId)

resourceIdHasBeenSet

public boolean resourceIdHasBeenSet()

getName

public java.lang.String getName()
Specified by:
getName in class AppdefResourceValue

setName

public void setName(java.lang.String name)
Specified by:
setName in class AppdefResourceValue

nameHasBeenSet

public boolean nameHasBeenSet()

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class AppdefResourceValue

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in class AppdefResourceValue

descriptionHasBeenSet

public boolean descriptionHasBeenSet()

getId

public java.lang.Integer getId()
Specified by:
getId in class AppdefResourceValue

setId

public void setId(java.lang.Integer id)
Specified by:
setId in class AppdefResourceValue

idHasBeenSet

public boolean idHasBeenSet()

getMTime

public java.lang.Long getMTime()
Specified by:
getMTime in class AppdefResourceValue

setMTime

public void setMTime(java.lang.Long mTime)

mTimeHasBeenSet

public boolean mTimeHasBeenSet()

getCTime

public java.lang.Long getCTime()
Specified by:
getCTime in class AppdefResourceValue

setCTime

public void setCTime(java.lang.Long cTime)

cTimeHasBeenSet

public boolean cTimeHasBeenSet()

getServer

public ServerLightValue getServer()

setServer

public void setServer(ServerLightValue Server)

getResourceGroup

public ResourceGroupValue getResourceGroup()

setResourceGroup

public void setResourceGroup(ResourceGroupValue ResourceGroup)

getServiceType

public ServiceTypeValue getServiceType()

setServiceType

public void setServiceType(ServiceTypeValue ServiceType)

getAutoinventoryIdentifier

public java.lang.String getAutoinventoryIdentifier()

setAutoinventoryIdentifier

public void setAutoinventoryIdentifier(java.lang.String aiid)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hasIdentity

protected boolean hasIdentity()
A Value object have an identity if its attributes making its Primary Key has all been set. One object without identity is never equal to any other object.

Returns:
true if this instance have an identity.

equals

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

isIdentical

public boolean isIdentical(java.lang.Object other)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getEntityId

public AppdefEntityID getEntityId()
Description copied from class: AppdefResourceValue
get an entity ID for the object

Specified by:
getEntityId in class AppdefResourceValue

Hyperic HQ Plugin API v. 4.4.0.2

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