Oracle Message PLS-00539 - subprogram string is declared in an object type body and must be defined in the object type specification

ERRORsubprogram string is declared in an object type body and must be defined in the object type specification
CAUSEThe specified subprogram is declared in an object types body, but is not defined in the object types specification. Notice cursor bodies can exist without a specification.
ACTIONDefine the subprogram in the object types specification, or remove the declaration from the body.