Class MappingElementText
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.MappingElementBaseImpl
de.mid.innovator.m2msdk.model.text.MappingElementText
- All Implemented Interfaces:
MappingElementIF,Serializable
Mapping element for text files; is a line of text.
- Version:
- 11.1.0
- Author:
- jmback
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMappingElementText(SessionInterface session, FileAccess iFile, int linenumber) -
Method Summary
Modifier and TypeMethodDescriptioncreateElement(ModelTransformationStepIF step, CreateDescriptorIF createDescriptor, MappingAnchor target) Create a new element in the same model as this element.voiddelete()Delete the mapping element.Get the children of the element.getFile()getHash()Get the hash value of the element inside the mapping model.getIcon()Get the icon of the element.getModel()Get the model of the element.getName()Get the name.getOwner()Get the owner of the element.getPath()Get the path of the element inside the model.Get the targets of the element.getType()Get the name of element's type.getURI()Get the URI.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.MappingElementBaseImpl
cloneIndexed, equals, equals, getBulkInfo, getBulkInfoSpecialist, getDisplayType, getElementProperty, getObject, getObject, getObjects, getObjects, getOwnerTransitive, getProperty, getProperty, getSession, getVirtualIndex, hashCode, isNotNull, isVirtualIndexed, setElementProperty, setVirtualIndex
-
Constructor Details
-
MappingElementText
-
-
Method Details
-
createElement
public MappingElementIF createElement(ModelTransformationStepIF step, CreateDescriptorIF createDescriptor, MappingAnchor target) throws SevereException Description copied from interface:MappingElementIFCreate a new element in the same model as this element.- Specified by:
createElementin interfaceMappingElementIF- Overrides:
createElementin classMappingElementBaseImpl- Parameters:
createDescriptor- description what to createtarget- additional anchor elements for the new element- Returns:
- a newly created element with the current element as owner spawned through the additional target elements
- Throws:
SevereException
-
getChildren
Description copied from interface:MappingElementIFGet the children of the element.- Returns:
- the children elements
-
getHash
Description copied from interface:MappingElementIFGet the hash value of the element inside the mapping model. Equal elements have same hash. Different elements have different hash.- Specified by:
getHashin interfaceMappingElementIF- Overrides:
getHashin classMappingElementBaseImpl- Returns:
- the elements hash value unique within one model.
-
getIcon
Description copied from interface:MappingElementIFGet the icon of the element. Either provide the fully qualified file name or the name in the classpath or the file name for Innovator bitmaps.- Specified by:
getIconin interfaceMappingElementIF- Overrides:
getIconin classMappingElementBaseImpl- Returns:
- the name of the elements icon, if exists
-
getModel
Description copied from interface:MappingElementIFGet the model of the element.- Specified by:
getModelin interfaceMappingElementIF- Overrides:
getModelin classMappingElementBaseImpl- Returns:
- the elements model
- Throws:
M2MExceptionRemoteException
-
getMetaModel
- Throws:
M2MExceptionRemoteException
-
getName
Description copied from interface:MappingElementIFGet the name.- Specified by:
getNamein interfaceMappingElementIF- Overrides:
getNamein classMappingElementBaseImpl- Returns:
- the elements name
-
getOwner
Description copied from interface:MappingElementIFGet the owner of the element.- Specified by:
getOwnerin interfaceMappingElementIF- Overrides:
getOwnerin classMappingElementBaseImpl- Returns:
- the owning element
-
getPath
Description copied from interface:MappingElementIFGet the path of the element inside the model.- Specified by:
getPathin interfaceMappingElementIF- Overrides:
getPathin classMappingElementBaseImpl- Returns:
- the elements path
-
getTargets
Description copied from interface:MappingElementIFGet the targets of the element.- Specified by:
getTargetsin interfaceMappingElementIF- Overrides:
getTargetsin classMappingElementBaseImpl- Returns:
- the target elements ( e.g. dependency or relationship target ) otherwise returns nothing
-
getType
Description copied from interface:MappingElementIFGet the name of element's type.- Specified by:
getTypein interfaceMappingElementIF- Overrides:
getTypein classMappingElementBaseImpl- Returns:
- the name of elements type
-
getURI
Description copied from interface:MappingElementIFGet the URI. The URI can be used to retrieve an element from the mapping meta model.- Specified by:
getURIin interfaceMappingElementIF- Overrides:
getURIin classMappingElementBaseImpl- Returns:
- URI of the element
-
getFile
-
delete
Description copied from interface:MappingElementIFDelete the mapping element.- Specified by:
deletein interfaceMappingElementIF- Overrides:
deletein classMappingElementBaseImpl- Throws:
M2MExceptionRemoteException
-