Package com.regnosys.rosetta.rosetta
Interface RosettaCardinality
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
RosettaCardinalityImpl
public interface RosettaCardinality
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Cardinality'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(RosettaCardinality other) booleanintintgetInf()Returns the value of the 'Inf' attribute.intgetSup()Returns the value of the 'Sup' attribute.booleanisEmpty()Returns the value of the 'Empty' attribute.booleanisIsMany()Returns the value of the 'Is Many' attribute.booleanReturns the value of the 'Optional' attribute.booleanisPlural()Returns the value of the 'Plural' attribute.booleanReturns the value of the 'Singular' attribute.booleanisSubconstraintOf(RosettaCardinality superConstraint) booleanReturns the value of the 'Unbounded' attribute.multiply(RosettaCardinality other) operator_plus(RosettaCardinality other) voidsetInf(int value) Sets the value of the 'Inf' attribute.voidsetSup(int value) Sets the value of the 'Sup' attribute.voidsetUnbounded(boolean value) Sets the value of the 'Unbounded' attribute.Methods 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.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getInf
int getInf()Returns the value of the 'Inf' attribute.- Returns:
- the value of the 'Inf' attribute.
- See Also:
-
setInf
void setInf(int value) Sets the value of the 'Inf' attribute.- Parameters:
value- the new value of the 'Inf' attribute.- See Also:
-
getSup
int getSup()Returns the value of the 'Sup' attribute.- Returns:
- the value of the 'Sup' attribute.
- See Also:
-
setSup
void setSup(int value) Sets the value of the 'Sup' attribute.- Parameters:
value- the new value of the 'Sup' attribute.- See Also:
-
isUnbounded
boolean isUnbounded()Returns the value of the 'Unbounded' attribute.- Returns:
- the value of the 'Unbounded' attribute.
- See Also:
-
setUnbounded
void setUnbounded(boolean value) Sets the value of the 'Unbounded' attribute.- Parameters:
value- the new value of the 'Unbounded' attribute.- See Also:
-
isIsMany
boolean isIsMany()Returns the value of the 'Is Many' attribute.- Returns:
- the value of the 'Is Many' attribute.
- See Also:
-
isEmpty
boolean isEmpty()Returns the value of the 'Empty' attribute.- Returns:
- the value of the 'Empty' attribute.
- See Also:
-
isOptional
boolean isOptional()Returns the value of the 'Optional' attribute.- Returns:
- the value of the 'Optional' attribute.
- See Also:
-
isSingular
boolean isSingular()Returns the value of the 'Singular' attribute.- Returns:
- the value of the 'Singular' attribute.
- See Also:
-
isPlural
boolean isPlural()Returns the value of the 'Plural' attribute.- Returns:
- the value of the 'Plural' attribute.
- See Also:
-
toConstraintString
String toConstraintString() -
constraintEquals
-
constraintHashCode
int constraintHashCode() -
isSubconstraintOf
-
add
-
operator_plus
-
multiply
-
operator_multiply
-