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. The AUTHOR, INSTALLATION, DATE-WRITTEN, DATE-COMPILED, and SECURITY paragraphs are not supported.

The following features are supported:

See Also:
COBOLPackage.getIdentificationDivision()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getProgramId()
          Returns the value of the 'Program Id' 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 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.
 
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()