Class AbstractModelTransformationInfo
- java.lang.Object
-
- com.nomagic.magicdraw.modeltransformations.AbstractModelTransformationInfo
-
- All Implemented Interfaces:
ModelTransformationInfo
- Direct Known Subclasses:
AnyToAnyModelTransformationInfo
@OpenApiAll public abstract class AbstractModelTransformationInfo extends java.lang.Object implements ModelTransformationInfo
Abstract class for model transformation info.- See Also:
ModelTransformation
-
-
Constructor Summary
Constructors Constructor Description AbstractModelTransformationInfo(java.lang.String transformationName, java.lang.String transformationDescription, java.lang.String iconNameWithPath)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetDescriptionAsStream()Returns model transformation description as streamjavax.swing.IcongetIcon()Returns model transformation iconjava.lang.StringgetTransformationName()Getter for model transformation namebooleanisDefaulTypeMapProfileMappingOrderForward()Returns mapping order of default type map profile-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.nomagic.magicdraw.modeltransformations.ModelTransformationInfo
canCreateNewElements, getDefaultPropertyManager, getDefaulTypeMapProfileName, getSpecificTypeMap, getTransformation, getVisibleClasses, isOnlyInPlace, isSupportsLeaveIntactModel, isTypeMappingSupported, isVisibleInBrowser, prepareTransformation, shouldPreloadDiagram
-
-
-
-
Constructor Detail
-
AbstractModelTransformationInfo
public AbstractModelTransformationInfo(java.lang.String transformationName, java.lang.String transformationDescription, java.lang.String iconNameWithPath)Constructor- Parameters:
transformationName- Model transformation nametransformationDescription- Model transformation descriptioniconNameWithPath- Icon name with resourse path
-
-
Method Detail
-
getDescriptionAsStream
@CheckForNull public java.io.InputStream getDescriptionAsStream()
Returns model transformation description as stream- Specified by:
getDescriptionAsStreamin interfaceModelTransformationInfo- Returns:
- input stream of model transformation description.
-
getTransformationName
public java.lang.String getTransformationName()
Getter for model transformation name- Specified by:
getTransformationNamein interfaceModelTransformationInfo- Returns:
- model transformation name
-
isDefaulTypeMapProfileMappingOrderForward
public boolean isDefaulTypeMapProfileMappingOrderForward()
Description copied from interface:ModelTransformationInfoReturns mapping order of default type map profile- Specified by:
isDefaulTypeMapProfileMappingOrderForwardin interfaceModelTransformationInfo- Returns:
- return true for forward mapping
-
getIcon
public javax.swing.Icon getIcon()
Returns model transformation icon- Specified by:
getIconin interfaceModelTransformationInfo- Returns:
- model transformation icon
-
-