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
public interface ELMultiplicityAble extends ELContainerAble
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 Modifier and Type Interface Description static classELMultiplicityAble.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLower()Specifies the lower bound of the multiplicity interval if it is expressed as an integer.java.lang.StringgetLowerBoundAsString()This multiplicity's lower bound.ARG_MultLowerUpperValgetLowerUpperVal()This element's lower and upper boundary values.java.lang.StringgetUpper()Specifies the upper bound of the multiplicity interval, if it is expressed as an unlimited natural.java.lang.StringgetUpperBoundAsString()This multiplicity's upper bound.booleanhasMultiplicity11()If true, the multiplicity of this element has 1 as lower and upper bound.booleanhasUpper1()If true, the upper bound is 1.booleanisMany()True if thisELMultiplicityAblemay exist more than once.booleanisMultivalued()Checks whether this feature's multiplicity has an upper bound greater than one.booleanisOptional()True if the occurrence thisELMultiplicityAbleis optional.booleanisOrdered()This 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.voidsetLower(java.lang.String value)Set 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.voidsetUpper(java.lang.String value)Set 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, sortContents
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
-
-
-
Method Detail
-
getLower
java.lang.String getLower() throws InoNetException, SrvErrorExceptionSpecifies the lower bound of the multiplicity interval if it is expressed as an integer.- Throws:
InoNetExceptionSrvErrorException
-
setLower
void setLower(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Lower.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getUpper
java.lang.String getUpper() throws InoNetException, SrvErrorExceptionSpecifies the upper bound of the multiplicity interval, if it is expressed as an unlimited natural.- Throws:
InoNetExceptionSrvErrorException
-
setUpper
void setUpper(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut Upper.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isOrdered
boolean isOrdered() throws InoNetException, SrvErrorExceptionThis attribute specifies whether the values in an instantiation of this element are sequentially ordered for a multivalued multiplicity.- Throws:
InoNetExceptionSrvErrorException
-
setOrdered
void setOrdered(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IsOrdered.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isUnique
boolean isUnique() throws InoNetException, SrvErrorExceptionThis attribute specifies whether the values in an instantiation of this element are unique for a multivalued multiplicity.- Throws:
InoNetExceptionSrvErrorException
-
setUnique
void setUnique(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IsUnique.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
hasMultiplicity11
boolean hasMultiplicity11() throws InoNetException, SrvErrorExceptionIf true, the multiplicity of this element has 1 as lower and upper bound.- Throws:
InoNetExceptionSrvErrorException
-
hasUpper1
boolean hasUpper1() throws InoNetException, SrvErrorExceptionIf true, the upper bound is 1.- Throws:
InoNetExceptionSrvErrorException
-
isMultivalued
boolean isMultivalued() throws InoNetException, SrvErrorExceptionChecks whether this feature's multiplicity has an upper bound greater than one.- Throws:
InoNetExceptionSrvErrorException
-
getLowerBoundAsString
java.lang.String getLowerBoundAsString() throws InoNetException, SrvErrorExceptionThis multiplicity's lower bound.- Throws:
InoNetExceptionSrvErrorException
-
getUpperBoundAsString
java.lang.String getUpperBoundAsString() throws InoNetException, SrvErrorExceptionThis multiplicity's upper bound.- Throws:
InoNetExceptionSrvErrorException
-
isOptional
boolean isOptional() throws InoNetException, SrvErrorExceptionTrue if the occurrence thisELMultiplicityAbleis optional.- Throws:
InoNetExceptionSrvErrorException
-
setOptional
void setOptional(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Info IsOptional.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isMany
boolean isMany() throws InoNetException, SrvErrorExceptionTrue if thisELMultiplicityAblemay exist more than once.- Throws:
InoNetExceptionSrvErrorException
-
setMany
void setMany(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Info IsMany.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getLowerUpperVal
ARG_MultLowerUpperVal getLowerUpperVal() throws InoNetException, SrvErrorException
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
-
-