com.ibm.etools.cobol.application.model.cobol
Interface CopyStmt

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

public interface CopyStmt
extends CompilerDirectingStmt

A representation of a COPY statement.

The following features are supported:

See Also:
COBOLPackage.getCopyStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 LibraryClause getLibraryClause()
          Returns the value of the 'Library Clause' containment reference.
 Literal getLiteral()
          Returns the value of the 'Literal' containment reference.
 CopyReplacingClause getReplacingClause()
          Returns the value of the 'Replacing Clause' containment reference.
 java.lang.String getTextName()
          Returns the value of the 'Text Name' attribute.
 boolean isSuppressUsed()
          Returns the value of the 'Suppress Used' attribute.
 void setLibraryClause(LibraryClause value)
          Sets the value of the 'Library Clause' containment reference.
 void setLiteral(Literal value)
          Sets the value of the 'Literal' containment reference.
 void setReplacingClause(CopyReplacingClause value)
          Sets the value of the 'Replacing Clause' containment reference.
 void setSuppressUsed(boolean value)
          Sets the value of the 'Suppress Used' attribute.
 void setTextName(java.lang.String value)
          Sets the value of the 'Text Name' 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

getTextName

java.lang.String getTextName()
Returns the value of the 'Text Name' attribute.

The value is the text name immediately following the COPY keyword; if a literal follows the COPY keyword, the value is null.

Returns:
the value of the 'Text Name' attribute.
See Also:
setTextName(String), COBOLPackage.getCopyStmt_TextName()

setTextName

void setTextName(java.lang.String value)
Sets the value of the 'Text Name' attribute.

Parameters:
value - the new value of the 'Text Name' attribute.
See Also:
getTextName()

getLiteral

Literal getLiteral()
Returns the value of the 'Literal' containment reference.

The value is the literal following the COPY keyword; if a text name follows the COPY keyword, the value is null.

Returns:
the value of the 'Literal' containment reference.
See Also:
setLiteral(Literal), COBOLPackage.getCopyStmt_Literal()

setLiteral

void setLiteral(Literal value)
Sets the value of the 'Literal' containment reference.

Parameters:
value - the new value of the 'Literal' containment reference.
See Also:
getLiteral()

getLibraryClause

LibraryClause getLibraryClause()
Returns the value of the 'Library Clause' containment reference.

The value is a representation of the library clause; if there is no library clause, the value is null.

Returns:
the value of the 'Library Clause' containment reference.
See Also:
setLibraryClause(LibraryClause), COBOLPackage.getCopyStmt_LibraryClause()

setLibraryClause

void setLibraryClause(LibraryClause value)
Sets the value of the 'Library Clause' containment reference.

Parameters:
value - the new value of the 'Library Clause' containment reference.
See Also:
getLibraryClause()

isSuppressUsed

boolean isSuppressUsed()
Returns the value of the 'Suppress Used' attribute.

The value is true if the SUPPRESS keyword is present; false otherwise.

Returns:
the value of the 'Suppress Used' attribute.
See Also:
setSuppressUsed(boolean), COBOLPackage.getCopyStmt_SuppressUsed()

setSuppressUsed

void setSuppressUsed(boolean value)
Sets the value of the 'Suppress Used' attribute.

Parameters:
value - the new value of the 'Suppress Used' attribute.
See Also:
isSuppressUsed()

getReplacingClause

CopyReplacingClause getReplacingClause()
Returns the value of the 'Replacing Clause' containment reference.

The value is a representation of the replacing clause; if there is no replacing clause, the value is null.

Returns:
the value of the 'Replacing Clause' containment reference.
See Also:
setReplacingClause(CopyReplacingClause), COBOLPackage.getCopyStmt_ReplacingClause()

setReplacingClause

void setReplacingClause(CopyReplacingClause value)
Sets the value of the 'Replacing Clause' containment reference.

Parameters:
value - the new value of the 'Replacing Clause' containment reference.
See Also:
getReplacingClause()