Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.hqu.server.session
Class AttachmentResource

java.lang.Object
  extended by org.hyperic.hibernate.PersistedObject
      extended by org.hyperic.hq.hqu.server.session.Attachment
          extended by org.hyperic.hq.hqu.server.session.AttachmentResource
All Implemented Interfaces:
java.io.Serializable

public class AttachmentResource
extends Attachment

See Also:
Serialized Form

Constructor Summary
protected AttachmentResource()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          TODO: We probably need to subclass the attachments into their specific types (such as admin, etc.), via a Hibernate subclass.
 ViewResourceCategory getCategory()
           
protected  java.lang.String getCategoryEnum()
           
 Resource getResource()
           
 int hashCode()
           
protected  void setCategoryEnum(java.lang.String cat)
           
protected  void setResource(Resource r)
           
 java.lang.String toString()
           
 
Methods inherited from class org.hyperic.hq.hqu.server.session.Attachment
getAttachTime, getView, setAttachTime, setView
 
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
 

Constructor Detail

AttachmentResource

protected AttachmentResource()
Method Detail

getCategoryEnum

protected java.lang.String getCategoryEnum()

setCategoryEnum

protected void setCategoryEnum(java.lang.String cat)

getCategory

public ViewResourceCategory getCategory()

getResource

public Resource getResource()

setResource

protected void setResource(Resource r)

toString

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

equals

public boolean equals(java.lang.Object obj)
Description copied from class: Attachment
TODO: We probably need to subclass the attachments into their specific types (such as admin, etc.), via a Hibernate subclass. This way each object can do a proper .equals()

Overrides:
equals in class Attachment

hashCode

public int hashCode()
Overrides:
hashCode in class Attachment

Hyperic HQ Plugin API v. 4.4.0.2

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