Interface ReferenceDeclaration
- All Superinterfaces:
AnnotatedElement
,org.eclipse.emf.ecore.EObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,Relation
- All Known Implementing Classes:
ReferenceDeclarationImpl
A representation of the model object 'Reference Declaration'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Invalid Multiplicity' containment reference.getKind()
Returns the value of the 'Kind' attribute.Returns the value of the 'Multiplicity' containment reference.Returns the value of the 'Opposite' reference.Returns the value of the 'Reference Type' reference.org.eclipse.emf.common.util.EList
<Relation> Returns the value of the 'Super Sets' reference list.void
setInvalidMultiplicity
(Relation value) Sets the value of the 'Invalid Multiplicity
' containment reference.void
setKind
(ReferenceKind value) Sets the value of the 'Kind
' attribute.void
setMultiplicity
(Multiplicity value) Sets the value of the 'Multiplicity
' containment reference.void
setOpposite
(ReferenceDeclaration value) Sets the value of the 'Opposite
' reference.void
setReferenceType
(Relation value) Sets the value of the 'Reference Type
' reference.Methods inherited from interface tools.refinery.language.model.problem.AnnotatedElement
getAnnotations, setAnnotations
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 tools.refinery.language.model.problem.NamedElement
getName, setName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getOpposite
ReferenceDeclaration getOpposite()Returns the value of the 'Opposite' reference.- Returns:
- the value of the 'Opposite' reference.
- See Also:
-
setOpposite
Sets the value of the 'Opposite
' reference.- Parameters:
value
- the new value of the 'Opposite' reference.- See Also:
-
getMultiplicity
Multiplicity getMultiplicity()Returns the value of the 'Multiplicity' containment reference.- Returns:
- the value of the 'Multiplicity' containment reference.
- See Also:
-
setMultiplicity
Sets the value of the 'Multiplicity
' containment reference.- Parameters:
value
- the new value of the 'Multiplicity' containment reference.- See Also:
-
getKind
ReferenceKind getKind()Returns the value of the 'Kind' attribute. The literals are from the enumerationReferenceKind
.- Returns:
- the value of the 'Kind' attribute.
- See Also:
-
setKind
Sets the value of the 'Kind
' attribute.- Parameters:
value
- the new value of the 'Kind' attribute.- See Also:
-
getReferenceType
Relation getReferenceType()Returns the value of the 'Reference Type' reference.- Returns:
- the value of the 'Reference Type' reference.
- See Also:
-
setReferenceType
Sets the value of the 'Reference Type
' reference.- Parameters:
value
- the new value of the 'Reference Type' reference.- See Also:
-
getInvalidMultiplicity
Relation getInvalidMultiplicity()Returns the value of the 'Invalid Multiplicity' containment reference.- Returns:
- the value of the 'Invalid Multiplicity' containment reference.
- See Also:
-
setInvalidMultiplicity
Sets the value of the 'Invalid Multiplicity
' containment reference.- Parameters:
value
- the new value of the 'Invalid Multiplicity' containment reference.- See Also:
-
getSuperSets
org.eclipse.emf.common.util.EList<Relation> getSuperSets()Returns the value of the 'Super Sets' reference list. The list contents are of typeRelation
.- Returns:
- the value of the 'Super Sets' reference list.
- See Also:
-