de.mid.innovator.srv2api.icw2class
Interface CLProperty

All Superinterfaces:
ADClientAble, ADFindAble, ADHistoryAble, ADM2AttrModifyAble, CLConnectAbleElement, CLDeclarationAble, CLDeploymentTarget, CLFeature, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELFeature, ELMultiplicityAble, ELMultiplicityAbleTypedElement, ELNamedElement, ELNamespaceAble, ELNamespaceAsgnAble, ELObject, ELProperty, ELRedefAble, ELStructFeature, ELTypedElement, ELUUIDAble, ELValueContainerAble, ELViewNavigAble, MECommentAble, MEConstraintAble, MEModelElement, MENamedElement, MENamespaceAsgnAble, MEStereotypeAble, MMAttachmentAble, MMCommentContainerAble, MMLabelAble, MMLabelTextAttachmentAble, MMStereotypeAble, MMTextAble
All Known Subinterfaces:
CLPort

public interface CLProperty
extends ELNamespaceAble, CLFeature, ELProperty, CLDeclarationAble, CLConnectAbleElement, CLDeploymentTarget

A property is a structural feature. A property related to a classifier by ownedAttribute represents an attribute and it may also represent an association end. It relates an instance of the class to a value or collection of values of the type of the attribute. A property related to an association by memberEnd or its specializations represents an end of the association. The type of property is the type of the end of the association.

See Also:
CLPropertyHelper

Nested Class Summary
static class CLProperty.VAttr
           
 
Method Summary
 CLAssociation associateProperty(ADClientAble ohDia, CLProperty ohProp, boolean makeOneWay)
          Creates a navigable association from this property.
 CLArtifact getArtifact()
          The artifact that owns this property.
 CLProperty getAssociationEnd()
          Designates the optional association end that owns a qualifier attribute.
 CLDataType getDataType()
          The data type that owns this property.
 CLInterface getInterface()
          The interface that owns this property.
