Class ImportInterfaceSettings
- java.lang.Object
-
- com.piketec.tpt.api.importinterface.ImportInterfaceSettings
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ImportA2LSettings
public abstract class ImportInterfaceSettings extends java.lang.Object implements java.io.Serializable
Settings to use forProject.importIO(ImportInterfaceSettings)
. Use a specific sub class to choose an importer.- Author:
- Copyright (c) 2014-2024 Piketec GmbH - MIT License (MIT) - All rights reserved
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportInterfaceSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapping
getMappingOrNull()
Returns the mapping to read mapping information from and/or write new information to.Project.SynchronizationMethod
getSynchronizationMethod()
Gets theProject.SynchronizationMethod
for matching existing objects to imported objects.void
setMappingOrNull(Mapping mappingOrNull)
Sets the mapping to read mapping information from and/or write new information to.void
setSynchronizationMethod(Project.SynchronizationMethod syncMethod)
Sets theProject.SynchronizationMethod
for matching existing objects to imported objects.
-
-
-
Method Detail
-
getMappingOrNull
public Mapping getMappingOrNull()
Returns the mapping to read mapping information from and/or write new information to. Ifnull
a new mapping will be crated.- Returns:
- the Mapping or null
-
setMappingOrNull
public void setMappingOrNull(Mapping mappingOrNull)
Sets the mapping to read mapping information from and/or write new information to. Can benull
to create a new mapping.- Parameters:
mappingOrNull
- the Mapping to set
-
getSynchronizationMethod
public Project.SynchronizationMethod getSynchronizationMethod()
Gets theProject.SynchronizationMethod
for matching existing objects to imported objects.- Returns:
- the SynchronizationMethod
-
setSynchronizationMethod
public void setSynchronizationMethod(Project.SynchronizationMethod syncMethod)
Sets theProject.SynchronizationMethod
for matching existing objects to imported objects.- Parameters:
syncMethod
- the SynchronizationMethod to set
-
-