Interface ELMultiplicityAble
- All Superinterfaces:
ELContainerAble,ELDeleteAble,ELElement,ELObject
- All Known Subinterfaces:
ACVariable,ANActionInputPin,ANInputPin,ANOutputPin,ANPin,ANValuePin,BI2DimensionLevel,BI2HierarchyLevel,BIHierarchyLevel,BPParticipant,CLConnectorEnd,CLParameter,CLPort,CLProperty,CLStructureEntry,CLStructureGroup,DBColumn,DBTableColumn,DBViewColumn,DBViewFrom,DBViewSubselectFrom,ELM2Attribute,ELMultiplicityAbleTypedElement,ELProperty,ELStructFeature,ELViewGroup,ERAttribute,ERRole,ERUsedAttribute,ERViewAttribute,ERViewFrom,ERViewSubselectFrom,IMProperty,IMStructuralFeature,IMViewFrom,IMViewSubselectFrom,MM2Attribute
This is a utility class for ELMultiplicityAble that provides static methods for creation or other purposes.
- Note:
- The interface ELMultiplicityAble describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetLower()Specifies the lower bound of the multiplicity interval if it is expressed as an integer.This multiplicity's lower bound.This element's lower and upper boundary values.getUpper()Specifies the upper bound of the multiplicity interval, if it is expressed as an unlimited natural.This multiplicity's upper bound.booleanIf true, the multiplicity of this element has 1 as lower and upper bound.booleanIf true, the upper bound is 1.booleanisMany()True if thisELMultiplicityAblemay exist more than once.booleanChecks whether this feature's multiplicity has an upper bound greater than one.booleanTrue if the occurrence thisELMultiplicityAbleis optional.booleanThis attribute specifies whether the values in an instantiation of this element are sequentially ordered for a multivalued multiplicity.booleanisUnique()This attribute specifies whether the values in an instantiation of this element are unique for a multivalued multiplicity.voidSet the value of Attribut Lower.voidsetMany(boolean value) Set the value of Info IsMany.voidsetOptional(boolean value) Set the value of Info IsOptional.voidsetOrdered(boolean value) Set the value of Attribut IsOrdered.voidsetUnique(boolean value) Set the value of Attribut IsUnique.voidSet the value of Attribut Upper.Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Method Details
-
getLower
Specifies the lower bound of the multiplicity interval if it is expressed as an integer.- Throws:
InoNetExceptionSrvErrorException
-
setLower
Set the value of Attribut Lower.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getUpper
Specifies the upper bound of the multiplicity interval, if it is expressed as an unlimited natural.- Throws:
InoNetExceptionSrvErrorException
-
setUpper
Set the value of Attribut Upper.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isOrdered
This attribute specifies whether the values in an instantiation of this element are sequentially ordered for a multivalued multiplicity.- Throws:
InoNetExceptionSrvErrorException
-
setOrdered
Set the value of Attribut IsOrdered.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isUnique
This attribute specifies whether the values in an instantiation of this element are unique for a multivalued multiplicity.- Throws:
InoNetExceptionSrvErrorException
-
setUnique
Set the value of Attribut IsUnique.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
hasMultiplicity11
If true, the multiplicity of this element has 1 as lower and upper bound.- Throws:
InoNetExceptionSrvErrorException
-
hasUpper1
If true, the upper bound is 1.- Throws:
InoNetExceptionSrvErrorException
-
isMultivalued
Checks whether this feature's multiplicity has an upper bound greater than one.- Throws:
InoNetExceptionSrvErrorException
-
getLowerBoundAsString
This multiplicity's lower bound.- Throws:
InoNetExceptionSrvErrorException
-
getUpperBoundAsString
This multiplicity's upper bound.- Throws:
InoNetExceptionSrvErrorException
-
isOptional
True if the occurrence thisELMultiplicityAbleis optional.- Throws:
InoNetExceptionSrvErrorException
-
setOptional
Set the value of Info IsOptional.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isMany
True if thisELMultiplicityAblemay exist more than once.- Throws:
InoNetExceptionSrvErrorException
-
setMany
Set the value of Info IsMany.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getLowerUpperVal
This element's lower and upper boundary values. If the lower/upper boundary is specified by an integer value, 'lowerIsInteger'/'upperIsInteger' is true and 'lower'/'upper' contains the value as an integer. An upper bound value, 'Unlimited natural', is specified by '*' in 'upperVal'.- Throws:
InoNetExceptionSrvErrorException
-