Interface ADTranslationAble
- All Superinterfaces:
ADAccessAble,ADClientAble,ADFindAble,ADHistoryAble,ADLockAble,ADM2AttrModifyAble,ADOptionAble,ADVersionAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELPackageAble,ELPresOptAble,ELTranslationAble,ELUUIDAble,MMMetamodelElement
- All Known Subinterfaces:
ADConfigTranslation,ADModelTranslation,MM2SchemaTranslation,MMProfileTranslation
This is a utility class for ADTranslationAble that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface ADTranslationAble describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
ADVersionAble.VAttrNested classes/interfaces inherited from interface de.mid.innovator.srv2api.icw2elem.ELTranslationAble
ELTranslationAble.VAttrNested classes/interfaces inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
MMMetamodelElement.VAttr -
Method Summary
Modifier and TypeMethodDescriptionfilterByTranslationState(List<? extends ELElement> seqElem, boolean filterUnit) Categorizes the provided elements by the state of the translatable properties.getTextTranslation(ELElement item) Returns the flow and plain text of the specified text value including the translation value.voidsetTextTranslation(MMTextValue ohValue, String strFlowTrans, String strPlainTrans) Changes the translation of the specified text value.voidsetTranslation(ELTranslationAble ohTrans, List<ARG_UpdateTranslationProperty> seqProp) Updates the translation of property values.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRoleMethods 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.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlockMethods 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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlgMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfoMethods 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.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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackageMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPresOptAble
getBitmap, getColor, getOwnedPresOptMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTranslationAble
getLocale, getTranslatedValuesMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
getIgnoringProfile
-
Method Details
-
filterByTranslationState
ARG_FilterTranslationState filterByTranslationState(List<? extends ELElement> seqElem, boolean filterUnit) throws InoNetException, SrvErrorException Categorizes the provided elements by the state of the translatable properties. The elements may be evaluated as version units.- Parameters:
seqElem- elements to be filtered by translation state or empty to filter all version able elementsfilterUnit- true, if the elements to be filtered are replaced by version units- Throws:
InoNetExceptionSrvErrorException
-
getTextTranslation
Returns the flow and plain text of the specified text value including the translation value.- Parameters:
item- ELElement instance- Throws:
InoNetExceptionSrvErrorException
-
setTextTranslation
void setTextTranslation(MMTextValue ohValue, String strFlowTrans, String strPlainTrans) throws InoNetException, SrvErrorException Changes the translation of the specified text value.- Parameters:
ohValue- text value elementstrFlowTrans- translated flow text valuestrPlainTrans- translated plain text value- Throws:
InoNetExceptionSrvErrorException
-
setTranslation
void setTranslation(ELTranslationAble ohTrans, List<ARG_UpdateTranslationProperty> seqProp) throws InoNetException, SrvErrorException Updates the translation of property values. If no translation exists for a property a new one will be created.- Parameters:
ohTrans- container of translations for one languageseqProp- translated property values- Throws:
InoNetExceptionSrvErrorException
-