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

Interface OpenObject

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


    public interface OpenObject
    extends ASTNode
    A representation of a file in an OPEN statement.

    The following features are supported:

    See Also:
    COBOLPackage.getOpenObject()
    • Method Detail

      • setFile

        void setFile(FileDescriptionEntry value)
        Sets the value of the 'File' reference.
        Parameters:
        value - the new value of the 'File' reference.
        See Also:
        getFile()
      • isReversed

        boolean isReversed()
        Returns the value of the 'Reversed' attribute.

        The value is true if the REVERSED keyword is present; false otherwise.

        Returns:
        the value of the 'Reversed' attribute.
        See Also:
        setReversed(boolean), COBOLPackage.getOpenObject_Reversed()
      • setReversed

        void setReversed(boolean value)
        Sets the value of the 'Reversed' attribute.
        Parameters:
        value - the new value of the 'Reversed' attribute.
        See Also:
        isReversed()
      • isWithNoRewind

        boolean isWithNoRewind()
        Returns the value of the 'With No Rewind' attribute.

        The value is true if the WITH NO REWIND clause appears; false otherwise.

        Returns:
        the value of the 'With No Rewind' attribute.
        See Also:
        setWithNoRewind(boolean), COBOLPackage.getOpenObject_WithNoRewind()
      • setWithNoRewind

        void setWithNoRewind(boolean value)
        Sets the value of the 'With No Rewind' attribute.
        Parameters:
        value - the new value of the 'With No Rewind' attribute.
        See Also:
        isWithNoRewind()