Class CMObject

java.lang.Object
kr.ac.konkuk.ccslab.cm.entity.CMObject
Direct Known Subclasses:
CMEvent, CMMember, CMServiceManager, CMSNSAttach, CMSNSAttachAccessHistory, CMSNSAttachAccessHistoryList, CMSNSAttachHashtable, CMSNSAttachList, CMSNSContent, CMSNSContentList, CMSNSPrefetchHashMap, CMSNSPrefetchList, CMUser

public class CMObject extends Object
Class CMObject is the root of the class hierarchy.
  • Field Details

    • m_nType

      protected int m_nType
  • Constructor Details

    • CMObject

      public CMObject()
      Creates a CM object.
      The default object type is CMInfo.CM_OBJECT.
  • Method Details

    • setType

      public void setType(int t)
      Sets the type of this CM object
      Parameters:
      t - - the object type.
      The object types are defined in the CMInfo class.
    • getType

      public int getType()
      Returns the type of this CM object
      Returns:
      a type of this CM object.
      CM object types are defined in the CMInfo class.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object