Class CIMScope

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

    public class CIMScope
    extends java.lang.Object
    implements java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
    Author:
    Roberto Pineiro, Chung-hao (Danny)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CIMScope​(int pScope)
      Deprecated.
      use getScope(int) instead
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      int compareTo​(java.lang.Object o)  
      boolean equals​(java.lang.Object obj)  
      int getScope()
      Gets this scope's integer code
      static CIMScope getScope​(int pScopeCode)
      Returns an instance of the CIMScope given the specified argument.
      int hashCode()  
      java.lang.String toMOF()
      Returns the MOF representation of this object.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CIMScope

        public CIMScope​(int pScope)
        Deprecated.
        use getScope(int) instead
        Creates an object with the specified scope. Applications are encourage to use the getScope method instead of this constructor to obtain an instance of a CIMScope.
        Parameters:
        pScope - One of the scope constants in this class
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getScope

        public int getScope()
        Gets this scope's integer code
        Returns:
        The integer code
      • getScope

        public static CIMScope getScope​(int pScopeCode)
        Returns an instance of the CIMScope given the specified argument.
        Parameters:
        pScopeCode -
        Returns:
        The corresponding static scope instance
      • toMOF

        public java.lang.String toMOF()
        Returns the MOF representation of this object.
        Returns:
        The MOF representation
      • toString

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

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • compareTo

        public int compareTo​(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable