Package de.mid.innovator.srv2api.icw2bp
Interface BPItemAwareElement
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,BCBaseElement,BCBaseNamedStereotypeAble,BPResourceRoleAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELObject,ELUUIDAble,ELValueContainerAble,MECommentAble,MEConstraintAble,MEModelElement,MENamedElement,MEStereotypeAble,METermAble,MMAttachmentAble,MMCommentContainerAble,MMLabelAble,MMLabelTextAttachmentAble,MMStereotypeAble,MMTextAble
- All Known Subinterfaces:
BPDataObject,BPDataStore,BPProperty
This is a utility class for BPItemAwareElement that provides static methods for creation or other purposes.
- Note:
- The interface BPItemAwareElement 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 TypeMethodDescriptionassignStructureDefinition(ELClassifier structure) Assigns a structure to an item aware element by using an existing or by creating a new item definition which connects the two elements.All data associations of the source element.All data associations of the target.AllBPDataIOAssociationof the element.All data associations of the target.The local definition of the state of the item aware element.getInState(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) AssignedBSStatetoBPItemAwareElement.getInState(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getInState and filters its return values according to the given stereotype value.getInUMLState(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All current states of theBPItemAwareElement.The business object that is represented by the item aware element.Returns a name for theBPItemAwareElementthat depends on a set of assigned elements.Returns the name of all object states concatenated as a single string.Returns the name of the data structure of a maybe assignedBPItemDefinition.AllBPItemDefinitionRelof the item aware element.<T extends BPPathAble>
List<T> getPathAbleInReach(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All potential path elements in reach, either as the owner of the item aware element or reachable by a data association.<T extends BPPathAble>
List<T> getPathAbleInReach(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) The method calls getPathAbleInReach and filters its return values according to the given stereotype value.getResource(K_CONTROL_OPTION... behaviourFlags) All resource assignments of theBPItemAwareElement.Specifies the languages which the definition is stated in.booleanbooleanisUsedInPath(BPPath refObj) voidsetDataStateDefinition(String value) Set the value of Attribut DataStateDefinition.voidsetInState(List<? extends BSState> values) Set the value of View InState.voidsetInUMLState(List<? extends SMState> values) Set the value of Foreign Key InUMLState.voidSet the value of View ItemSubjectRef.voidsetObjectname(String value) Set the value of Info Objectname.voidsetObjectstate(String value) Set the value of Info Objectstate.voidsetObjectstructure(String value) Set the value of Info Objectstructure.voidsetStateReused(boolean value) Set the value of Attribut IsStateReused.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2bc.BCBaseElement
getBusinessIdentifier, setBusinessIdentifierMethods inherited from interface de.mid.innovator.srv2api.icw2bp.BPResourceRoleAble
getResourceAssigned, getResourceAssigned, getResourceRole, getResourceRoleByRACIType, getResourceRoleByRACIType, getUseResources, setResourceAssigned, setUseResourcesMethods 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.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface de.mid.innovator.srv2api.icw2model.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependencyMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface de.mid.innovator.srv2api.icw2model.METermAble
getTerm, setTermMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAbleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getText, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
Method Details
-
getDataStateDefinition
The local definition of the state of the item aware element.- Throws:
InoNetExceptionSrvErrorException
-
setDataStateDefinition
Set the value of Attribut DataStateDefinition.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getStateDefinitionLanguage
Specifies the languages which the definition is stated in. The interpretation of the definition depends on the language. If the languages are unspecified, they might be implicit from the expression body or the context.- Throws:
InoNetExceptionSrvErrorException
-
isStateReused
True if the state of the object is specified using reusable states instead of a local state description, a mere string value.- Throws:
InoNetExceptionSrvErrorException
-
setStateReused
Set the value of Attribut IsStateReused.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isUsedInPath
- Parameters:
refObj- A further instance of type BPPath which is used to control the behaviour of the method. (see description above)- Throws:
InoNetExceptionSrvErrorException
-
getObjectname
Returns a name for theBPItemAwareElementthat depends on a set of assigned elements. If the object is defined by aBPItemDefinitionthen the name of this element is returned. If theBPItemAwareElementis a data store node and has aBPDataStoreassigned (but noBPItemDefinition) then the name of the data store is delivered. In all other cases the name of theBPItemAwareElementwill appear.- Throws:
InoNetExceptionSrvErrorException
-
setObjectname
Set the value of Info Objectname.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getObjectstate
Returns the name of all object states concatenated as a single string. Depending on the property 'uses Global State' only assigned global or local states are evaluated.- Throws:
InoNetExceptionSrvErrorException
-
setObjectstate
Set the value of Info Objectstate.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getObjectstructure
Returns the name of the data structure of a maybe assignedBPItemDefinition.- Throws:
InoNetExceptionSrvErrorException
-
setObjectstructure
Set the value of Info Objectstructure.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getItemSubjectRef
The business object that is represented by the item aware element.- Throws:
InoNetExceptionSrvErrorException
-
setItemSubjectRef
Set the value of View ItemSubjectRef.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getInState
<T extends BSState> List<T> getInState(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException AssignedBSStatetoBPItemAwareElement.- 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
-
getInState
<T extends BSState> List<T> getInState(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getInState 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
-
setInState
Set the value of View InState.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getTopItemAwareElementContainer
- Throws:
InoNetExceptionSrvErrorException
-
getPathAbleInReach
<T extends BPPathAble> List<T> getPathAbleInReach(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All potential path elements in reach, either as the owner of the item aware element or reachable by a data association.- 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
-
getPathAbleInReach
<T extends BPPathAble> List<T> getPathAbleInReach(Class<T> returnType, MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException The method calls getPathAbleInReach 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
-
assignStructureDefinition
BPItemDefinition assignStructureDefinition(ELClassifier structure) throws InoNetException, SrvErrorException Assigns a structure to an item aware element by using an existing or by creating a new item definition which connects the two elements.- Parameters:
structure- The element which defines the structure.- Throws:
InoNetExceptionSrvErrorException
-
getDataIOAssociationAtSrc
AllBPDataIOAssociationof the element.- Throws:
InoNetExceptionSrvErrorException
-
getDataIOAssociationAtTrg
All data associations of the target.- Throws:
InoNetExceptionSrvErrorException
-
getOutgoingItemDefinitionRel
AllBPItemDefinitionRelof the item aware element.- Throws:
InoNetExceptionSrvErrorException
-
getDataIOAssocAtSrc
All data associations of the source element.- Throws:
InoNetExceptionSrvErrorException
-
getDataIOAssocAtTrg
All data associations of the target.- Throws:
InoNetExceptionSrvErrorException
-
getResource
List<BPDataResource> getResource(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All resource assignments of theBPItemAwareElement.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getInUMLState
<T extends SMState> List<T> getInUMLState(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All current states of theBPItemAwareElement.- 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
-
setInUMLState
Set the value of Foreign Key InUMLState.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-