Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.app.model.impl
Class RelationshipImpl

java.lang.Object
  extended by EObjectImpl
      extended by com.ibm.etools.systems.app.model.impl.RelationshipImpl
All Implemented Interfaces:
Relationship
Direct Known Subclasses:
BoundRelationshipImpl, CallsRelationshipImpl, IncludesRelationshipImpl, InvokesRelationshipImpl

public class RelationshipImpl
extends EObjectImpl
implements Relationship

An implementation of the model object 'Relationship'.

The following features are implemented:


Field Summary
static String copyright
           
protected  Artifact source
          The cached value of the 'Source' reference.
protected  String subtype
          The cached value of the 'Subtype' attribute.
protected static String SUBTYPE_EDEFAULT
          The default value of the 'Subtype' attribute.
protected  Artifact target
          The cached value of the 'Target' reference.
protected  String type
          The cached value of the 'Type' attribute.
protected static String TYPE_EDEFAULT
          The default value of the 'Type' attribute.
 
Constructor Summary
protected RelationshipImpl()
           
 
Method Summary
 Artifact basicGetSource()
           
 Artifact basicGetTarget()
           
 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)
           
 Artifact getSource()
           
 String getSubtype()
           
 Artifact getTarget()
           
 String getType()
           
 void setSource(Artifact newSource)
           
 void setSubtype(String newSubtype)
           
 void setTarget(Artifact newTarget)
           
 void setType(String newType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

source

protected Artifact source
The cached value of the 'Source' reference.

See Also:
getSource()

target

protected Artifact target
The cached value of the 'Target' reference.

See Also:
getTarget()

TYPE_EDEFAULT

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

See Also:
getType()

type

protected String type
The cached value of the 'Type' attribute.

See Also:
getType()

SUBTYPE_EDEFAULT

protected static final String SUBTYPE_EDEFAULT
The default value of the 'Subtype' attribute.

See Also:
getSubtype()

subtype

protected String subtype
The cached value of the 'Subtype' attribute.

See Also:
getSubtype()
Constructor Detail

RelationshipImpl

protected RelationshipImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getSource

public Artifact getSource()

Specified by:
getSource in interface Relationship
Returns:
the value of the 'Source' reference.
See Also:
Relationship.setSource(Artifact), ModelPackage.getRelationship_Source()

basicGetSource

public Artifact basicGetSource()


setSource

public void setSource(Artifact newSource)

Specified by:
setSource in interface Relationship
Parameters:
newSource - the new value of the 'Source' reference.
See Also:
Relationship.getSource()

getTarget

public Artifact getTarget()

Specified by:
getTarget in interface Relationship
Returns:
the value of the 'Target' reference.
See Also:
Relationship.setTarget(Artifact), ModelPackage.getRelationship_Target()

basicGetTarget

public Artifact basicGetTarget()


setTarget

public void setTarget(Artifact newTarget)

Specified by:
setTarget in interface Relationship
Parameters:
newTarget - the new value of the 'Target' reference.
See Also:
Relationship.getTarget()

getType

public String getType()

Specified by:
getType in interface Relationship
Returns:
the value of the 'Type' attribute.
See Also:
Relationship.setType(String), ModelPackage.getRelationship_Type()

setType

public void setType(String newType)

Specified by:
setType in interface Relationship
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
Relationship.getType()

getSubtype

public String getSubtype()

Specified by:
getSubtype in interface Relationship
Returns:
the value of the 'Subtype' attribute.
See Also:
Relationship.setSubtype(String), ModelPackage.getRelationship_Subtype()

setSubtype

public void setSubtype(String newSubtype)

Specified by:
setSubtype in interface Relationship
Parameters:
newSubtype - the new value of the 'Subtype' attribute.
See Also:
Relationship.getSubtype()

eGet

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


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()


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.