Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by EObjectImpl
      extended by com.ibm.etools.systems.app.model.impl.RelationshipImpl
          extended by com.ibm.etools.systems.app.model.src.impl.IncludesRelationshipImpl
All Implemented Interfaces:
Relationship, IncludesRelationship

public class IncludesRelationshipImpl
extends RelationshipImpl
implements IncludesRelationship

An implementation of the model object 'Includes Relationship'.

The following features are implemented:


Field Summary
static String copyright
           
protected static int SOURCE_POSITION_EDEFAULT
          The default value of the 'Source Position' attribute.
protected  int sourcePosition
          The cached value of the 'Source Position' attribute.
 
Fields inherited from class com.ibm.etools.systems.app.model.impl.RelationshipImpl
source, subtype, SUBTYPE_EDEFAULT, target, type, TYPE_EDEFAULT
 
Constructor Summary
protected IncludesRelationshipImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getSourcePosition()
           
 void setSourcePosition(int newSourcePosition)
           
 String toString()
           
 
Methods inherited from class com.ibm.etools.systems.app.model.impl.RelationshipImpl
basicGetSource, basicGetTarget, getSource, getSubtype, getTarget, getType, setSource, setSubtype, setTarget, setType
 
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.Relationship
getSource, getSubtype, getTarget, getType, setSource, setSubtype, setTarget, setType
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

SOURCE_POSITION_EDEFAULT

protected static final int SOURCE_POSITION_EDEFAULT
The default value of the 'Source Position' attribute.

See Also:
getSourcePosition(), Constant Field Values

sourcePosition

protected int sourcePosition
The cached value of the 'Source Position' attribute.

See Also:
getSourcePosition()
Constructor Detail

IncludesRelationshipImpl

protected IncludesRelationshipImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class RelationshipImpl

getSourcePosition

public int getSourcePosition()

Specified by:
getSourcePosition in interface IncludesRelationship
Returns:
the value of the 'Source Position' attribute.
See Also:
IncludesRelationship.setSourcePosition(int), SrcPackage.getIncludesRelationship_SourcePosition()

setSourcePosition

public void setSourcePosition(int newSourcePosition)

Specified by:
setSourcePosition in interface IncludesRelationship
Parameters:
newSourcePosition - the new value of the 'Source Position' attribute.
See Also:
IncludesRelationship.getSourcePosition()

eGet

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

Overrides:
eGet in class RelationshipImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class RelationshipImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class RelationshipImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class RelationshipImpl

toString

public String toString()

Overrides:
toString in class RelationshipImpl

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.