Message Oracle PLS-00582 - attribute declarations are not allowed in opaque types

ERRORattribute declarations are not allowed in opaque types
CAUSEAn attempt was made to declare an attribute in an opaque type.
ACTIONRemove the attribute declaration.