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, FuncPtrItem, NumericEditedItem, NumericItem, ObjectReferenceItem, PointerItem, ProcPtrItem, UnicodeEditedItem, 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
 DateFormatClause getDateFormatClause()
          Returns the value of the 'Date Format Clause' containment reference.
 java.lang.String getPictureString()
          Returns the value of the 'Picture String' attribute.
 UsageValues getUsage()
          Deprecated. Use getUsageClause() instead.

 UsageClause getUsageClause()
          Returns the value of the 'Usage Clause' containment reference.
 boolean isSynchronized()
          Returns the value of the 'Synchronized' attribute.
 void setDateFormatClause(DateFormatClause value)
          Sets the value of the 'Date Format Clause' containment reference.
 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)
          Deprecated. Use setUsageClause(UsageClause) instead.
 void setUsageClause(UsageClause value)
          Sets the value of the 'Usage Clause' containment reference.
 
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()
Deprecated. Use getUsageClause() instead.

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)
Deprecated. Use setUsageClause(UsageClause) instead.

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

getUsageClause

UsageClause getUsageClause()
Returns the value of the 'Usage Clause' containment reference.

The value is a representation of the USAGE clause. If the USAGE clause is not present, the value is null.

Returns:
the value of the 'Usage Clause' containment reference.
See Also:
setUsageClause(UsageClause), COBOLPackage.getElementaryDataItem_UsageClause()

setUsageClause

void setUsageClause(UsageClause value)
Sets the value of the 'Usage Clause' containment reference.

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

getDateFormatClause

DateFormatClause getDateFormatClause()
Returns the value of the 'Date Format Clause' containment reference.

The value is a representation of the DATE FORMAT clause, if one is present; if there is no DATE FORMAT clause, the value is null.

Returns:
the value of the 'Date Format Clause' containment reference.
See Also:
setDateFormatClause(DateFormatClause), COBOLPackage.getElementaryDataItem_DateFormatClause()

setDateFormatClause

void setDateFormatClause(DateFormatClause value)
Sets the value of the 'Date Format Clause' containment reference.

Parameters:
value - the new value of the 'Date Format Clause' containment reference.
See Also:
getDateFormatClause()