Class AbstractModelTransformationInfo
java.lang.Object
com.nomagic.magicdraw.modeltransformations.AbstractModelTransformationInfo
- All Implemented Interfaces:
ModelTransformationInfo
- Direct Known Subclasses:
AnyToAnyModelTransformationInfo
@OpenApiAll
public abstract class AbstractModelTransformationInfo
extends Object
implements ModelTransformationInfo
Abstract class for model transformation info.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractModelTransformationInfo(String transformationName, String transformationDescription, String iconNameWithPath) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns model transformation description as streamgetIcon()Returns model transformation iconGetter for model transformation namebooleanReturns mapping order of default type map profileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.nomagic.magicdraw.modeltransformations.ModelTransformationInfo
canCreateNewElements, getDefaultPropertyManager, getDefaulTypeMapProfileName, getSpecificTypeMap, getTransformation, getVisibleClasses, isOnlyInPlace, isSupportsLeaveIntactModel, isTypeMappingSupported, isVisibleInBrowser, prepareTransformation, shouldPreloadDiagram
-
Constructor Details
-
AbstractModelTransformationInfo
public AbstractModelTransformationInfo(String transformationName, String transformationDescription, String iconNameWithPath) Constructor- Parameters:
transformationName- Model transformation nametransformationDescription- Model transformation descriptioniconNameWithPath- Icon name with resourse path
-
-
Method Details
-
getDescriptionAsStream
Returns model transformation description as stream- Specified by:
getDescriptionAsStreamin interfaceModelTransformationInfo- Returns:
- input stream of model transformation description.
-
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
Returns model transformation icon- Specified by:
getIconin interfaceModelTransformationInfo- Returns:
- model transformation icon
-