<T extends ANLink>
List<T>
getLinkAction(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          All LinkActions owning this AssociationEnd.
<T extends ANLink>
List<T>
getLinkAction(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
          The method calls getLinkAction and filters its return values according to the given stereotype value.
<T extends ANLinkEndData>
List<T>
getLinkEndData(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          LinkEndData identifies links.
 ARG_CLPropertyDeclaration getModifyPropertyDeclaration()
          Returns all informations needed to modify the declaration of this property.
 List<CLOperation> getOperation()
          The methods assigned to this property as accessors.
 CLClass getOwnClass()
          The class that owns this property.
 CLAssociation getOwningAssociation()
          The association that owns this property.
 CLClassifier getOwningClassifier()
          The classifier owning this property.
 MMCreateCLInst getOwningCreateCLInst()
          The dummy classifier in a create template owning this attribute.
 CLSignal getOwningSignal()
          The signal that owns this property.
 CLStructuredClassifier getOwningStructuredClassifier()
          The structured classifier owning this property.
 List<CLConnectorEnd> getPortOfPart()
          End connected to the port of this property.
 CLAssociation getPropertyAssociation()
          The association this property is assigned to.
 List<CLSlot> getPropertySlot(K_CONTROL_OPTION... behaviourFlags)
          All slots of this property.
<T extends CLProperty>
List<T>
getQualifier(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          An optional list of ordered qualifier attributes for the end.
 List<ANQualifierValue> getQualifierValue(K_CONTROL_OPTION... behaviourFlags)
          QualifierValue identifies links.
 CLClassifier getTypingClassifier()
          The classifier typing this property.
 CLTemplateParameterAbleClass getTypingTemplateParameterAbleClass()
          The class typing this property.
 void modifyPropertyDeclaration(CLProperty ohProp, String strDecl, String strName, CLClassifier ohType, String strType, ARG_TemplateBoundElement valTmpl, String strLower, String strUpper, int idStereoProp, int idModel)
          Modify the declaration of this property.
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImport
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELProperty
getAggregation, getAssociation, getClassifierOfAssociationEnd, getDefaultValue, getOppositeAssociationEnd, getSelfAndSubsettedTransitive, getSelfAndSubsettedTransitive, getSelfAndSubsettingTransitive, getSelfAndSubsettingTransitive, getSubsettedProperty, getSubsettedTransitive, getSubsettedTransitive, getSubsettingProperty, getSubsettingTransitive, getSubsettingTransitive, getTypingCreateCLInst, isAssocOwner, isComposite, isDerived, isDerivedUnion, isNavigable, isNavigableAssocEnd, isSubsetted, isSubsetting, reconnectAssociation, setAggregation, setAssocOwner, setDefaultValue, setDerived, setDerivedUnion, setNavigableAssocEnd, setSubsettedProperty
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELStructFeature
getSlot, getStructuralFeatureAction, isReadOnly, setReadOnly
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELFeature
getEntryInGroupAble, getEntryInGroupAble, getUsingViewElement, isStatic, setStatic
 
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.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.ELTypedElement
getModifyTypedElementDeclaration, getType, getTypedElementCnstr, getTypeKind, getValSpecOfTypedElement, getValSpecOfTypedElementWithPattern, getValSpecOfTypedElementWithPattern, isBitmapAble, isColorAble, modifyTypedElementDeclaration, setType
 
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.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getResetDefaultName, getSupplierDependency, rename, setName, setNameKind, setResetDefaultName
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELViewNavigAble
getViewNavigAbleGroup
 
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLConnectAbleElement
getBindingRole, getConnectedLifeline, getConnectedLifeline, getEnd, getLifeline, getSupplierRoleBinding
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getClientMappingDependency, getOutgoingConceptRealization, getProxyAsgProperty, getRealizedConcept, getRealizedConcept, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, replaceRealizedConcepts, setMapped, setRealizedConcept, setRequirementOfStakeholder
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOwnedComment
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, isCloneAbleElement, modifyStereotypePropertyValuesByName, setStereotype, setStereotypePropertyInfo
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
 
Methods inherited from interface de.mid.innovator.srv2api.icw2class.CLDeploymentTarget
getDeployment
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getUUID, setUUID
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMESupplierDependency, getMESupplierMappingDependency
 
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getCheckSetNotToLocalizeAttribute, getClientDependency, getNotToLocalizeAttribute, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedLocalizedValue, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, resetNotToLocalizeAttribute, setNotToLocalizeAttribute, sortContents
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getLogic, getLogic, getPresentationContext, getSection
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
 
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

associateProperty

CLAssociation associateProperty(ADClientAble ohDia,
                                CLProperty ohProp,
                                boolean makeOneWay)
                                throws InoNetException,
                                       SrvErrorException
Creates a navigable association from this property. If makeOneWay is set to isTrue, the association is only navigable in one direction. Otherwise, the association can be navigated in both directions. The second necessary property may be specified or it is automatically calculated. If no matching property is found or specified, the association will only be navigable in one way.

Parameters:
ohDia - Diagram of the call (optional)
ohProp - Second property of the association (optional)
makeOneWay - isTrue, if the created association should be navigable only in one way
Throws:
InoNetException
SrvErrorException

getArtifact

CLArtifact getArtifact()
                       throws InoNetException,
                              SrvErrorException
The artifact that owns this property.

Throws:
InoNetException
SrvErrorException

getAssociationEnd

CLProperty getAssociationEnd()
                             throws InoNetException,
                                    SrvErrorException
Designates the optional association end that owns a qualifier attribute.

Throws:
InoNetException
SrvErrorException

getDataType

CLDataType getDataType()
                       throws InoNetException,
                              SrvErrorException
The data type that owns this property.

Throws:
InoNetException
SrvErrorException

getInterface

CLInterface getInterface()
                         throws InoNetException,
                                SrvErrorException
The interface that owns this property.

Throws:
InoNetException
SrvErrorException

getLinkAction

<T extends ANLink> List<T> getLinkAction(Class<T> returnType,
                                         K_CONTROL_OPTION... behaviourFlags)
                                     throws InoNetException,
                                            SrvErrorException
All LinkActions owning this AssociationEnd.

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

getLinkAction

<T extends ANLink> List<T> getLinkAction(Class<T> returnType,
                                         MMStereotype stereotype,
                                         K_CONTROL_OPTION... behaviourFlags)
                                     throws InoNetException,
                                            SrvErrorException
The method calls getLinkAction 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 list
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getLinkEndData

<T extends ANLinkEndData> List<T> getLinkEndData(Class<T> returnType,
                                                 K_CONTROL_OPTION... behaviourFlags)
                                             throws InoNetException,
                                                    SrvErrorException
LinkEndData identifies links. It identifies one end of a link to be read or written by the children of LinkAction.

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

getModifyPropertyDeclaration

ARG_CLPropertyDeclaration getModifyPropertyDeclaration()
                                                       throws InoNetException,
                                                              SrvErrorException
Returns all informations needed to modify the declaration of this property.

Throws:
InoNetException
SrvErrorException

getOperation

List<CLOperation> getOperation()
                               throws InoNetException,
                                      SrvErrorException
The methods assigned to this property as accessors.

Throws:
InoNetException
SrvErrorException

getOwnClass

CLClass getOwnClass()
                    throws InoNetException,
                           SrvErrorException
The class that owns this property.

Throws:
InoNetException
SrvErrorException

getOwningAssociation

CLAssociation getOwningAssociation()
                                   throws InoNetException,
                                          SrvErrorException
The association that owns this property.

Throws:
InoNetException
SrvErrorException

getOwningClassifier

CLClassifier getOwningClassifier()
                                 throws InoNetException,
                                        SrvErrorException
The classifier owning this property.

Throws:
InoNetException
SrvErrorException

getOwningCreateCLInst

MMCreateCLInst getOwningCreateCLInst()
                                     throws InoNetException,
                                            SrvErrorException
The dummy classifier in a create template owning this attribute.

Throws:
InoNetException
SrvErrorException

getOwningSignal

CLSignal getOwningSignal()
                         throws InoNetException,
                                SrvErrorException
The signal that owns this property.

Throws:
InoNetException
SrvErrorException

getOwningStructuredClassifier

CLStructuredClassifier getOwningStructuredClassifier()
                                                     throws InoNetException,
                                                            SrvErrorException
The structured classifier owning this property.

Throws:
InoNetException
SrvErrorException

getPortOfPart

List<CLConnectorEnd> getPortOfPart()
                                   throws InoNetException,
                                          SrvErrorException
End connected to the port of this property.

Throws:
InoNetException
SrvErrorException

getPropertyAssociation

CLAssociation getPropertyAssociation()
                                     throws InoNetException,
                                            SrvErrorException
The association this property is assigned to.

Throws:
InoNetException
SrvErrorException

getPropertySlot

List<CLSlot> getPropertySlot(K_CONTROL_OPTION... behaviourFlags)
                             throws InoNetException,
                                    SrvErrorException
All slots of this property.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getQualifier

<T extends CLProperty> List<T> getQualifier(Class<T> returnType,
                                            K_CONTROL_OPTION... behaviourFlags)
                                        throws InoNetException,
                                               SrvErrorException
An optional list of ordered qualifier attributes for the end. If the list is empty, the association is not qualified.

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
Sorted:
the result may sorted.

getQualifierValue

List<ANQualifierValue> getQualifierValue(K_CONTROL_OPTION... behaviourFlags)
                                         throws InoNetException,
                                                SrvErrorException
QualifierValue identifies links. It gives a single qualifier within a link end data specification.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException

getTypingClassifier

CLClassifier getTypingClassifier()
                                 throws InoNetException,
                                        SrvErrorException
The classifier typing this property.

Throws:
InoNetException
SrvErrorException

getTypingTemplateParameterAbleClass

CLTemplateParameterAbleClass getTypingTemplateParameterAbleClass()
                                                                 throws InoNetException,
                                                                        SrvErrorException
The class typing this property.

Throws:
InoNetException
SrvErrorException

modifyPropertyDeclaration

void modifyPropertyDeclaration(CLProperty ohProp,
                               String strDecl,
                               String strName,
                               CLClassifier ohType,
                               String strType,
                               ARG_TemplateBoundElement valTmpl,
                               String strLower,
                               String strUpper,
                               int idStereoProp,
                               int idModel)
                               throws InoNetException,
                                      SrvErrorException
Modify the declaration of this property.

Parameters:
ohProp - property element
strDecl - declaration of this property
strName - name of this property
ohType - type element
strType - name of the type
valTmpl - template element
strLower - lower bound of this property
strUpper - upper bound of this property
idStereoProp - id of property stereotype
idModel - id of model package
Throws:
InoNetException
SrvErrorException