io.apicurio.registry.serde.ParsedSchemaImpl Maven / Gradle / Ivy
package io.apicurio.registry.serde;
/**
* This class is deprecated and eventually will be replaced by
* {@link io.apicurio.registry.resolver.ParsedSchemaImpl}
*/
@Deprecated
public class ParsedSchemaImpl implements ParsedSchema {
private T parsedSchema;
private byte[] rawSchema;
public ParsedSchemaImpl() {
// empty
}
/**
* @return the parsedSchema
*/
@Override
public T getParsedSchema() {
return parsedSchema;
}
/**
* @param parsedSchema the parsedSchema to set
*/
public ParsedSchemaImpl setParsedSchema(T parsedSchema) {
this.parsedSchema = parsedSchema;
return this;
}
/**
* @return the rawSchema
*/
@Override
public byte[] getRawSchema() {
return rawSchema;
}
/**
* @param rawSchema the rawSchema to set
*/
public ParsedSchemaImpl setRawSchema(byte[] rawSchema) {
this.rawSchema = rawSchema;
return this;
}
}