org.eclipse.gmf.codegen.gmfgen
Interface GenLinkConstraints

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
GenLinkConstraintsImpl

public interface GenLinkConstraints
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Gen Link Constraints'. Groups constraints on the link source and target end

The following features are supported:

See Also:
GMFGenPackage.getGenLinkConstraints()

Method Summary
 String getConstraintsInstanceFieldName()
          Returns the name of the field holding Link Constraints instance
 GenLink getLink()
          Returns the value of the 'Link' container reference.
 org.eclipse.emf.codegen.ecore.genmodel.GenClass getLinkClass()
          The domain meta element class of the link restricted by this constraints
 GenConstraint getSourceEnd()
          Returns the value of the 'Source End' reference.
 org.eclipse.emf.codegen.ecore.genmodel.GenClass getSourceEndContextClass()
          The context class for the source end constraint evaluation
 GenConstraint getTargetEnd()
          Returns the value of the 'Target End' reference.
 org.eclipse.emf.codegen.ecore.genmodel.GenClass getTargetEndContextClass()
          The context class for the target end constraint evaluation
 boolean isValid()
           
 void setLink(GenLink value)
          Sets the value of the 'Link' container reference.
 void setSourceEnd(GenConstraint value)
          Sets the value of the 'Source End' reference.
 void setTargetEnd(GenConstraint value)
          Sets the value of the 'Target End' reference.
 
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

getLink

GenLink getLink()
Returns the value of the 'Link' container reference. It is bidirectional and its opposite is 'Creation Constraints'.

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

References the owning link of this constraints

Returns:
the value of the 'Link' container reference.
See Also:
setLink(GenLink), GMFGenPackage.getGenLinkConstraints_Link(), GenLink.getCreationConstraints()

setLink

void setLink(GenLink value)
Sets the value of the 'Link' container reference.

Parameters:
value - the new value of the 'Link' container reference.
See Also:
getLink()

getSourceEnd

GenConstraint getSourceEnd()
Returns the value of the 'Source End' reference.

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

Restriction enforced by the the source end, may reference variables 'oppositeEnd' pointing to targetEnd and 'link' denoting the link domainmetaElement instance if available.

Returns:
the value of the 'Source End' reference.
See Also:
setSourceEnd(GenConstraint), GMFGenPackage.getGenLinkConstraints_SourceEnd()

setSourceEnd

void setSourceEnd(GenConstraint value)
Sets the value of the 'Source End' reference.

Parameters:
value - the new value of the 'Source End' reference.
See Also:
getSourceEnd()

getTargetEnd

GenConstraint getTargetEnd()
Returns the value of the 'Target End' reference.

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

Restriction enforced by the the target end, may reference variables 'oppositeEnd' pointing to sourceEnd and 'link' denoting the link domainmetaElement instance if available.

Returns:
the value of the 'Target End' reference.
See Also:
setTargetEnd(GenConstraint), GMFGenPackage.getGenLinkConstraints_TargetEnd()

setTargetEnd

void setTargetEnd(GenConstraint value)
Sets the value of the 'Target End' reference.

Parameters:
value - the new value of the 'Target End' reference.
See Also:
getTargetEnd()

getLinkClass

org.eclipse.emf.codegen.ecore.genmodel.GenClass getLinkClass()
The domain meta element class of the link restricted by this constraints


getSourceEndContextClass

org.eclipse.emf.codegen.ecore.genmodel.GenClass getSourceEndContextClass()
The context class for the source end constraint evaluation


getTargetEndContextClass

org.eclipse.emf.codegen.ecore.genmodel.GenClass getTargetEndContextClass()
The context class for the target end constraint evaluation


getConstraintsInstanceFieldName

String getConstraintsInstanceFieldName()
Returns the name of the field holding Link Constraints instance


isValid

boolean isValid()



Copyright © 2011. All Rights Reserved.