org.eclipse.gmf.codegen.gmfgen
Interface TypeLinkModelFacet

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LinkModelFacet, ModelFacet, org.eclipse.emf.common.notify.Notifier, TypeModelFacet
All Known Implementing Classes:
TypeLinkModelFacetImpl

public interface TypeLinkModelFacet
extends TypeModelFacet, LinkModelFacet

A representation of the model object 'Type Link Model Facet'. Model facet of an EClass that associates two EClasses

The following features are supported:

See Also:
GMFGenPackage.getTypeLinkModelFacet()
Generated
Model Properties:
annotation="http://www.eclipse.org/gmf/2005/constraints ocl='not containmentMetaFeature.oclIsUndefined()' description='Link \'Containment Meta Feature\' must be specified'"

Method Summary
 org.eclipse.emf.codegen.ecore.genmodel.GenFeature getSourceMetaFeature()
          Returns the value of the 'Source Meta Feature' reference.
 org.eclipse.emf.codegen.ecore.genmodel.GenFeature getTargetMetaFeature()
          Returns the value of the 'Target Meta Feature' reference.
 void setSourceMetaFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature value)
          Sets the value of the 'Source Meta Feature' reference.
 void setTargetMetaFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature value)
          Sets the value of the 'Target Meta Feature' reference.
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.TypeModelFacet
getChildMetaFeature, getContainmentMetaFeature, getMetaClass, getModelElementInitializer, getModelElementSelector, isPhantomElement, setChildMetaFeature, setContainmentMetaFeature, setMetaClass, setModelElementInitializer, setModelElementSelector
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.LinkModelFacet
getAssistantSourceTypes, getAssistantTargetTypes, getSourceType, getTargetType
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getSourceMetaFeature

org.eclipse.emf.codegen.ecore.genmodel.GenFeature getSourceMetaFeature()
Returns the value of the 'Source Meta Feature' reference.

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

If source feature is not specified then link container is a link source

Returns:
the value of the 'Source Meta Feature' reference.
See Also:
setSourceMetaFeature(GenFeature), GMFGenPackage.getTypeLinkModelFacet_SourceMetaFeature()
Generated
Model Properties:
annotation="http://www.eclipse.org/gmf/2005/constraints ocl='not sourceMetaFeature.oclIsUndefined() implies sourceMetaFeature.genClass.ecoreClass.isSuperTypeOf(metaClass.ecoreClass)' description='Link \'Source Meta Feature\' must be owned by link \'Meta Class\' or its super-class'"

setSourceMetaFeature

void setSourceMetaFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature value)
Sets the value of the 'Source Meta Feature' reference.

Parameters:
value - the new value of the 'Source Meta Feature' reference.
See Also:
getSourceMetaFeature()
Generated

getTargetMetaFeature

org.eclipse.emf.codegen.ecore.genmodel.GenFeature getTargetMetaFeature()
Returns the value of the 'Target Meta Feature' reference.

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

Returns:
the value of the 'Target Meta Feature' reference.
See Also:
setTargetMetaFeature(GenFeature), GMFGenPackage.getTypeLinkModelFacet_TargetMetaFeature()
Generated
Model Properties:
required="true" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='not targetMetaFeature.oclIsUndefined() implies targetMetaFeature.genClass.ecoreClass.isSuperTypeOf(metaClass.ecoreClass)' description='Link \'Target Meta Feature\' must be owned by link \'Meta Class\' or its super-class'"

setTargetMetaFeature

void setTargetMetaFeature(org.eclipse.emf.codegen.ecore.genmodel.GenFeature value)
Sets the value of the 'Target Meta Feature' reference.

Parameters:
value - the new value of the 'Target Meta Feature' reference.
See Also:
getTargetMetaFeature()
Generated


Copyright © 2012. All Rights Reserved.