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

Interface CloseObject

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


    public interface CloseObject
    extends ASTNode
    A representation of a phrase describing a file in a CLOSE statement.

    The following features are supported:

    See Also:
    COBOLPackage.getCloseObject()
    • 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()
      • getReelOrUnit

        CloseReelOrUnit getReelOrUnit()
        Returns the value of the 'Reel Or Unit' containment reference.

        The value represents the REEL or UNIT clauses.

        Returns:
        the value of the 'Reel Or Unit' containment reference.
        See Also:
        setReelOrUnit(CloseReelOrUnit), COBOLPackage.getCloseObject_ReelOrUnit()
      • setReelOrUnit

        void setReelOrUnit(CloseReelOrUnit value)
        Sets the value of the 'Reel Or Unit' containment reference.
        Parameters:
        value - the new value of the 'Reel Or Unit' containment reference.
        See Also:
        getReelOrUnit()
      • isWithNoRewind

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

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

        Returns:
        the value of the 'With No Rewind' attribute.
        See Also:
        setWithNoRewind(boolean), COBOLPackage.getCloseObject_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()
      • isWithLock

        boolean isWithLock()
        Returns the value of the 'With Lock' attribute.

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

        Returns:
        the value of the 'With Lock' attribute.
        See Also:
        setWithLock(boolean), COBOLPackage.getCloseObject_WithLock()
      • setWithLock

        void setWithLock(boolean value)
        Sets the value of the 'With Lock' attribute.
        Parameters:
        value - the new value of the 'With Lock' attribute.
        See Also:
        isWithLock()