Interface RelativeAdjustment
- All Superinterfaces:
AdjustmentType,org.eclipse.emf.cdo.CDOObject,org.eclipse.emf.cdo.common.id.CDOWithID,EObject,Notifier
- All Known Implementing Classes:
RelativeAdjustmentImpl
A representation of the model object 'Relative Adjustment'.
The RelativeAdjustment denotes that the group is adjusted relatively to the current number of elements.
The RelativeAdjustment contains two parameters: the percentageGrowthValue and the minAdjustmentValue.
The percentageGrowthValue determines the change (increase/decrease) of the current capacity as a percentage value.
The minAdjustmentValue determines the minimal change of the current capacity.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of the 'Min Adjustment Value' attribute.intReturns the value of the 'Percentage Growth Value' attribute.voidsetMinAdjustmentValue(int value) Sets the value of the 'Min Adjustment Value' attribute.voidsetPercentageGrowthValue(int value) Sets the value of the 'Percentage Growth Value' attribute.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptionMethods 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
-
getPercentageGrowthValue
int getPercentageGrowthValue()Returns the value of the 'Percentage Growth Value' attribute. The default value is"100". The percantage value of adjustment e.g., a value of 10 denotes that 10% should be added to the existing capacity.- Returns:
- the value of the 'Percentage Growth Value' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="100" required="true"
-
setPercentageGrowthValue
void setPercentageGrowthValue(int value) Sets the value of the 'Percentage Growth Value' attribute.- Parameters:
value- the new value of the 'Percentage Growth Value' attribute.- See Also:
- Generated class or method.
-
getMinAdjustmentValue
int getMinAdjustmentValue()Returns the value of the 'Min Adjustment Value' attribute. The default value is"0". A minimum adjustment value in case the percentage is 0.- Returns:
- the value of the 'Min Adjustment Value' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="0" required="true"
-
setMinAdjustmentValue
void setMinAdjustmentValue(int value) Sets the value of the 'Min Adjustment Value' attribute.- Parameters:
value- the new value of the 'Min Adjustment Value' attribute.- See Also:
- Generated class or method.
-