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

Interface OpenClause

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


    public interface OpenClause
    extends ASTNode
    A representation of the INPUT, OUTPUT, I-O, and EXTEND phrases in an OPEN statement.

    The following features are supported:

    See Also:
    COBOLPackage.getOpenClause()
    • Method Detail

      • getMode

        OpenMode getMode()
        Returns the value of the 'Mode' attribute. The literals are from the enumeration OpenMode.

        The value represents either INPUT, OUTPUT, I-O, or EXTEND.

        Returns:
        the value of the 'Mode' attribute.
        See Also:
        OpenMode, setMode(OpenMode), COBOLPackage.getOpenClause_Mode()
      • setMode

        void setMode(OpenMode value)
        Sets the value of the 'Mode' attribute.
        Parameters:
        value - the new value of the 'Mode' attribute.
        See Also:
        OpenMode, getMode()
      • getObjects

        java.util.List getObjects()
        Returns the value of the 'Objects' containment reference list. The list contents are of type OpenObject.

        The list contains the files.

        Returns:
        the value of the 'Objects' containment reference list.
        See Also:
        COBOLPackage.getOpenClause_Objects()