Rational Developer for Power Systems Software
V7.6

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

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.SourceContainerImpl
All Implemented Interfaces:
Artifact, SourceContainer

public class SourceContainerImpl
extends ArtifactImpl
implements SourceContainer

An implementation of the model object 'Source Container'.

The following features are implemented:


Field Summary
protected  EList callableblocks
          The cached value of the 'Callableblocks' containment reference list.
static String copyright
           
protected static String SOURCE_TYPE_EDEFAULT
          The default value of the 'Source Type' attribute.
protected  String sourceType
          The cached value of the 'Source Type' 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 SourceContainerImpl()
           
 
Method Summary
 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)
           
 EList getCallableblocks()
           
 List getIncludes()
          Return a list of all SourceContainers included by this SourceContainer.
 String getSourceType()
           
 void setSourceType(String newSourceType)
           
 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

SOURCE_TYPE_EDEFAULT

protected static final String SOURCE_TYPE_EDEFAULT
The default value of the 'Source Type' attribute.

See Also:
getSourceType()

sourceType

protected String sourceType
The cached value of the 'Source Type' attribute.

See Also:
getSourceType()

callableblocks

protected EList callableblocks
The cached value of the 'Callableblocks' containment reference list.

See Also:
getCallableblocks()
Constructor Detail

SourceContainerImpl

protected SourceContainerImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ArtifactImpl

getSourceType

public String getSourceType()

Specified by:
getSourceType in interface SourceContainer
Returns:
the value of the 'Source Type' attribute.
See Also:
SourceContainer.setSourceType(String), SrcPackage.getSourceContainer_SourceType()

setSourceType

public void setSourceType(String newSourceType)

Specified by:
setSourceType in interface SourceContainer
Parameters:
newSourceType - the new value of the 'Source Type' attribute.
See Also:
SourceContainer.getSourceType()

getCallableblocks

public EList getCallableblocks()

Specified by:
getCallableblocks in interface SourceContainer
Returns:
the value of the 'Callableblocks' containment reference list.
See Also:
SrcPackage.getSourceContainer_Callableblocks(), CallableBlock.getSourceContainer()

eInverseAdd

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


eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        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

getIncludes

public List getIncludes()
Return a list of all SourceContainers included by this SourceContainer. Note: this method cannot be used to add new includes. Use the IncludesRelationshipto add new includes.

Specified by:
getIncludes in interface SourceContainer
Returns:
A list of SourceContainers

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.