com.ibm.etools.cobol.application.model.cobol

Interface ReplacingClause

  • All Superinterfaces:
    ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier


    public interface ReplacingClause
    extends ASTNode
    A representation of a REPLACING clause in an INITIALIZE statement.

    The following features are supported:

    See Also:
    COBOLPackage.getReplacingClause()
    • Method Detail

      • getCategory

        DataCategory getCategory()
        Returns the value of the 'Category' attribute. The literals are from the enumeration DataCategory.

        The value is a representation of the category following the REPLACING keyword.

        Returns:
        the value of the 'Category' attribute.
        See Also:
        DataCategory, setCategory(DataCategory), COBOLPackage.getReplacingClause_Category()
      • getBy

        DataRefOrLiteral getBy()
        Returns the value of the 'By' containment reference.

        The value is the data item or literal specified after the BY keyword.

        Returns:
        the value of the 'By' containment reference.
        See Also:
        setBy(DataRefOrLiteral), COBOLPackage.getReplacingClause_By()
      • setBy

        void setBy(DataRefOrLiteral value)
        Sets the value of the 'By' containment reference.
        Parameters:
        value - the new value of the 'By' containment reference.
        See Also:
        getBy()