Package interlok.csv.schema
Class ViolationsAsMetadata
- java.lang.Object
-
- interlok.csv.schema.ViolationsAsMetadata
-
- All Implemented Interfaces:
SchemaViolationHandler
- Direct Known Subclasses:
ErrorsAsMetadata,FailuresAsMetadata
public abstract class ViolationsAsMetadata extends java.lang.Object implements SchemaViolationHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface interlok.csv.schema.SchemaViolationHandler
SchemaViolationHandler.FailureType
-
-
Constructor Summary
Constructors Constructor Description ViolationsAsMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMetadataKey()The metadata key to store failures against.voidsetMetadataKey(java.lang.String metadataKey)The metadata key to store failures against.<T extends ViolationsAsMetadata>
TwithMetadataKey(java.lang.String key)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface interlok.csv.schema.SchemaViolationHandler
handle, toString
-
-
-
-
Method Detail
-
withMetadataKey
public <T extends ViolationsAsMetadata> T withMetadataKey(java.lang.String key)
-
getMetadataKey
public java.lang.String getMetadataKey()
The metadata key to store failures against.
-
setMetadataKey
public void setMetadataKey(java.lang.String metadataKey)
The metadata key to store failures against.
-
-