Class AsyncApi25SchemaImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.asyncapi.v25.AsyncApi25SchemaImpl
-
- All Implemented Interfaces:
AsyncApiExtensible,AsyncApiReferenceable,AsyncApiSchema,AsyncApi25Extensible,AsyncApi25Referenceable,AsyncApi25Schema,Extensible,Node,Referenceable,Schema,BooleanSchemaUnion,SchemaSchemaListUnion,Union,Visitable
public class AsyncApi25SchemaImpl extends NodeImpl implements AsyncApi25Schema
-
-
Constructor Summary
Constructors Constructor Description AsyncApi25SchemaImpl()
-
Method Summary
-
Methods inherited from class io.apicurio.datamodels.models.NodeImpl
_setMapPropertyName, _setParentPropertyName, _setParentPropertyType, addExtraProperty, attach, clearNodeAttributes, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, isEntity, isEntityList, isEntityMap, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute
-
Methods inherited from interface io.apicurio.datamodels.models.union.Union
isEntity, isEntityList, isEntityMap
-
-
-
-
Method Detail
-
get$ref
public String get$ref()
- Specified by:
get$refin interfaceAsyncApi25Schema- Specified by:
get$refin interfaceReferenceable
-
set$ref
public void set$ref(String value)
- Specified by:
set$refin interfaceAsyncApi25Schema- Specified by:
set$refin interfaceReferenceable
-
getType
public String getType()
- Specified by:
getTypein interfaceAsyncApiSchema
-
setType
public void setType(String value)
- Specified by:
setTypein interfaceAsyncApiSchema
-
getRequired
public List<String> getRequired()
- Specified by:
getRequiredin interfaceSchema
-
setRequired
public void setRequired(List<String> value)
- Specified by:
setRequiredin interfaceSchema
-
getMultipleOf
public Number getMultipleOf()
- Specified by:
getMultipleOfin interfaceSchema
-
setMultipleOf
public void setMultipleOf(Number value)
- Specified by:
setMultipleOfin interfaceSchema
-
getMaximum
public Number getMaximum()
- Specified by:
getMaximumin interfaceSchema
-
setMaximum
public void setMaximum(Number value)
- Specified by:
setMaximumin interfaceSchema
-
getExclusiveMaximum
public Number getExclusiveMaximum()
- Specified by:
getExclusiveMaximumin interfaceAsyncApiSchema
-
setExclusiveMaximum
public void setExclusiveMaximum(Number value)
- Specified by:
setExclusiveMaximumin interfaceAsyncApiSchema
-
getMinimum
public Number getMinimum()
- Specified by:
getMinimumin interfaceSchema
-
setMinimum
public void setMinimum(Number value)
- Specified by:
setMinimumin interfaceSchema
-
getExclusiveMinimum
public Number getExclusiveMinimum()
- Specified by:
getExclusiveMinimumin interfaceAsyncApiSchema
-
setExclusiveMinimum
public void setExclusiveMinimum(Number value)
- Specified by:
setExclusiveMinimumin interfaceAsyncApiSchema
-
getMaxLength
public Integer getMaxLength()
- Specified by:
getMaxLengthin interfaceSchema
-
setMaxLength
public void setMaxLength(Integer value)
- Specified by:
setMaxLengthin interfaceSchema
-
getMinLength
public Integer getMinLength()
- Specified by:
getMinLengthin interfaceSchema
-
setMinLength
public void setMinLength(Integer value)
- Specified by:
setMinLengthin interfaceSchema
-
getPattern
public String getPattern()
- Specified by:
getPatternin interfaceSchema
-
setPattern
public void setPattern(String value)
- Specified by:
setPatternin interfaceSchema
-
getMaxItems
public Integer getMaxItems()
- Specified by:
getMaxItemsin interfaceSchema
-
setMaxItems
public void setMaxItems(Integer value)
- Specified by:
setMaxItemsin interfaceSchema
-
getMinItems
public Integer getMinItems()
- Specified by:
getMinItemsin interfaceSchema
-
setMinItems
public void setMinItems(Integer value)
- Specified by:
setMinItemsin interfaceSchema
-
isUniqueItems
public Boolean isUniqueItems()
- Specified by:
isUniqueItemsin interfaceSchema
-
setUniqueItems
public void setUniqueItems(Boolean value)
- Specified by:
setUniqueItemsin interfaceSchema
-
getMaxProperties
public Integer getMaxProperties()
- Specified by:
getMaxPropertiesin interfaceSchema
-
setMaxProperties
public void setMaxProperties(Integer value)
- Specified by:
setMaxPropertiesin interfaceSchema
-
getMinProperties
public Integer getMinProperties()
- Specified by:
getMinPropertiesin interfaceSchema
-
setMinProperties
public void setMinProperties(Integer value)
- Specified by:
setMinPropertiesin interfaceSchema
-
getEnum
public List<com.fasterxml.jackson.databind.JsonNode> getEnum()
-
setEnum
public void setEnum(List<com.fasterxml.jackson.databind.JsonNode> value)
-
getConst
public com.fasterxml.jackson.databind.JsonNode getConst()
- Specified by:
getConstin interfaceAsyncApiSchema
-
setConst
public void setConst(com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
setConstin interfaceAsyncApiSchema
-
getExamples
public List<com.fasterxml.jackson.databind.JsonNode> getExamples()
- Specified by:
getExamplesin interfaceAsyncApiSchema
-
setExamples
public void setExamples(List<com.fasterxml.jackson.databind.JsonNode> value)
- Specified by:
setExamplesin interfaceAsyncApiSchema
-
getIf
public AsyncApiSchema getIf()
- Specified by:
getIfin interfaceAsyncApiSchema
-
setIf
public void setIf(AsyncApiSchema value)
- Specified by:
setIfin interfaceAsyncApiSchema
-
createSchema
public AsyncApi25Schema createSchema()
- Specified by:
createSchemain interfaceAsyncApiSchema- Specified by:
createSchemain interfaceSchema
-
getThen
public AsyncApiSchema getThen()
- Specified by:
getThenin interfaceAsyncApiSchema
-
setThen
public void setThen(AsyncApiSchema value)
- Specified by:
setThenin interfaceAsyncApiSchema
-
getElse
public AsyncApiSchema getElse()
- Specified by:
getElsein interfaceAsyncApiSchema
-
setElse
public void setElse(AsyncApiSchema value)
- Specified by:
setElsein interfaceAsyncApiSchema
-
isReadOnly
public Boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceSchema
-
setReadOnly
public void setReadOnly(Boolean value)
- Specified by:
setReadOnlyin interfaceSchema
-
isWriteOnly
public Boolean isWriteOnly()
- Specified by:
isWriteOnlyin interfaceAsyncApiSchema
-
setWriteOnly
public void setWriteOnly(Boolean value)
- Specified by:
setWriteOnlyin interfaceAsyncApiSchema
-
getProperties
public Map<String,Schema> getProperties()
- Specified by:
getPropertiesin interfaceSchema
-
addProperty
public void addProperty(String name, Schema value)
- Specified by:
addPropertyin interfaceSchema
-
clearProperties
public void clearProperties()
- Specified by:
clearPropertiesin interfaceSchema
-
removeProperty
public void removeProperty(String name)
- Specified by:
removePropertyin interfaceSchema
-
insertProperty
public void insertProperty(String name, Schema value, int atIndex)
- Specified by:
insertPropertyin interfaceSchema
-
getPatternProperties
public Map<String,String> getPatternProperties()
- Specified by:
getPatternPropertiesin interfaceAsyncApiSchema
-
setPatternProperties
public void setPatternProperties(Map<String,String> value)
- Specified by:
setPatternPropertiesin interfaceAsyncApiSchema
-
getAdditionalProperties
public BooleanSchemaUnion getAdditionalProperties()
- Specified by:
getAdditionalPropertiesin interfaceSchema
-
setAdditionalProperties
public void setAdditionalProperties(BooleanSchemaUnion value)
- Specified by:
setAdditionalPropertiesin interfaceSchema
-
getAdditionalItems
public AsyncApiSchema getAdditionalItems()
- Specified by:
getAdditionalItemsin interfaceAsyncApiSchema
-
setAdditionalItems
public void setAdditionalItems(AsyncApiSchema value)
- Specified by:
setAdditionalItemsin interfaceAsyncApiSchema
-
getItems
public SchemaSchemaListUnion getItems()
- Specified by:
getItemsin interfaceAsyncApiSchema
-
setItems
public void setItems(SchemaSchemaListUnion value)
- Specified by:
setItemsin interfaceAsyncApiSchema
-
getPropertyNames
public AsyncApiSchema getPropertyNames()
- Specified by:
getPropertyNamesin interfaceAsyncApiSchema
-
setPropertyNames
public void setPropertyNames(AsyncApiSchema value)
- Specified by:
setPropertyNamesin interfaceAsyncApiSchema
-
getContains
public AsyncApiSchema getContains()
- Specified by:
getContainsin interfaceAsyncApiSchema
-
setContains
public void setContains(AsyncApiSchema value)
- Specified by:
setContainsin interfaceAsyncApiSchema
-
clearAllOf
public void clearAllOf()
- Specified by:
clearAllOfin interfaceSchema
-
removeAllOf
public void removeAllOf(Schema value)
- Specified by:
removeAllOfin interfaceSchema
-
insertAllOf
public void insertAllOf(Schema value, int atIndex)
- Specified by:
insertAllOfin interfaceSchema
-
getOneOf
public List<AsyncApiSchema> getOneOf()
- Specified by:
getOneOfin interfaceAsyncApiSchema
-
addOneOf
public void addOneOf(AsyncApiSchema value)
- Specified by:
addOneOfin interfaceAsyncApiSchema
-
clearOneOf
public void clearOneOf()
- Specified by:
clearOneOfin interfaceAsyncApiSchema
-
removeOneOf
public void removeOneOf(AsyncApiSchema value)
- Specified by:
removeOneOfin interfaceAsyncApiSchema
-
insertOneOf
public void insertOneOf(AsyncApiSchema value, int atIndex)
- Specified by:
insertOneOfin interfaceAsyncApiSchema
-
getAnyOf
public List<AsyncApiSchema> getAnyOf()
- Specified by:
getAnyOfin interfaceAsyncApiSchema
-
addAnyOf
public void addAnyOf(AsyncApiSchema value)
- Specified by:
addAnyOfin interfaceAsyncApiSchema
-
clearAnyOf
public void clearAnyOf()
- Specified by:
clearAnyOfin interfaceAsyncApiSchema
-
removeAnyOf
public void removeAnyOf(AsyncApiSchema value)
- Specified by:
removeAnyOfin interfaceAsyncApiSchema
-
insertAnyOf
public void insertAnyOf(AsyncApiSchema value, int atIndex)
- Specified by:
insertAnyOfin interfaceAsyncApiSchema
-
getNot
public AsyncApiSchema getNot()
- Specified by:
getNotin interfaceAsyncApiSchema
-
setNot
public void setNot(AsyncApiSchema value)
- Specified by:
setNotin interfaceAsyncApiSchema
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceSchema
-
setDescription
public void setDescription(String value)
- Specified by:
setDescriptionin interfaceSchema
-
getDefault
public com.fasterxml.jackson.databind.JsonNode getDefault()
- Specified by:
getDefaultin interfaceSchema
-
setDefault
public void setDefault(com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
setDefaultin interfaceSchema
-
getDiscriminator
public String getDiscriminator()
- Specified by:
getDiscriminatorin interfaceAsyncApiSchema
-
setDiscriminator
public void setDiscriminator(String value)
- Specified by:
setDiscriminatorin interfaceAsyncApiSchema
-
getExternalDocs
public ExternalDocumentation getExternalDocs()
- Specified by:
getExternalDocsin interfaceSchema
-
setExternalDocs
public void setExternalDocs(ExternalDocumentation value)
- Specified by:
setExternalDocsin interfaceSchema
-
createExternalDocumentation
public AsyncApi25ExternalDocumentation createExternalDocumentation()
- Specified by:
createExternalDocumentationin interfaceSchema
-
isDeprecated
public Boolean isDeprecated()
- Specified by:
isDeprecatedin interfaceAsyncApiSchema
-
setDeprecated
public void setDeprecated(Boolean value)
- Specified by:
setDeprecatedin interfaceAsyncApiSchema
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceAsyncApi25Schema- Specified by:
getExtensionsin interfaceExtensible
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceAsyncApi25Schema- Specified by:
addExtensionin interfaceExtensible
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensionsin interfaceAsyncApi25Schema- Specified by:
clearExtensionsin interfaceExtensible
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceAsyncApi25Schema- Specified by:
removeExtensionin interfaceExtensible
-
insertExtension
public void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceAsyncApi25Schema- Specified by:
insertExtensionin interfaceExtensible
-
isBoolean
public boolean isBoolean()
- Specified by:
isBooleanin interfaceBooleanSchemaUnion
-
asBoolean
public Boolean asBoolean()
- Specified by:
asBooleanin interfaceBooleanSchemaUnion
-
isSchema
public boolean isSchema()
- Specified by:
isSchemain interfaceBooleanSchemaUnion- Specified by:
isSchemain interfaceSchemaSchemaListUnion
-
asSchema
public Schema asSchema()
- Specified by:
asSchemain interfaceBooleanSchemaUnion- Specified by:
asSchemain interfaceSchemaSchemaListUnion
-
unionValue
public Object unionValue()
- Specified by:
unionValuein interfaceUnion
-
isSchemaList
public boolean isSchemaList()
- Specified by:
isSchemaListin interfaceSchemaSchemaListUnion
-
asSchemaList
public List<Schema> asSchemaList()
- Specified by:
asSchemaListin interfaceSchemaSchemaListUnion
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-