Interface ObjectModelOperation

    • Method Detail

      • getReturnType

        String getReturnType()
        Returns the return type of this operation.
        Returns:
        the return type of this operation.
      • getVisibility

        String getVisibility()
        Returns the visibility of this operation. Possible values includes public, protected and private.
        Returns:
        the visibility of this operation.
      • isAbstract

        boolean isAbstract()
        Returns whether this operation is abstract or not.
        Returns:
        a boolean indicating whether this operation is abstract or not.
      • getReturnParameter

        ObjectModelParameter getReturnParameter()
        Return the return parameter of the operation
        Returns:
        an ObjectModelParameter representing the return parameter
      • getExceptions

        Set<String> getExceptions()
        Returns all exception qualified names thrown by this operation (as strings)
        Returns:
        a Set containing the exceptions strings
      • getBodyCode

        String getBodyCode()
        Return body of the operation (source code)
        Returns:
        body of the operation (source code)