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 class
ELMultiplicityAble.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLower()
Specifies the lower bound of the multiplicity interval if it is expressed as an integer.java.lang.String
getLowerBoundAsString()
This multiplicity's lower bound.ARG_MultLowerUpperVal
getLowerUpperVal()
This element's lower and upper boundary values.java.lang.String
getUpper()
Specifies the upper bound of the multiplicity interval, if it is expressed as an unlimited natural.java.lang.String
getUpperBoundAsString()
This multiplicity's upper bound.boolean
hasMultiplicity11()
If true, the multiplicity of this element has 1 as lower and upper bound.boolean
hasUpper1()
If true, the upper bound is 1.boolean
isMany()
True if thisELMultiplicityAble
may exist more than once.boolean
isMultivalued()
Checks whether this feature's multiplicity has an upper bound greater than one.boolean
isOptional()
True if the occurrence thisELMultiplicityAble
is optional.boolean
isOrdered()
This attribute specifies whether the values in an instantiation of this element are sequentially ordered for a multivalued multiplicity.boolean
isUnique()
This attribute specifies whether the values in an instantiation of this element are unique for a multivalued multiplicity.void
setLower(java.lang.String value)
Set the value of Attribut Lower.void
setMany(boolean value)
Set the value of Info IsMany.void
setOptional(boolean value)
Set the value of Info IsOptional.void
setOrdered(boolean value)
Set the value of Attribut IsOrdered.void
setUnique(boolean value)
Set the value of Attribut IsUnique.void
setUpper(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, SrvErrorException
Specifies the lower bound of the multiplicity interval if it is expressed as an integer.- Throws:
InoNetException
SrvErrorException
-
setLower
void setLower(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Lower.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getUpper
java.lang.String getUpper() throws InoNetException, SrvErrorException
Specifies the upper bound of the multiplicity interval, if it is expressed as an unlimited natural.- Throws:
InoNetException
SrvErrorException
-
setUpper
void setUpper(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut Upper.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isOrdered
boolean isOrdered() throws InoNetException, SrvErrorException
This attribute specifies whether the values in an instantiation of this element are sequentially ordered for a multivalued multiplicity.- Throws:
InoNetException
SrvErrorException
-
setOrdered
void setOrdered(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut IsOrdered.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isUnique
boolean isUnique() throws InoNetException, SrvErrorException
This attribute specifies whether the values in an instantiation of this element are unique for a multivalued multiplicity.- Throws:
InoNetException
SrvErrorException
-
setUnique
void setUnique(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut IsUnique.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
hasMultiplicity11
boolean hasMultiplicity11() throws InoNetException, SrvErrorException
If true, the multiplicity of this element has 1 as lower and upper bound.- Throws:
InoNetException
SrvErrorException
-
hasUpper1
boolean hasUpper1() throws InoNetException, SrvErrorException
If true, the upper bound is 1.- Throws:
InoNetException
SrvErrorException
-
isMultivalued
boolean isMultivalued() throws InoNetException, SrvErrorException
Checks whether this feature's multiplicity has an upper bound greater than one.- Throws:
InoNetException
SrvErrorException
-
getLowerBoundAsString
java.lang.String getLowerBoundAsString() throws InoNetException, SrvErrorException
This multiplicity's lower bound.- Throws:
InoNetException
SrvErrorException
-
getUpperBoundAsString
java.lang.String getUpperBoundAsString() throws InoNetException, SrvErrorException
This multiplicity's upper bound.- Throws:
InoNetException
SrvErrorException
-
isOptional
boolean isOptional() throws InoNetException, SrvErrorException
True if the occurrence thisELMultiplicityAble
is optional.- Throws:
InoNetException
SrvErrorException
-
setOptional
void setOptional(boolean value) throws InoNetException, SrvErrorException
Set the value of Info IsOptional.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isMany
boolean isMany() throws InoNetException, SrvErrorException
True if thisELMultiplicityAble
may exist more than once.- Throws:
InoNetException
SrvErrorException
-
setMany
void setMany(boolean value) throws InoNetException, SrvErrorException
Set the value of Info IsMany.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
-