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 classELProperty.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description K_AGGREGATIONgetAggregation()Specifies the kind of aggregation that applies to the property.ELAssociationgetAssociation()The association this property is assigned to.ELClassifiergetClassifierOfAssociationEnd()The classifier connected to the association end.java.lang.StringgetDefaultValue()A string that is evaluated to give a default value for the property when one of the owning classifier's objects is instantiated.ELPropertygetOppositeAssociationEnd()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.MMCreateCLInstgetTypingCreateCLInst()The dummy classifier that types this property as an association end.booleanisAssocOwner()true, if the association owns this property.booleanisComposite()True, if this property's aggregation property has the composite value.booleanisDerived()Specifies whether the property is derived, i.e. whether its value or values can be computed from other information.booleanisDerivedUnion()Specifies whether the property is derived as the union of all of the properties that are constrained to subset it.booleanisNavigable()True, if this property is a navigable end of an association.booleanisNavigableAssocEnd()Specifies whether the property is navigable end of an association.booleanisSubsetted()Indicates whether this property is subsetted by other properties.booleanisSubsetting()Indicates 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(java.lang.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(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, SrvErrorExceptionSpecifies 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
void setDerived(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IsDerived.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isDerivedUnion
boolean isDerivedUnion() throws InoNetException, SrvErrorExceptionSpecifies whether the property is derived as the union of all of the properties that are constrained to subset it.- Throws:
InoNetExceptionSrvErrorException
-
setDerivedUnion
void setDerivedUnion(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IsDerivedUnion.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getAggregation
K_AGGREGATION getAggregation() throws InoNetException, SrvErrorException
Specifies the kind of aggregation that applies to the property. The default value is none.- Throws:
InoNetExceptionSrvErrorException
-
setAggregation
void setAggregation(K_AGGREGATION value) throws InoNetException, SrvErrorException
Set the value of Attribut Aggregation.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getDefaultValue
java.lang.String getDefaultValue() throws InoNetException, SrvErrorExceptionA 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
void setDefaultValue(java.lang.String value) throws InoNetException, SrvErrorExceptionSet the value of Attribut DefaultValue.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isNavigableAssocEnd
boolean isNavigableAssocEnd() throws InoNetException, SrvErrorExceptionSpecifies whether the property is navigable end of an association.- Throws:
InoNetExceptionSrvErrorException
-
setNavigableAssocEnd
void setNavigableAssocEnd(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut IsNavigableAssocEnd.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isComposite
boolean isComposite() throws InoNetException, SrvErrorExceptionTrue, if this property's aggregation property has the composite value.- Throws:
InoNetExceptionSrvErrorException
-
isNavigable
boolean isNavigable() throws InoNetException, SrvErrorExceptionTrue, if this property is a navigable end of an association.- Throws:
InoNetExceptionSrvErrorException
-
isSubsetted
boolean isSubsetted() throws InoNetException, SrvErrorExceptionIndicates whether this property is subsetted by other properties.- Throws:
InoNetExceptionSrvErrorException
-
isSubsetting
boolean isSubsetting() throws InoNetException, SrvErrorExceptionIndicates whether this property subsets other elements.- Throws:
InoNetExceptionSrvErrorException
-
isAssocOwner
boolean isAssocOwner() throws InoNetException, SrvErrorExceptiontrue, if the association owns this property.- Throws:
InoNetExceptionSrvErrorException
-
setAssocOwner
void setAssocOwner(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Info IsAssocOwner.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getAssociation
ELAssociation getAssociation() throws InoNetException, SrvErrorException
The association this property is assigned to.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getTypingCreateCLInst
MMCreateCLInst getTypingCreateCLInst() throws InoNetException, SrvErrorException
The dummy classifier that types this property as an association end.- Throws:
InoNetExceptionSrvErrorException
-
-