Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.appdef.server.session
Class Server

java.lang.Object
  extended by org.hyperic.hibernate.PersistedObject
      extended by org.hyperic.hq.appdef.AppdefBean
          extended by org.hyperic.hq.appdef.server.session.AppdefNamedBean
              extended by org.hyperic.hq.appdef.server.session.AppdefResource
                  extended by org.hyperic.hq.appdef.ServerBase
                      extended by org.hyperic.hq.appdef.server.session.Server
All Implemented Interfaces:
java.io.Serializable, ContainerManagedTimestampTrackable, HasAuthzOperations

public class Server
extends ServerBase
implements HasAuthzOperations

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hyperic.hq.appdef.ServerBase
autoinventoryIdentifier, installPath, servicesAutomanaged
 
Fields inherited from class org.hyperic.hq.appdef.server.session.AppdefNamedBean
description, location, modifiedBy, name, sortName
 
Fields inherited from class org.hyperic.hq.appdef.AppdefBean
cid, creationTime, modifiedTime
 
Constructor Summary
Server()
           
Server(java.lang.Integer id)
           
 
Method Summary
protected  java.lang.String _getAuthzOp(java.lang.String op)
           
 void addService(Service s)
           
 boolean equals(java.lang.Object obj)
           
 AppdefResourceType getAppdefResourceType()
           
 AppdefResourceValue getAppdefResourceValue()
           
 ConfigResponseDB getConfigResponse()
           
 Platform getPlatform()
           
 ServerLightValue getServerLightValue()
          Deprecated. use (this) Server object instead
 ServerType getServerType()
           
 ServerValue getServerValue()
          Deprecated. use (this) Server object instead
 java.util.Collection getServices()
           
 java.util.Set getServiceSnapshot()
           
 java.util.Collection getSupportedServiceTypes()
           
 int hashCode()
           
 boolean isAutodiscoveryZombie()
           
 boolean isRuntimeAutodiscovery()
           
 boolean isWasAutodiscovered()
           
 boolean matchesValueObject(ServerValue obj)
           
 void setRuntimeAutodiscovery(boolean runtimeAutodiscovery)
           
 java.lang.String toString()
           
 
Methods inherited from class org.hyperic.hq.appdef.ServerBase
getAutoinventoryIdentifier, getEntityId, getInstallPath, getServicesAutomanaged, isServicesAutomanaged, setAutoinventoryIdentifier, setInstallPath, setServicesAutomanaged
 
Methods inherited from class org.hyperic.hq.appdef.server.session.AppdefResource
getName, getResource, getSortName, setName, setResource, setSortName
 
Methods inherited from class org.hyperic.hq.appdef.server.session.AppdefNamedBean
getAuthzOp, getDescription, getLocation, getModifiedBy, setDescription, setLocation, setModifiedBy
 
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, wait, wait, wait
 
Methods inherited from interface org.hyperic.hq.authz.HasAuthzOperations
getAuthzOp
 

Constructor Detail

Server

public Server()

Server

public Server(java.lang.Integer id)
Method Detail

getPlatform

public Platform getPlatform()

isRuntimeAutodiscovery

public boolean isRuntimeAutodiscovery()

setRuntimeAutodiscovery

public void setRuntimeAutodiscovery(boolean runtimeAutodiscovery)

isWasAutodiscovered

public boolean isWasAutodiscovered()

isAutodiscoveryZombie

public boolean isAutodiscoveryZombie()

getServerType

public ServerType getServerType()

getConfigResponse

public ConfigResponseDB getConfigResponse()

getServices

public java.util.Collection getServices()

addService

public void addService(Service s)

getServerLightValue

public ServerLightValue getServerLightValue()
Deprecated. use (this) Server object instead

for legacy EJB DTO pattern

Returns:

getServerValue

public ServerValue getServerValue()
Deprecated. use (this) Server object instead

for legacy EJB DTO pattern

Returns:

getServiceSnapshot

public java.util.Set getServiceSnapshot()

getSupportedServiceTypes

public java.util.Collection getSupportedServiceTypes()

matchesValueObject

public boolean matchesValueObject(ServerValue obj)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class AppdefBean

getAppdefResourceType

public AppdefResourceType getAppdefResourceType()
Specified by:
getAppdefResourceType in class AppdefNamedBean

getAppdefResourceValue

public AppdefResourceValue getAppdefResourceValue()
Specified by:
getAppdefResourceValue in class AppdefNamedBean

_getAuthzOp

protected java.lang.String _getAuthzOp(java.lang.String op)
Specified by:
_getAuthzOp in class AppdefNamedBean

toString

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

Hyperic HQ Plugin API v. 4.4.0.2

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