org.eclipse.gmt.modisco.omg.kdm.code
Interface InstanceOf

All Superinterfaces:
AbstractCodeRelationship, Element, KDMRelationship, ModelElement

public interface InstanceOf
extends AbstractCodeRelationship

A representation of the model object 'Instance Of'.

The following features are supported:

See Also:
CodePackage.getInstanceOf()
Generated:
Model:

Method Summary
 AbstractCodeElement getFrom()
          Returns the value of the 'From' reference.
 TemplateUnit getTo()
          Returns the value of the 'To' reference.
 void setFrom(AbstractCodeElement value)
          Sets the value of the 'From' reference.
 void setTo(TemplateUnit 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

TemplateUnit 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(TemplateUnit), CodePackage.getInstanceOf_To()
Generated:
Model:
required="true" ordered="false"

setTo

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

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

getFrom

AbstractCodeElement 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(AbstractCodeElement), CodePackage.getInstanceOf_From()
Generated:
Model:
required="true" ordered="false"

setFrom

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

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