Interface MMLocalizAble
- All Superinterfaces:
ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAsgnAble,ELObject,ELUUIDAble
- All Known Subinterfaces:
DGAdditionalHeading,DGAttachmentChapter,DGChapter,DGCommand,DGDocuStructureRoot,DGLink,DGPicture,DGRoot,DGSelection,DGStandardChapter,DGTableColumn,DGTemplate,DGTreeLink,DGTreeStructureRoot,DGTreeTemplate,DGVerifyChapter,DGViewChapter,MESection,MM2TypeEnumMember,MMAddItem,MMCreateTemplate,MMEngineeringSequence,MMLabel,MMMenu,MMMenuItemAble,MMStereotype,MMStereotypeProperty,MMStereotypeRelatedElement,MMStereotypeRelProperty,MMStereotypeRelTSOption,MMStereotypeTSOption,MMText,MMVerify
This is a utility class for MMLocalizAble that provides static methods for creation or other purposes.
- Note:
- The interface MMLocalizAble 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 TypeMethodDescriptionbooleanDetermines if at least one localized name is available for the element.booleanhasLocalizedName(MM2Locale refObj, String pattern) Determines if the element has a localized name for a given locale.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, 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.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Method Details
-
hasAnyLocalizedName
Determines if at least one localized name is available for the element.- Throws:
InoNetExceptionSrvErrorException
-
hasLocalizedName
boolean hasLocalizedName(MM2Locale refObj, String pattern) throws InoNetException, SrvErrorException Determines if the element has a localized name for a given locale. The locale may be specified either by name argument pattern or byargument refObj. If none of the parameters are set, the current locale of the client which initiated the server action is assumed.- Parameters:
refObj- A further instance of type MM2Locale which is used to control the behaviour of the method. (see description above) This parameter is optional. (Its value can be given as null.)pattern- A string pattern. This parameter is optional. (Its value can be given as null.)- Throws:
InoNetExceptionSrvErrorException
-