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
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 -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the kind of aggregation that applies to the property.The association this property is assigned to.The classifier connected to the association end.A string that is evaluated to give a default value for the property when one of the owning classifier's objects is instantiated.If this property is an association end and its assigned association is binary, the opposite association end is returned.<T extends ELProperty>
List<T> getSelfAndSubsettedTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) This element and all properties transitively subsetted by this element.<T extends ELProperty>
List<T> getSelfAndSubsettedTransitive(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>
List<T> getSelfAndSubsettingTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) This element and all properties transitively subsetting this element.<T extends ELProperty>
List<T> getSelfAndSubsettingTransitive(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>
List<T> getSubsettedProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) The properties that are subsetted by this property.<T extends ELProperty>
List<T> getSubsettedTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties transitively subsetted by this element.<T extends ELProperty>
List<T> getSubsettedTransitive(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>
List<T> getSubsettingProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) The properties that subset this property.<T extends ELProperty>
List<T> getSubsettingTransitive(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All properties transitively subsetting this element.<T extends ELProperty>
List<T> getSubsettingTransitive(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getSubsettingTransitive and filters its return values according to the given stereotype value.The dummy classifier that types this property as an association end.booleantrue, if the association owns this property.booleanTrue, if this property's aggregation property has the composite value.booleanSpecifies whether the property is derived, i.e.booleanSpecifies whether the property is derived as the union of all of the properties that are constrained to subset it.booleanTrue, if this property is a navigable end of an association.booleanSpecifies whether the property is navigable end of an association.booleanIndicates whether this property is subsetted by other properties.booleanIndicates whether this property subsets other elements.voidreconnectAssociation(ELElement ohNew, K_SIDE kSide) Connects an association end to the specified element.voidsetAggregation(K_AGGREGATION value) Set the value of Attribut Aggregation.voidsetAssocOwner(boolean value) Set the value of Info IsAssocOwner.voidsetDefaultValue(String value) Set the value of Attribut DefaultValue.voidsetDerived(boolean value) Set the value of Attribut IsDerived.voidsetDerivedUnion(boolean value) Set the value of Attribut IsDerivedUnion.voidsetNavigableAssocEnd(boolean value) Set the value of Attribut IsNavigableAssocEnd.voidsetSubsettedProperty(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, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods 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.ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStaticMethods 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, setUpperMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefinedMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELStructFeature
getSlot, getStructuralFeatureAction, isReadOnly, setReadOnlyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setTypeMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELViewNavigAble
getViewNavigAbleGroup
-
Method Details
-
isDerived
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:
InoNetExceptionSrvErrorException
-
setDerived
Set the value of Attribut IsDerived.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isDerivedUnion
Specifies whether the property is derived as the union of all of the properties that are constrained to subset it.- Throws:
InoNetExceptionSrvErrorException
-
setDerivedUnion
Set the value of Attribut IsDerivedUnion.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getAggregation
Specifies the kind of aggregation that applies to the property. The default value is none.- Throws:
InoNetExceptionSrvErrorException
-
setAggregation
Set the value of Attribut Aggregation.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDefaultValue
A string that is evaluated to give a default value for the property when one of the owning classifier's objects is instantiated.- Throws:
InoNetExceptionSrvErrorException
-
setDefaultValue
Set the value of Attribut DefaultValue.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isComposite
True, if this property's aggregation property has the composite value.- Throws:
InoNetExceptionSrvErrorException
-
isSubsetted
Indicates whether this property is subsetted by other properties.- Throws:
InoNetExceptionSrvErrorException
-
isSubsetting
Indicates whether this property subsets other elements.- Throws:
InoNetExceptionSrvErrorException
-
isAssocOwner
true, if the association owns this property.- Throws:
InoNetExceptionSrvErrorException
-
setAssocOwner
Set the value of Info IsAssocOwner.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getClassifierOfAssociationEnd
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:
InoNetExceptionSrvErrorException
-
getOppositeAssociationEnd
If this property is an association end and its assigned association is binary, the opposite association end is returned.- Throws:
InoNetExceptionSrvErrorException
-
getSelfAndSubsettedTransitive
<T extends ELProperty> List<T> getSelfAndSubsettedTransitive(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:
InoNetExceptionSrvErrorException
-
getSelfAndSubsettedTransitive
<T extends ELProperty> List<T> getSelfAndSubsettedTransitive(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:
InoNetExceptionSrvErrorException
-
getSelfAndSubsettingTransitive
<T extends ELProperty> List<T> getSelfAndSubsettingTransitive(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:
InoNetExceptionSrvErrorException
-
getSelfAndSubsettingTransitive
<T extends ELProperty> List<T> getSelfAndSubsettingTransitive(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:
InoNetExceptionSrvErrorException
-
getSubsettedTransitive
<T extends ELProperty> List<T> getSubsettedTransitive(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:
InoNetExceptionSrvErrorException
-
getSubsettedTransitive
<T extends ELProperty> List<T> getSubsettedTransitive(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:
InoNetExceptionSrvErrorException
-
getSubsettingTransitive
<T extends ELProperty> List<T> getSubsettingTransitive(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:
InoNetExceptionSrvErrorException
-
getSubsettingTransitive
<T extends ELProperty> List<T> getSubsettingTransitive(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:
InoNetExceptionSrvErrorException
-
reconnectAssociation
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:
InoNetExceptionSrvErrorException
-
getAssociation
The association this property is assigned to.- Throws:
InoNetExceptionSrvErrorException
-
getSubsettedProperty
<T extends ELProperty> List<T> getSubsettedProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The properties that are subsetted by this property.- 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:
InoNetExceptionSrvErrorException- Sorted:
- the result may sorted.
-
setSubsettedProperty
void setSubsettedProperty(List<? extends ELProperty> values) throws InoNetException, SrvErrorException Set the value of Foreign Key SubsettedProperty.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getSubsettingProperty
<T extends ELProperty> List<T> getSubsettingProperty(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The properties that subset this property.- 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:
InoNetExceptionSrvErrorException
-
getTypingCreateCLInst
The dummy classifier that types this property as an association end.- Throws:
InoNetExceptionSrvErrorException
-