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()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getAuthor()
          Returns the value of the 'Author' attribute.
 java.lang.String getDateCompiled()
          Returns the value of the 'Date Compiled' attribute.
 java.lang.String getDateWritten()
          Returns the value of the 'Date Written' attribute.
 java.lang.String getInstallation()
          Returns the value of the 'Installation' attribute.
 java.lang.String getProgramId()
          Returns the value of the 'Program Id' attribute.
 java.lang.String getSecurity()
          Returns the value of the 'Security' attribute.
 boolean isIsCommon()
          Returns the value of the 'Is Common' attribute.
 boolean isIsInitial()
          Returns the value of the 'Is Initial' attribute.
 boolean isIsRecursive()
          Returns the value of the 'Is Recursive' attribute.
 void setAuthor(java.lang.String value)
          Sets the value of the 'Author' attribute.
 void setDateCompiled(java.lang.String value)
          Sets the value of the 'Date Compiled' attribute.
 void setDateWritten(java.lang.String value)
          Sets the value of the 'Date Written' attribute.
 void setInstallation(java.lang.String value)
          Sets the value of the 'Installation' attribute.
 void setIsCommon(boolean value)
          Sets the value of the 'Is Common' attribute.
 void setIsInitial(boolean value)
          Sets the value of the 'Is Initial' attribute.
 void setIsRecursive(boolean value)
          Sets the value of the 'Is Recursive' attribute.
 void setProgramId(java.lang.String value)
          Sets the value of the 'Program Id' attribute.
 void setSecurity(java.lang.String value)
          Sets the value of the 'Security' attribute.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ASTNode
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTag
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
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()