Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.appdef.shared
Class ServerTypeValue

java.lang.Object
  extended by org.hyperic.hq.appdef.shared.AppdefResourceTypeValue
      extended by org.hyperic.hq.appdef.shared.ServerTypeValue
All Implemented Interfaces:
java.io.Serializable

public class ServerTypeValue
extends AppdefResourceTypeValue
implements java.io.Serializable

Value object for ServerType.

See Also:
Serialized Form

Constructor Summary
ServerTypeValue()
           
ServerTypeValue(ServerTypeValue otherValue)
           
ServerTypeValue(java.lang.String name, boolean virtual, java.lang.String sortName, java.lang.String description, java.lang.String plugin, java.lang.Integer id, java.lang.Long mTime, java.lang.Long cTime)
           
 
Method Summary
 boolean cTimeHasBeenSet()
           
 boolean descriptionHasBeenSet()
           
 boolean equals(java.lang.Object other)
           
 int getAppdefType()
           
 java.lang.Long getCTime()
           
 java.lang.String getDescription()
           
 java.lang.Integer getId()
           
 java.lang.Long getMTime()
           
 java.lang.String getName()
           
 java.lang.String getPlugin()
           
 java.lang.String getSortName()
           
 boolean getVirtual()
           
 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 mTimeHasBeenSet()
           
 boolean nameHasBeenSet()
           
 boolean pluginHasBeenSet()
           
 void setCTime(java.lang.Long cTime)
           
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Integer id)
           
 void setMTime(java.lang.Long mTime)
           
 void setName(java.lang.String name)
           
 void setPlugin(java.lang.String plugin)
           
 void setSortName(java.lang.String sortName)
           
 void setVirtual(boolean virtual)
           
 boolean sortNameHasBeenSet()
           
 java.lang.String toString()
           
 boolean virtualHasBeenSet()
           
 
Methods inherited from class org.hyperic.hq.appdef.shared.AppdefResourceTypeValue
getAppdefTypeKey, getCreateTime, getModifiedTime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerTypeValue

public ServerTypeValue()

ServerTypeValue

public ServerTypeValue(java.lang.String name,
                       boolean virtual,
                       java.lang.String sortName,
                       java.lang.String description,
                       java.lang.String plugin,
                       java.lang.Integer id,
                       java.lang.Long mTime,
                       java.lang.Long cTime)

ServerTypeValue

public ServerTypeValue(ServerTypeValue otherValue)
Method Detail

getName

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

setName

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

nameHasBeenSet

public boolean nameHasBeenSet()

getVirtual

public boolean getVirtual()

setVirtual

public void setVirtual(boolean virtual)

virtualHasBeenSet

public boolean virtualHasBeenSet()

getSortName

public java.lang.String getSortName()

setSortName

public void setSortName(java.lang.String sortName)

sortNameHasBeenSet

public boolean sortNameHasBeenSet()

getDescription

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

setDescription

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

descriptionHasBeenSet

public boolean descriptionHasBeenSet()

getPlugin

public java.lang.String getPlugin()

setPlugin

public void setPlugin(java.lang.String plugin)

pluginHasBeenSet

public boolean pluginHasBeenSet()

getId

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

setId

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

idHasBeenSet

public boolean idHasBeenSet()

getMTime

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

setMTime

public void setMTime(java.lang.Long mTime)

mTimeHasBeenSet

public boolean mTimeHasBeenSet()

getCTime

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

setCTime

public void setCTime(java.lang.Long cTime)

cTimeHasBeenSet

public boolean cTimeHasBeenSet()

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

getAppdefType

public int getAppdefType()
Specified by:
getAppdefType in class AppdefResourceTypeValue
Returns:
appdef int value designator of entity type.

Hyperic HQ Plugin API v. 4.4.0.2

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