org.eclipse.gmt.modisco.omg.kdm.structure
Interface StructureRelationship

All Superinterfaces:
AbstractStructureRelationship, Element, KDMRelationship, ModelElement

public interface StructureRelationship
extends AbstractStructureRelationship

A representation of the model object 'Relationship'.

The following features are supported:

See Also:
StructurePackage.getStructureRelationship()
Generated:
Model:

Method Summary
 AbstractStructureElement getFrom()
          Returns the value of the 'From' reference.
 KDMEntity getTo()
          Returns the value of the 'To' reference.
 void setFrom(AbstractStructureElement value)
          Sets the value of the 'From' reference.
 void setTo(KDMEntity value)
          Sets the value of the 'To' reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.ModelElement
getStereotype, getTaggedValue
 
Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttribute
 

Method Detail

getTo

KDMEntity getTo()
Returns the value of the 'To' reference.

If the meaning of the 'To' reference isn't clear, there really should be more of a description here...

Specified by:
getTo in interface KDMRelationship
Returns:
the value of the 'To' reference.
See Also:
setTo(KDMEntity), StructurePackage.getStructureRelationship_To()
Generated:
Model:
required="true" ordered="false"

setTo

void setTo(KDMEntity value)
Sets the value of the 'To' reference.

Parameters:
value - the new value of the 'To' reference.
See Also:
getTo()
Generated:

getFrom

AbstractStructureElement getFrom()
Returns the value of the 'From' reference.

If the meaning of the 'From' reference isn't clear, there really should be more of a description here...

Specified by:
getFrom in interface KDMRelationship
Returns:
the value of the 'From' reference.
See Also:
setFrom(AbstractStructureElement), StructurePackage.getStructureRelationship_From()
Generated:
Model:
required="true" ordered="false"

setFrom

void setFrom(AbstractStructureElement value)
Sets the value of the 'From' reference.

Parameters:
value - the new value of the 'From' reference.
See Also:
getFrom()
Generated: