Uses of Class
io.apicurio.datamodels.models.ModelType
-
Packages that use ModelType Package Description io.apicurio.datamodels io.apicurio.datamodels.models io.apicurio.datamodels.models.io io.apicurio.datamodels.util io.apicurio.datamodels.validation -
-
Uses of ModelType in io.apicurio.datamodels
Methods in io.apicurio.datamodels that return ModelType Modifier and Type Method Description static ModelTypeModelTypeDetector. discoverModelType(com.fasterxml.jackson.databind.node.ObjectNode json)Called to discover what type of model the given JSON data represents.Methods in io.apicurio.datamodels with parameters of type ModelType Modifier and Type Method Description static DocumentLibrary. createDocument(ModelType type)Creates a new, empty document of the given type.static DocumentLibrary. transformDocument(Document source, ModelType toType)Transforms from older versions of specs to newer versions. -
Uses of ModelType in io.apicurio.datamodels.models
Methods in io.apicurio.datamodels.models that return ModelType Modifier and Type Method Description ModelTypeRootNode. modelType()ModelTypeRootNodeImpl. modelType()static ModelTypeModelType. valueOf(String name)Returns the enum constant of this type with the specified name.static ModelType[]ModelType. values()Returns an array containing the constants of this enum type, in the order they are declared.Constructors in io.apicurio.datamodels.models with parameters of type ModelType Constructor Description RootNodeImpl(ModelType modelType) -
Uses of ModelType in io.apicurio.datamodels.models.io
Methods in io.apicurio.datamodels.models.io with parameters of type ModelType Modifier and Type Method Description static ModelReaderModelReaderFactory. createModelReader(ModelType modelType)static VisitorModelReaderFactory. createModelReaderDispatcher(ModelType modelType, com.fasterxml.jackson.databind.node.ObjectNode json)static ModelWriterModelWriterFactory. createModelWriter(ModelType modelType)static VisitorModelWriterFactory. createModelWriterDispatcher(ModelType modelType, com.fasterxml.jackson.databind.node.ObjectNode json) -
Uses of ModelType in io.apicurio.datamodels.util
Methods in io.apicurio.datamodels.util that return ModelType Modifier and Type Method Description static ModelTypeModelTypeUtil. fromString(String type)Methods in io.apicurio.datamodels.util with parameters of type ModelType Modifier and Type Method Description static ValidationVisitorValidationUtil. createValidationVisitor(ModelType type)static StringModelTypeUtil. getVersion(ModelType type) -
Uses of ModelType in io.apicurio.datamodels.validation
Fields in io.apicurio.datamodels.validation declared as ModelType Modifier and Type Field Description ModelType[]ValidationRuleMetaData. versionsMethods in io.apicurio.datamodels.validation with parameters of type ModelType Modifier and Type Method Description booleanValidationRuleMetaData. appliesTo(ModelType type)Returns true if this rule applies to documents of the given type.List<ValidationRule>ValidationRuleSet. getRulesFor(ModelType type)Gets the actual rule instances (visitors) that should be applied to the given document.static ValidationRuleMetaDataValidationRuleSet. md(String code, String name, String type, String entity, ModelType[] versions, boolean specMandated, String messageTemplate, Class<?> ruleClass)Constructors in io.apicurio.datamodels.validation with parameters of type ModelType Constructor Description ValidationRuleMetaData(String code, String name, String type, String entity, ModelType[] versions, boolean specMandated, String messageTemplate, Class<?> ruleClass)Constructor.ValidationVisitor(ModelType type)Constructor.
-