Interface ELProperty
-
- All Superinterfaces:
ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELFeature
,ELMultiplicityAble
,ELMultiplicityAbleTypedElement
,ELNamedElement
,ELNamespaceAsgnAble
,ELObject
,ELRedefAble
,ELStructFeature
,ELTypedElement
,ELUUIDAble
,ELViewNavigAble
- All Known Subinterfaces:
CLPort
,CLProperty
,CLStructureEntry
,DBColumn
,DBTableColumn
,DBViewColumn
,ELM2Attribute
,ERAttribute
,ERRole
,ERUsedAttribute
,ERViewAttribute
,IMProperty
,MM2Attribute
public interface ELProperty extends ELStructFeature, ELViewNavigAble
This is a utility class for ELProperty that provides static methods for creation or other purposes.- Note:
- The interface ELProperty 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
ELProperty.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description K_AGGREGATION
getAggregation()
Specifies the kind of aggregation that applies to the property.ELAssociation
getAssociation()
The association this property is assigned to.ELClassifier
getClassifierOfAssociationEnd()
The classifier connected to the association end.java.lang.String
getDefaultValue()
A string that is evaluated to give a default value for the property when one of the owning classifier's objects is instantiated.ELProperty
getOppositeAssociationEnd()
If this property is an association end and its assigned association is binary, the opposite association end is returned.<T extends ELProperty>
java.util.List<T>getSelfAndSubsettedTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
This element and all properties transitively subsetted by this element.<T extends ELProperty>
java.util.List<T>getSelfAndSubsettedTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getSelfAndSubsettedTransitive and filters its return values according to the given stereotype value.<T extends ELProperty>
java.util.List<T>getSelfAndSubsettingTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
This element and all properties transitively subsetting this element.<T extends ELProperty>
java.util.List<T>getSelfAndSubsettingTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getSelfAndSubsettingTransitive and filters its return values according to the given stereotype value.<T extends ELProperty>
java.util.List<T>getSubsettedProperty(java.lang.Class<T> returnType)
The properties that are subsetted by this property.<T extends ELProperty>
java.util.List<T>getSubsettedTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All properties transitively subsetted by this element.<T extends ELProperty>
java.util.List<T>getSubsettedTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getSubsettedTransitive and filters its return values according to the given stereotype value.<T extends ELProperty>
java.util.List<T>getSubsettingProperty(java.lang.Class<T> returnType)
The properties that subset this property.<T extends ELProperty>
java.util.List<T>getSubsettingTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All properties transitively subsetting this element.<T extends ELProperty>
java.util.List<T>getSubsettingTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getSubsettingTransitive and filters its return values according to the given stereotype value.MMCreateCLInst
getTypingCreateCLInst()
The dummy classifier that types this property as an association end.boolean
isAssocOwner()
true, if the association owns this property.boolean
isComposite()
True, if this property's aggregation property has the composite value.boolean
isDerived()
Specifies whether the property is derived, i.e. whether its value or values can be computed from other information.boolean
isDerivedUnion()
Specifies whether the property is derived as the union of all of the properties that are constrained to subset it.boolean
isNavigable()
True, if this property is a navigable end of an association.boolean
isNavigableAssocEnd()
Specifies whether the property is navigable end of an association.boolean
isSubsetted()
Indicates whether this property is subsetted by other properties.boolean
isSubsetting()
Indicates whether this property subsets other elements.void
reconnectAssociation(ELElement ohNew, K_SIDE kSide)
Connects an association end to the specified element.void
setAggregation(K_AGGREGATION value)
Set the value of Attribut Aggregation.void
setAssocOwner(boolean value)
Set the value of Info IsAssocOwner.void
setDefaultValue(java.lang.String value)
Set the value of Attribut DefaultValue.void
setDerived(boolean value)
Set the value of Attribut IsDerived.void
setDerivedUnion(boolean value)
Set the value of Attribut IsDerivedUnion.void
setNavigableAssocEnd(boolean value)
Set the value of Attribut IsNavigableAssocEnd.void
setSubsettedProperty(java.util.List<? extends ELProperty> values)
Set the value of Foreign Key SubsettedProperty.-
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.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
-
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.ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStatic
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELMultiplicityAble
getLower, getLowerBoundAsString, getLowerUpperVal, getUpper, getUpperBoundAsString, hasMultiplicity11, hasUpper1, isMany, isMultivalued, isOptional, isOrdered, isUnique, setLower, setMany, setOptional, setOrdered, setUnique, setUpper
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELStructFeature
getSlot, getStructuralFeatureAction, isReadOnly, setReadOnly
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setType
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELViewNavigAble
getViewNavigAbleGroup
-
-
-
-
Method Detail
-
isDerived
boolean isDerived() throws InoNetException, SrvErrorException
Specifies whether the property is derived, i.e. whether its value or values can be computed from other information. The default value is false.- Throws:
InoNetException
SrvErrorException
-
setDerived
void setDerived(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut IsDerived.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isDerivedUnion
boolean isDerivedUnion() throws InoNetException, SrvErrorException
Specifies whether the property is derived as the union of all of the properties that are constrained to subset it.- Throws:
InoNetException
SrvErrorException
-
setDerivedUnion
void setDerivedUnion(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut IsDerivedUnion.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getAggregation
K_AGGREGATION getAggregation() throws InoNetException, SrvErrorException
Specifies the kind of aggregation that applies to the property. The default value is none.- Throws:
InoNetException
SrvErrorException
-
setAggregation
void setAggregation(K_AGGREGATION value) throws InoNetException, SrvErrorException
Set the value of Attribut Aggregation.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getDefaultValue
java.lang.String getDefaultValue() throws InoNetException, SrvErrorException
A string that is evaluated to give a default value for the property when one of the owning classifier's objects is instantiated.- Throws:
InoNetException
SrvErrorException
-
setDefaultValue
void setDefaultValue(java.lang.String value) throws InoNetException, SrvErrorException
Set the value of Attribut DefaultValue.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isNavigableAssocEnd
boolean isNavigableAssocEnd() throws InoNetException, SrvErrorException
Specifies whether the property is navigable end of an association.- Throws:
InoNetException
SrvErrorException
-
setNavigableAssocEnd
void setNavigableAssocEnd(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut IsNavigableAssocEnd.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isComposite
boolean isComposite() throws InoNetException, SrvErrorException
True, if this property's aggregation property has the composite value.- Throws:
InoNetException
SrvErrorException
-
isNavigable
boolean isNavigable() throws InoNetException, SrvErrorException
True, if this property is a navigable end of an association.- Throws:
InoNetException
SrvErrorException
-
isSubsetted
boolean isSubsetted() throws InoNetException, SrvErrorException
Indicates whether this property is subsetted by other properties.- Throws:
InoNetException
SrvErrorException
-
isSubsetting
boolean isSubsetting() throws InoNetException, SrvErrorException
Indicates whether this property subsets other elements.- Throws:
InoNetException
SrvErrorException
-
isAssocOwner
boolean isAssocOwner() throws InoNetException, SrvErrorException
true, if the association owns this property.- Throws:
InoNetException
SrvErrorException
-
setAssocOwner
void setAssocOwner(boolean value) throws InoNetException, SrvErrorException
Set the value of Info IsAssocOwner.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getClassifierOfAssociationEnd
ELClassifier getClassifierOfAssociationEnd() throws InoNetException, SrvErrorException
The classifier connected to the association end. If the association end is not navigable, its container is the association. The type of those ends is the connected class. The container of a navigable association end is its classifier. In this case, the association end is connected to its classifier.- Throws:
InoNetException
SrvErrorException
-
getOppositeAssociationEnd
ELProperty getOppositeAssociationEnd() throws InoNetException, SrvErrorException
If this property is an association end and its assigned association is binary, the opposite association end is returned.- Throws:
InoNetException
SrvErrorException
-
getSelfAndSubsettedTransitive
<T extends ELProperty> java.util.List<T> getSelfAndSubsettedTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This element and all properties transitively subsetted by this element.- Parameters:
returnType
- Specifies the type of elements to be returned.behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSelfAndSubsettedTransitive
<T extends ELProperty> java.util.List<T> getSelfAndSubsettedTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getSelfAndSubsettedTransitive and filters its return values according to the given stereotype value.- Parameters:
returnType
- Specifies the type of elements to be returned.stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSelfAndSubsettingTransitive
<T extends ELProperty> java.util.List<T> getSelfAndSubsettingTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
This element and all properties transitively subsetting this element.- Parameters:
returnType
- Specifies the type of elements to be returned.behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSelfAndSubsettingTransitive
<T extends ELProperty> java.util.List<T> getSelfAndSubsettingTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getSelfAndSubsettingTransitive and filters its return values according to the given stereotype value.- Parameters:
returnType
- Specifies the type of elements to be returned.stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSubsettedTransitive
<T extends ELProperty> java.util.List<T> getSubsettedTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All properties transitively subsetted by this element.- Parameters:
returnType
- Specifies the type of elements to be returned.behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSubsettedTransitive
<T extends ELProperty> java.util.List<T> getSubsettedTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getSubsettedTransitive and filters its return values according to the given stereotype value.- Parameters:
returnType
- Specifies the type of elements to be returned.stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSubsettingTransitive
<T extends ELProperty> java.util.List<T> getSubsettingTransitive(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All properties transitively subsetting this element.- Parameters:
returnType
- Specifies the type of elements to be returned.behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getSubsettingTransitive
<T extends ELProperty> java.util.List<T> getSubsettingTransitive(java.lang.Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
The method calls getSubsettingTransitive and filters its return values according to the given stereotype value.- Parameters:
returnType
- Specifies the type of elements to be returned.stereotype
- The stereotype used to filter the result listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
reconnectAssociation
void reconnectAssociation(ELElement ohNew, K_SIDE kSide) throws InoNetException, SrvErrorException
Connects an association end to the specified element.- Parameters:
ohNew
- the element to which the relationship is redirectedkSide
- specifies the role of the new element in the relationship- Throws:
InoNetException
SrvErrorException
-
getAssociation
ELAssociation getAssociation() throws InoNetException, SrvErrorException
The association this property is assigned to.- Throws:
InoNetException
SrvErrorException
-
getSubsettedProperty
<T extends ELProperty> java.util.List<T> getSubsettedProperty(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
The properties that are subsetted by this property.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may sorted.
-
setSubsettedProperty
void setSubsettedProperty(java.util.List<? extends ELProperty> values) throws InoNetException, SrvErrorException
Set the value of Foreign Key SubsettedProperty.- Parameters:
values
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getSubsettingProperty
<T extends ELProperty> java.util.List<T> getSubsettingProperty(java.lang.Class<T> returnType) throws InoNetException, SrvErrorException
The properties that subset this property.- Parameters:
returnType
- Specifies the type of elements to be returned.- Throws:
InoNetException
SrvErrorException
-
getTypingCreateCLInst
MMCreateCLInst getTypingCreateCLInst() throws InoNetException, SrvErrorException
The dummy classifier that types this property as an association end.- Throws:
InoNetException
SrvErrorException
-
-