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
public interface ADTranslationAble extends MMMetamodelElement, ADVersionAble, ELTranslationAble
This is a utility class for ADTranslationAble that provides static methods for creation or other purposes.- See Also:
ADTranslationAbleHelper
- 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.VAttr
-
Nested classes/interfaces inherited from interface de.mid.innovator.srv2api.icw2elem.ELTranslationAble
ELTranslationAble.VAttr
-
Nested classes/interfaces inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
MMMetamodelElement.VAttr
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ARG_FilterTranslationState
filterByTranslationState(java.util.List<? extends ELElement> seqElem, boolean filterUnit)
Categorizes the provided elements by the state of the translatable properties.ARG_GetTextTranslation
getTextTranslation(ELElement item)
Returns the flow and plain text of the specified text value including the translation value.void
setTextTranslation(MMTextValue ohValue, java.lang.String strFlowTrans, java.lang.String strPlainTrans)
Changes the translation of the specified text value.void
setTranslation(ELTranslationAble ohTrans, java.util.List<ARG_UpdateTranslationProperty> seqProp)
Updates the translation of property values.-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
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.icw2meta.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
-
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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
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.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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPresOptAble
getBitmap, getColor, getOwnedPresOpt
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELTranslationAble
getLocale, getTranslatedValues
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
getIgnoringProfile
-
-
-
-
Method Detail
-
filterByTranslationState
ARG_FilterTranslationState filterByTranslationState(java.util.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:
InoNetException
SrvErrorException
-
getTextTranslation
ARG_GetTextTranslation getTextTranslation(ELElement item) throws InoNetException, SrvErrorException
Returns the flow and plain text of the specified text value including the translation value.- Parameters:
item
- ELElement instance- Throws:
InoNetException
SrvErrorException
-
setTextTranslation
void setTextTranslation(MMTextValue ohValue, java.lang.String strFlowTrans, java.lang.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:
InoNetException
SrvErrorException
-
setTranslation
void setTranslation(ELTranslationAble ohTrans, java.util.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:
InoNetException
SrvErrorException
-
-