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

Interface IdentificationDivision

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


    public interface IdentificationDivision
    extends ASTNode
    A representation of the identification division. The PROGRAM-ID paragraph is represented, including the INITIAL, RECURSIVE, and COMMON clauses, as well as the AUTHOR, INSTALLATION, DATE-WRITTEN, DATE-COMPILED, and SECURITY paragraphs.

    The following features are supported:

    See Also:
    COBOLPackage.getIdentificationDivision()
    • Method Detail

      • getProgramId

        java.lang.String getProgramId()
        Returns the value of the 'Program Id' attribute.

        The value is the name specified in the PROGRAM-ID paragraph. The value is also available from Program.getName().

        Returns:
        the value of the 'Program Id' attribute.
        See Also:
        setProgramId(String), COBOLPackage.getIdentificationDivision_ProgramId()
      • setProgramId

        void setProgramId(java.lang.String value)
        Sets the value of the 'Program Id' attribute.
        Parameters:
        value - the new value of the 'Program Id' attribute.
        See Also:
        getProgramId()
      • isIsCommon

        boolean isIsCommon()
        Returns the value of the 'Is Common' attribute.

        The value is true if the COMMON clause appears in the PROGRAM-ID paragraph; false otherwise.

        Returns:
        the value of the 'Is Common' attribute.
        See Also:
        setIsCommon(boolean), COBOLPackage.getIdentificationDivision_IsCommon()
      • setIsCommon

        void setIsCommon(boolean value)
        Sets the value of the 'Is Common' attribute.
        Parameters:
        value - the new value of the 'Is Common' attribute.
        See Also:
        isIsCommon()
      • isIsInitial

        boolean isIsInitial()
        Returns the value of the 'Is Initial' attribute.

        The value is true if the INITIAL clause appears in the PROGRAM-ID paragraph; false otherwise.

        Returns:
        the value of the 'Is Initial' attribute.
        See Also:
        setIsInitial(boolean), COBOLPackage.getIdentificationDivision_IsInitial()
      • setIsInitial

        void setIsInitial(boolean value)
        Sets the value of the 'Is Initial' attribute.
        Parameters:
        value - the new value of the 'Is Initial' attribute.
        See Also:
        isIsInitial()
      • isIsRecursive

        boolean isIsRecursive()
        Returns the value of the 'Is Recursive' attribute.

        The value is true if the RECURSIVE clause appears in the PROGRAM-ID paragraph; false otherwise.

        Returns:
        the value of the 'Is Recursive' attribute.
        See Also:
        setIsRecursive(boolean), COBOLPackage.getIdentificationDivision_IsRecursive()
      • setIsRecursive

        void setIsRecursive(boolean value)
        Sets the value of the 'Is Recursive' attribute.
        Parameters:
        value - the new value of the 'Is Recursive' attribute.
        See Also:
        isIsRecursive()
      • getAuthor

        java.lang.String getAuthor()
        Returns the value of the 'Author' attribute.

        The value is the content of the AUTHOR paragraph.

        Returns:
        the value of the 'Author' attribute.
        See Also:
        setAuthor(String), COBOLPackage.getIdentificationDivision_Author()
      • setAuthor

        void setAuthor(java.lang.String value)
        Sets the value of the 'Author' attribute.
        Parameters:
        value - the new value of the 'Author' attribute.
        See Also:
        getAuthor()
      • getInstallation

        java.lang.String getInstallation()
        Returns the value of the 'Installation' attribute.

        The value is the content of the INSTALLATION paragraph.

        Returns:
        the value of the 'Installation' attribute.
        See Also:
        setInstallation(String), COBOLPackage.getIdentificationDivision_Installation()
      • setInstallation

        void setInstallation(java.lang.String value)
        Sets the value of the 'Installation' attribute.
        Parameters:
        value - the new value of the 'Installation' attribute.
        See Also:
        getInstallation()
      • getDateWritten

        java.lang.String getDateWritten()
        Returns the value of the 'Date Written' attribute.

        The value is the content of the DATE-WRITTEN paragraph.

        Returns:
        the value of the 'Date Written' attribute.
        See Also:
        setDateWritten(String), COBOLPackage.getIdentificationDivision_DateWritten()
      • setDateWritten

        void setDateWritten(java.lang.String value)
        Sets the value of the 'Date Written' attribute.
        Parameters:
        value - the new value of the 'Date Written' attribute.
        See Also:
        getDateWritten()
      • getDateCompiled

        java.lang.String getDateCompiled()
        Returns the value of the 'Date Compiled' attribute.

        The value is the content of the DATE-COMPILED paragraph.

        Returns:
        the value of the 'Date Compiled' attribute.
        See Also:
        setDateCompiled(String), COBOLPackage.getIdentificationDivision_DateCompiled()
      • setDateCompiled

        void setDateCompiled(java.lang.String value)
        Sets the value of the 'Date Compiled' attribute.
        Parameters:
        value - the new value of the 'Date Compiled' attribute.
        See Also:
        getDateCompiled()
      • getSecurity

        java.lang.String getSecurity()
        Returns the value of the 'Security' attribute.

        The value is the content of the SECURITY paragraph.

        Returns:
        the value of the 'Security' attribute.
        See Also:
        setSecurity(String), COBOLPackage.getIdentificationDivision_Security()
      • setSecurity

        void setSecurity(java.lang.String value)
        Sets the value of the 'Security' attribute.
        Parameters:
        value - the new value of the 'Security' attribute.
        See Also:
        getSecurity()