Class SchemaProblem
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.core.FoundationObject
com.northconcepts.datapipeline.foundations.schema.SchemaObject
com.northconcepts.datapipeline.foundations.schema.SchemaProblem
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,JavaCodeGenerator,Serializable
Describes an issue found when checking a schema definition and the
SchemaPart it was found in.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSeverity levels for schema problems; currently unused. -
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
ConstructorsConstructorDescriptionSchemaProblem(SchemaPart schemaPart, 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 TypeMethodDescriptionsetDetails(String details) setSchemaPart(SchemaPart schemaPart) 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.sourcecode.JavaCodeGenerator
generateJavaCodeMethods 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
-
SchemaProblem
public SchemaProblem() -
SchemaProblem
Creates a problem for the given part; when arguments are passed,detailsis aString.format(String, Object...)pattern.
-
-
Method Details
-
getSchemaPart
-
setSchemaPart
-
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
-