ujf.verimag.bip.cmodel.impl
Class CTextImpl

java.lang.Object
  extended by EObjectImpl
      extended by ujf.verimag.bip.cmodel.impl.CBodyItemImpl
          extended by ujf.verimag.bip.cmodel.impl.CStmImpl
              extended by ujf.verimag.bip.cmodel.impl.CTextImpl
All Implemented Interfaces:
CBodyItem, CItem, CStm, CText

public class CTextImpl
extends CStmImpl
implements CText

An implementation of the model object 'CText'.

The following features are implemented:


Field Summary
protected  java.lang.String cCode
          The cached value of the 'CCode' attribute.
protected static java.lang.String CCODE_EDEFAULT
          The default value of the 'CCode' attribute.
protected static boolean IN_BODY_FILE_EDEFAULT
          The default value of the 'In Body File' attribute.
protected  boolean inBodyFile
          The cached value of the 'In Body File' attribute.
protected  java.lang.String pragma
          The cached value of the 'Pragma' attribute.
protected static java.lang.String PRAGMA_EDEFAULT
          The default value of the 'Pragma' attribute.
protected  java.lang.String visibility
          The cached value of the 'Visibility' attribute.
protected static java.lang.String VISIBILITY_EDEFAULT
          The default value of the 'Visibility' attribute.
 
Constructor Summary
protected CTextImpl()
           
 
Method Summary
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getCCode()
           
 java.lang.String getPragma()
           
 java.lang.String getVisibility()
           
 boolean isInBodyFile()
           
 void setCCode(java.lang.String newCCode)
           
 void setInBodyFile(boolean newInBodyFile)
           
 void setPragma(java.lang.String newPragma)
           
 void setVisibility(java.lang.String newVisibility)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VISIBILITY_EDEFAULT

protected static final java.lang.String VISIBILITY_EDEFAULT
The default value of the 'Visibility' attribute.

See Also:
getVisibility()

visibility

protected java.lang.String visibility
The cached value of the 'Visibility' attribute.

See Also:
getVisibility()

CCODE_EDEFAULT

protected static final java.lang.String CCODE_EDEFAULT
The default value of the 'CCode' attribute.

See Also:
getCCode()

cCode

protected java.lang.String cCode
The cached value of the 'CCode' attribute.

See Also:
getCCode()

PRAGMA_EDEFAULT

protected static final java.lang.String PRAGMA_EDEFAULT
The default value of the 'Pragma' attribute.

See Also:
getPragma()

pragma

protected java.lang.String pragma
The cached value of the 'Pragma' attribute.

See Also:
getPragma()

IN_BODY_FILE_EDEFAULT

protected static final boolean IN_BODY_FILE_EDEFAULT
The default value of the 'In Body File' attribute.

See Also:
isInBodyFile(), Constant Field Values

inBodyFile

protected boolean inBodyFile
The cached value of the 'In Body File' attribute.

See Also:
isInBodyFile()
Constructor Detail

CTextImpl

protected CTextImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CStmImpl

getVisibility

public java.lang.String getVisibility()

Specified by:
getVisibility in interface CItem
Returns:
the value of the 'Visibility' attribute.
See Also:
CItem.setVisibility(String), CmodelPackage.getCItem_Visibility()

setVisibility

public void setVisibility(java.lang.String newVisibility)

Specified by:
setVisibility in interface CItem
Parameters:
newVisibility - the new value of the 'Visibility' attribute.
See Also:
CItem.getVisibility()

getCCode

public java.lang.String getCCode()

Specified by:
getCCode in interface CText
Returns:
the value of the 'CCode' attribute.
See Also:
CText.setCCode(String), CmodelPackage.getCText_CCode()

setCCode

public void setCCode(java.lang.String newCCode)

Specified by:
setCCode in interface CText
Parameters:
newCCode - the new value of the 'CCode' attribute.
See Also:
CText.getCCode()

getPragma

public java.lang.String getPragma()

Specified by:
getPragma in interface CText
Returns:
the value of the 'Pragma' attribute.
See Also:
CText.setPragma(String), CmodelPackage.getCText_Pragma()

setPragma

public void setPragma(java.lang.String newPragma)

Specified by:
setPragma in interface CText
Parameters:
newPragma - the new value of the 'Pragma' attribute.
See Also:
CText.getPragma()

isInBodyFile

public boolean isInBodyFile()

Specified by:
isInBodyFile in interface CText
Returns:
the value of the 'In Body File' attribute.
See Also:
CText.setInBodyFile(boolean), CmodelPackage.getCText_InBodyFile()

setInBodyFile

public void setInBodyFile(boolean newInBodyFile)

Specified by:
setInBodyFile in interface CText
Parameters:
newInBodyFile - the new value of the 'In Body File' attribute.
See Also:
CText.isInBodyFile()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)


eSet

public void eSet(int featureID,
                 java.lang.Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class baseClass)


eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class baseClass)


toString

public java.lang.String toString()