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

All Superinterfaces:
AbstractDataItem, ASTNode, DataItem, org.eclipse.emf.ecore.EObject, NamedElement, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
AddressingItem, AlphabeticItem, AlphaNumericEditedItem, AlphaNumericItem, DBCSItem, NumericEditedItem, NumericItem, ObjectReferenceItem, UnicodeItem

public interface ElementaryDataItem
extends DataItem

A representation of an elementary data item.

The following features are supported:

See Also:
COBOLPackage.getElementaryDataItem()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getPictureString()
          Returns the value of the 'Picture String' attribute.
 UsageValues getUsage()
          Returns the value of the 'Usage' attribute.
 boolean isSynchronized()
          Returns the value of the 'Synchronized' attribute.
 void setPictureString(java.lang.String value)
          Sets the value of the 'Picture String' attribute.
 void setSynchronized(boolean value)
          Sets the value of the 'Synchronized' attribute.
 void setUsage(UsageValues value)
          Sets the value of the 'Usage' attribute.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.DataItem
getConditions, getCopiedFrom, getCopiedFromUniqueID, getInitialValue, getLevel, getMaxOffsetWithinParent, getMaxSize, getRedefines, isIsFiller, setCopiedFrom, setCopiedFromUniqueID, setInitialValue, setIsFiller, setLevel, setMaxOffsetWithinParent, setMaxSize, setRedefines
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.NamedElement
getName, setName
 
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

getPictureString

java.lang.String getPictureString()
Returns the value of the 'Picture String' attribute.

The value is the character string of the PICTURE clause.

Returns:
the value of the 'Picture String' attribute.
See Also:
setPictureString(String), COBOLPackage.getElementaryDataItem_PictureString()

setPictureString

void setPictureString(java.lang.String value)
Sets the value of the 'Picture String' attribute.

Parameters:
value - the new value of the 'Picture String' attribute.
See Also:
getPictureString()

getUsage

UsageValues getUsage()
Returns the value of the 'Usage' attribute. The literals are from the enumeration UsageValues.

The value is the remainder of the USAGE clause after the USAGE keyword. If there is no USAGE keyword, a default value will be returned according to the rules in the language reference.

Returns:
the value of the 'Usage' attribute.
See Also:
UsageValues, setUsage(UsageValues), COBOLPackage.getElementaryDataItem_Usage()

setUsage

void setUsage(UsageValues value)
Sets the value of the 'Usage' attribute.

Parameters:
value - the new value of the 'Usage' attribute.
See Also:
UsageValues, getUsage()

isSynchronized

boolean isSynchronized()
Returns the value of the 'Synchronized' attribute.

The value is true if the SYNCHRONIZED clause is present; false otherwise.

Returns:
the value of the 'Synchronized' attribute.
See Also:
setSynchronized(boolean), COBOLPackage.getElementaryDataItem_Synchronized()

setSynchronized

void setSynchronized(boolean value)
Sets the value of the 'Synchronized' attribute.

Parameters:
value - the new value of the 'Synchronized' attribute.
See Also:
isSynchronized()