Class DataMappingProblem
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.core.FoundationObject
com.northconcepts.datapipeline.foundations.datamapping.DataMappingObject
com.northconcepts.datapipeline.foundations.datamapping.DataMappingProblem
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,Serializable
Describes an issue found when checking a data mapping and the
DataMappingPart it was found in.- See Also:
-
Field Summary
Fields inherited from class com.northconcepts.datapipeline.foundations.core.FoundationObject
internalId, internalName, log, TIMESTAMP_FORMATFields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
ConstructorsConstructorDescriptionDataMappingProblem(DataMappingPart dataMappingPart, String details, Object... detailArguments) Creates a problem for the given part; when arguments are passed,detailsis aString.format(String, Object...)pattern. -
Method Summary
Modifier and TypeMethodDescriptionsetDataMappingPart(DataMappingPart dataMappingPart) setDetails(String details) toRecord()Converts this object's state to a record thatRecordSerializable.fromRecord(Record)can load.Methods inherited from class com.northconcepts.datapipeline.foundations.core.FoundationObject
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdMethods inherited from class com.northconcepts.datapipeline.foundations.core.Bean
fromRecord, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionPropertiesMethods inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
fromJson, fromJson, toJson, toJson, toJsonMethods inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
fromXml, fromXml, fromXmlElement, toXml, toXml, toXml, toXml, toXml, toXmlElement
-
Constructor Details
-
DataMappingProblem
public DataMappingProblem() -
DataMappingProblem
public DataMappingProblem(DataMappingPart dataMappingPart, String details, Object... detailArguments) Creates a problem for the given part; when arguments are passed,detailsis aString.format(String, Object...)pattern.
-
-
Method Details
-
getDataMappingPart
-
setDataMappingPart
-
getDetails
-
setDetails
-
toRecord
Description copied from interface:RecordSerializableConverts this object's state to a record thatRecordSerializable.fromRecord(Record)can load.- Specified by:
toRecordin interfaceRecordSerializable- Overrides:
toRecordin classBean
-