Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.appdef.shared
Class AppdefResourceTypeValue

java.lang.Object
  extended by org.hyperic.hq.appdef.shared.AppdefResourceTypeValue
Direct Known Subclasses:
GroupTypeValue, PlatformTypeValue, ServerTypeValue, ServiceTypeValue

public abstract class AppdefResourceTypeValue
extends java.lang.Object

Abstract base class for firt class appdef resource types. This was carbon copied from Soltero's AppdefResourceValue equivalent because 75% of it is the same. The accessors provided in this class represent what the UI model labels "General Properties". Any other attribute is assumed to be specific to the resource type.


Constructor Summary
AppdefResourceTypeValue()
           
 
Method Summary
abstract  int getAppdefType()
           
 java.lang.String getAppdefTypeKey()
          returns a stringified id in the form [appdefType id]:[id]
 java.lang.String getCreateTime()
          used by the UI
abstract  java.lang.Long getCTime()
           
abstract  java.lang.String getDescription()
           
abstract  java.lang.Integer getId()
           
 java.lang.String getModifiedTime()
          used by the UI
abstract  java.lang.Long getMTime()
           
abstract  java.lang.String getName()
           
abstract  void setDescription(java.lang.String desc)
           
abstract  void setId(java.lang.Integer id)
           
abstract  void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppdefResourceTypeValue

public AppdefResourceTypeValue()
Method Detail

getId

public abstract java.lang.Integer getId()

setId

public abstract void setId(java.lang.Integer id)

getName

public abstract java.lang.String getName()

setName

public abstract void setName(java.lang.String name)

getDescription

public abstract java.lang.String getDescription()

setDescription

public abstract void setDescription(java.lang.String desc)

getCTime

public abstract java.lang.Long getCTime()

getMTime

public abstract java.lang.Long getMTime()

getCreateTime

public java.lang.String getCreateTime()
used by the UI

Returns:
formatted create time

getModifiedTime

public java.lang.String getModifiedTime()
used by the UI

Returns:
formatted modified time

getAppdefTypeKey

public java.lang.String getAppdefTypeKey()
returns a stringified id in the form [appdefType id]:[id]

Returns:
a string based id

getAppdefType

public abstract int getAppdefType()
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.