parameters: (self)
docstring: Returns:
              int or long or object: The value of this CorrelationId object.
  
          The return value depends on this :class:`CorrelationId`\ 's value
          type and could be:
  
          - Integer (``type() == CorrelationId.INT_TYPE``
            or ``type() == CorrelationId.AUTOGEN_TYPE``)
          - Object (``type() == CorrelationId.OBJECT_TYPE``)
          - ``None`` (``type() == CorrelationId.UNSET_TYPE``)
docstring_summary: Returns:
              int or long or object: The value of this CorrelationId object.
docstring_tokens: Returns : int or long or object : The value of this CorrelationId object .
function: def value(self):
          """
          Returns:
              int or long or object: The value of this CorrelationId object.
  
          The return value depends on this :class:`CorrelationId`\ 's value
          type and could be:
  
          - Integer (``type() == CorrelationId.INT_TYPE``
            or ``type() == CorrelationId.AUTOGEN_TYPE``)
          - Object (``type() == CorrelationId.OBJECT_TYPE``)
          - ``None`` (``type() == CorrelationId.UNSET_TYPE``)
          """
          valueType = self.type()
          if valueType == CorrelationId.INT_TYPE \
                  or valueType == CorrelationId.AUTOGEN_TYPE:
              return self.__asInteger()
          elif valueType == CorrelationId.OBJECT_TYPE:
              return self.__asObject()
          else:
              return None
function_tokens: def value ( self ) : valueType = self . type ( ) if valueType == CorrelationId . INT_TYPE or valueType == CorrelationId . AUTOGEN_TYPE : return self . __asInteger ( ) elif valueType == CorrelationId . OBJECT_TYPE : return self . __asObject ( ) else : return None