Interface RestrictionOf
- All Superinterfaces:
AbstractDataRelationship,Element,org.eclipse.emf.ecore.EObject,KDMRelationship,ModelElement,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
RestrictionOfImpl
public interface RestrictionOf extends AbstractDataRelationship
A representation of the model object 'Restriction Of'.
The following features are supported:
- See Also:
DataPackage.getRestrictionOf()
-
Method Summary
Modifier and Type Method Description ComplexContentTypegetFrom()Returns the value of the 'From' reference.ComplexContentTypegetTo()Returns the value of the 'To' reference.voidsetFrom(ComplexContentType value)Sets the value of the 'From' reference.voidsetTo(ComplexContentType value)Sets the value of the 'To' reference.Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element
getAnnotation, getAttributeMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.ModelElement
getStereotype, getTaggedValueMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getTo
ComplexContentType getTo()Returns the value of the 'To' reference.- Specified by:
getToin interfaceKDMRelationship- Returns:
- the value of the 'To' reference.
- See Also:
setTo(ComplexContentType),DataPackage.getRestrictionOf_To()
-
setTo
Sets the value of the 'To' reference.- Parameters:
value- the new value of the 'To' reference.- See Also:
getTo()
-
getFrom
ComplexContentType getFrom()Returns the value of the 'From' reference.- Specified by:
getFromin interfaceKDMRelationship- Returns:
- the value of the 'From' reference.
- See Also:
setFrom(ComplexContentType),DataPackage.getRestrictionOf_From()
-
setFrom
Sets the value of the 'From' reference.- Parameters:
value- the new value of the 'From' reference.- See Also:
getFrom()
-