Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.app.model.src.impl
Class CallableBlockImpl

java.lang.Object
  extended by EObjectImpl
      extended by com.ibm.etools.systems.app.model.impl.ArtifactImpl
          extended by com.ibm.etools.systems.app.model.src.impl.CallableBlockImpl
All Implemented Interfaces:
Artifact, CallableBlock
Direct Known Subclasses:
CallableBlockWithSignatureImpl

public class CallableBlockImpl
extends ArtifactImpl
implements CallableBlock

An implementation of the model object 'Callable Block'.

The following features are implemented:


Field Summary
static String copyright
           
protected static int END_POSITION_EDEFAULT
          The default value of the 'End Position' attribute.
protected  int endPosition
          The cached value of the 'End Position' attribute.
protected static int START_POSITION_EDEFAULT
          The default value of the 'Start Position' attribute.
protected  int startPosition
          The cached value of the 'Start Position' attribute.
 
Fields inherited from class com.ibm.etools.systems.app.model.impl.ArtifactImpl
external, EXTERNAL_EDEFAULT, location, LOCATION_EDEFAULT, name, NAME_EDEFAULT, subtype, SUBTYPE_EDEFAULT, type, TYPE_EDEFAULT, version, VERSION_EDEFAULT
 
Constructor Summary
protected CallableBlockImpl()
           
 
Method Summary
 NotificationChain basicSetSourceContainer(SourceContainer newSourceContainer, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getEndPosition()
           
 SourceContainer getSourceContainer()
           
 int getStartPosition()
           
 void setEndPosition(int newEndPosition)
           
 void setSourceContainer(SourceContainer newSourceContainer)
           
 void setStartPosition(int newStartPosition)
           
 String toString()
           
 
Methods inherited from class com.ibm.etools.systems.app.model.impl.ArtifactImpl
getLocation, getName, getSubtype, getType, getVersion, isExternal, setExternal, setLocation, setName, setSubtype, setType, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.systems.app.model.Artifact
getLocation, getName, getSubtype, getType, getVersion, isExternal, setExternal, setLocation, setName, setSubtype, setType, setVersion
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

START_POSITION_EDEFAULT

protected static final int START_POSITION_EDEFAULT
The default value of the 'Start Position' attribute.

See Also:
getStartPosition(), Constant Field Values

startPosition

protected int startPosition
The cached value of the 'Start Position' attribute.

See Also:
getStartPosition()

END_POSITION_EDEFAULT

protected static final int END_POSITION_EDEFAULT
The default value of the 'End Position' attribute.

See Also:
getEndPosition(), Constant Field Values

endPosition

protected int endPosition
The cached value of the 'End Position' attribute.

See Also:
getEndPosition()
Constructor Detail

CallableBlockImpl

protected CallableBlockImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ArtifactImpl

getStartPosition

public int getStartPosition()

Specified by:
getStartPosition in interface CallableBlock
Returns:
the value of the 'Start Position' attribute.
See Also:
CallableBlock.setStartPosition(int), SrcPackage.getCallableBlock_StartPosition()

setStartPosition

public void setStartPosition(int newStartPosition)

Specified by:
setStartPosition in interface CallableBlock
Parameters:
newStartPosition - the new value of the 'Start Position' attribute.
See Also:
CallableBlock.getStartPosition()

getEndPosition

public int getEndPosition()

Specified by:
getEndPosition in interface CallableBlock
Returns:
the value of the 'End Position' attribute.
See Also:
CallableBlock.setEndPosition(int), SrcPackage.getCallableBlock_EndPosition()

setEndPosition

public void setEndPosition(int newEndPosition)

Specified by:
setEndPosition in interface CallableBlock
Parameters:
newEndPosition - the new value of the 'End Position' attribute.
See Also:
CallableBlock.getEndPosition()

getSourceContainer

public SourceContainer getSourceContainer()

Specified by:
getSourceContainer in interface CallableBlock
Returns:
the value of the 'Source Container' container reference.
See Also:
CallableBlock.setSourceContainer(SourceContainer), SrcPackage.getCallableBlock_SourceContainer(), SourceContainer.getCallableblocks()

basicSetSourceContainer

public NotificationChain basicSetSourceContainer(SourceContainer newSourceContainer,
                                                 NotificationChain msgs)


setSourceContainer

public void setSourceContainer(SourceContainer newSourceContainer)

Specified by:
setSourceContainer in interface CallableBlock
Parameters:
newSourceContainer - the new value of the 'Source Container' container reference.
See Also:
CallableBlock.getSourceContainer()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     NotificationChain msgs)


eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Overrides:
eGet in class ArtifactImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class ArtifactImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class ArtifactImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class ArtifactImpl

toString

public String toString()

Overrides:
toString in class ArtifactImpl

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.