Class RosettaCardinalityImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
com.regnosys.rosetta.rosetta.impl.RosettaCardinalityImpl
- All Implemented Interfaces:
RosettaCardinality,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
public class RosettaCardinalityImpl
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
implements RosettaCardinality
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final booleanThe default value of the 'Empty' attribute.protected intThe cached value of the 'Inf' attribute.protected static final intThe default value of the 'Inf' attribute.protected static final booleanThe default value of the 'Is Many' attribute.protected static final booleanThe default value of the 'Optional' attribute.protected static final booleanThe default value of the 'Plural' attribute.protected static final booleanThe default value of the 'Singular' attribute.protected intThe cached value of the 'Sup' attribute.protected static final intThe default value of the 'Sup' attribute.protected booleanThe cached value of the 'Unbounded' attribute.protected static final booleanThe default value of the 'Unbounded' attribute.Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainerFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(RosettaCardinality other) booleaninteGet(int featureID, boolean resolve, boolean coreType) booleaneIsSet(int featureID) voidprotected org.eclipse.emf.ecore.EClassvoideUnset(int featureID) intgetInf()intgetSup()booleanisEmpty()booleanisIsMany()booleanbooleanisPlural()booleanbooleanisSubconstraintOf(RosettaCardinality superConstraint) booleanmultiply(RosettaCardinality other) operator_plus(RosettaCardinality other) voidsetInf(int newInf) voidsetSup(int newSup) voidsetUnbounded(boolean newUnbounded) toString()Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
INF_EDEFAULT
protected static final int INF_EDEFAULTThe default value of the 'Inf' attribute.- See Also:
-
inf
protected int infThe cached value of the 'Inf' attribute.- See Also:
-
SUP_EDEFAULT
protected static final int SUP_EDEFAULTThe default value of the 'Sup' attribute.- See Also:
-
sup
protected int supThe cached value of the 'Sup' attribute.- See Also:
-
UNBOUNDED_EDEFAULT
protected static final boolean UNBOUNDED_EDEFAULTThe default value of the 'Unbounded' attribute.- See Also:
-
unbounded
protected boolean unboundedThe cached value of the 'Unbounded' attribute.- See Also:
-
IS_MANY_EDEFAULT
protected static final boolean IS_MANY_EDEFAULTThe default value of the 'Is Many' attribute.- See Also:
-
EMPTY_EDEFAULT
protected static final boolean EMPTY_EDEFAULTThe default value of the 'Empty' attribute.- See Also:
-
OPTIONAL_EDEFAULT
protected static final boolean OPTIONAL_EDEFAULTThe default value of the 'Optional' attribute.- See Also:
-
SINGULAR_EDEFAULT
protected static final boolean SINGULAR_EDEFAULTThe default value of the 'Singular' attribute.- See Also:
-
PLURAL_EDEFAULT
protected static final boolean PLURAL_EDEFAULTThe default value of the 'Plural' attribute.- See Also:
-
-
Constructor Details
-
RosettaCardinalityImpl
protected RosettaCardinalityImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getInf
public int getInf()- Specified by:
getInfin interfaceRosettaCardinality- Returns:
- the value of the 'Inf' attribute.
- See Also:
-
setInf
public void setInf(int newInf) - Specified by:
setInfin interfaceRosettaCardinality- Parameters:
newInf- the new value of the 'Inf' attribute.- See Also:
-
getSup
public int getSup()- Specified by:
getSupin interfaceRosettaCardinality- Returns:
- the value of the 'Sup' attribute.
- See Also:
-
setSup
public void setSup(int newSup) - Specified by:
setSupin interfaceRosettaCardinality- Parameters:
newSup- the new value of the 'Sup' attribute.- See Also:
-
isUnbounded
public boolean isUnbounded()- Specified by:
isUnboundedin interfaceRosettaCardinality- Returns:
- the value of the 'Unbounded' attribute.
- See Also:
-
setUnbounded
public void setUnbounded(boolean newUnbounded) - Specified by:
setUnboundedin interfaceRosettaCardinality- Parameters:
newUnbounded- the new value of the 'Unbounded' attribute.- See Also:
-
isIsMany
public boolean isIsMany()- Specified by:
isIsManyin interfaceRosettaCardinality- Returns:
- the value of the 'Is Many' attribute.
- See Also:
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceRosettaCardinality- Returns:
- the value of the 'Empty' attribute.
- See Also:
-
isOptional
public boolean isOptional()- Specified by:
isOptionalin interfaceRosettaCardinality- Returns:
- the value of the 'Optional' attribute.
- See Also:
-
isSingular
public boolean isSingular()- Specified by:
isSingularin interfaceRosettaCardinality- Returns:
- the value of the 'Singular' attribute.
- See Also:
-
isPlural
public boolean isPlural()- Specified by:
isPluralin interfaceRosettaCardinality- Returns:
- the value of the 'Plural' attribute.
- See Also:
-
toConstraintString
- Specified by:
toConstraintStringin interfaceRosettaCardinality
-
constraintEquals
- Specified by:
constraintEqualsin interfaceRosettaCardinality
-
constraintHashCode
public int constraintHashCode()- Specified by:
constraintHashCodein interfaceRosettaCardinality
-
isSubconstraintOf
- Specified by:
isSubconstraintOfin interfaceRosettaCardinality
-
add
- Specified by:
addin interfaceRosettaCardinality
-
operator_plus
- Specified by:
operator_plusin interfaceRosettaCardinality
-
multiply
- Specified by:
multiplyin interfaceRosettaCardinality
-
operator_multiply
- Specified by:
operator_multiplyin interfaceRosettaCardinality
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-