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
ConstructorDescriptionAbstractModelTransformationInfo
(String transformationName, String transformationDescription, String iconNameWithPath) Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns model transformation description as streamgetIcon()
Returns model transformation iconGetter for model transformation nameboolean
Returns mapping order of default type map profileMethods 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 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:
getDescriptionAsStream
in interfaceModelTransformationInfo
- Returns:
- input stream of model transformation description.
-
getTransformationName
Getter for model transformation name- Specified by:
getTransformationName
in interfaceModelTransformationInfo
- Returns:
- model transformation name
-
isDefaulTypeMapProfileMappingOrderForward
public boolean isDefaulTypeMapProfileMappingOrderForward()Description copied from interface:ModelTransformationInfo
Returns mapping order of default type map profile- Specified by:
isDefaulTypeMapProfileMappingOrderForward
in interfaceModelTransformationInfo
- Returns:
- return true for forward mapping
-
getIcon
Returns model transformation icon- Specified by:
getIcon
in interfaceModelTransformationInfo
- Returns:
- model transformation icon
-