Package io.apicurio.registry.resolver
Class ParsedSchemaImpl<T>
java.lang.Object
io.apicurio.registry.resolver.ParsedSchemaImpl<T>
- All Implemented Interfaces:
ParsedSchema<T>
- Author:
- Fabian Martinez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]booleansetParsedSchema(T parsedSchema) setRawSchema(byte[] rawSchema) setReferenceName(String referenceName) set the name to be used when referencing this schemasetSchemaReferences(List<ParsedSchema<T>> schemaReferences)
-
Constructor Details
-
ParsedSchemaImpl
public ParsedSchemaImpl()
-
-
Method Details
-
getParsedSchema
- Specified by:
getParsedSchemain interfaceParsedSchema<T>- Returns:
- the parsedSchema
-
setParsedSchema
- Parameters:
parsedSchema- the parsedSchema to set
-
getRawSchema
public byte[] getRawSchema()- Specified by:
getRawSchemain interfaceParsedSchema<T>- Returns:
- the rawSchema
-
setRawSchema
- Parameters:
rawSchema- the rawSchema to set
-
getSchemaReferences
- Specified by:
getSchemaReferencesin interfaceParsedSchema<T>- Returns:
- schema references
-
setSchemaReferences
- Parameters:
schemaReferences- to set
-
hasReferences
public boolean hasReferences()- Specified by:
hasReferencesin interfaceParsedSchema<T>- Returns:
- true if the schema has references
-
referenceName
- Specified by:
referenceNamein interfaceParsedSchema<T>- Returns:
- the name to be used when referencing this schema
-
setReferenceName
Description copied from interface:ParsedSchemaset the name to be used when referencing this schema- Specified by:
setReferenceNamein interfaceParsedSchema<T>
-