Class AsyncApi30MultiFormatSchemaImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.asyncapi.v30.AsyncApi30MultiFormatSchemaImpl
-
- All Implemented Interfaces:
AsyncApiExtensible,AsyncApiReferenceable,AsyncApi30Extensible,AsyncApi30MultiFormatSchema,AsyncApi30Referenceable,Extensible,Node,Referenceable,MultiFormatSchemaSchemaUnion,Union,Visitable
public class AsyncApi30MultiFormatSchemaImpl extends NodeImpl implements AsyncApi30MultiFormatSchema
-
-
Constructor Summary
Constructors Constructor Description AsyncApi30MultiFormatSchemaImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)voidaddExtension(String name, com.fasterxml.jackson.databind.JsonNode value)AsyncApi30MultiFormatSchemaasMultiFormatSchema()SchemaasSchema()voidclearExtensions()AsyncApi30SchemacreateSchema()NodeemptyClone()Stringget$ref()Map<String,com.fasterxml.jackson.databind.JsonNode>getExtensions()AnySchemaUniongetSchema()StringgetSchemaFormat()voidinsertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)booleanisMultiFormatSchema()booleanisSchema()voidremoveExtension(String name)voidset$ref(String value)voidsetSchema(AnySchemaUnion value)voidsetSchemaFormat(String value)ObjectunionValue()-
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 interfaceAsyncApi30MultiFormatSchema- Specified by:
get$refin interfaceReferenceable
-
set$ref
public void set$ref(String value)
- Specified by:
set$refin interfaceAsyncApi30MultiFormatSchema- Specified by:
set$refin interfaceReferenceable
-
getSchemaFormat
public String getSchemaFormat()
- Specified by:
getSchemaFormatin interfaceAsyncApi30MultiFormatSchema
-
setSchemaFormat
public void setSchemaFormat(String value)
- Specified by:
setSchemaFormatin interfaceAsyncApi30MultiFormatSchema
-
getSchema
public AnySchemaUnion getSchema()
- Specified by:
getSchemain interfaceAsyncApi30MultiFormatSchema
-
setSchema
public void setSchema(AnySchemaUnion value)
- Specified by:
setSchemain interfaceAsyncApi30MultiFormatSchema
-
createSchema
public AsyncApi30Schema createSchema()
- Specified by:
createSchemain interfaceAsyncApi30MultiFormatSchema
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceAsyncApi30MultiFormatSchema- Specified by:
getExtensionsin interfaceExtensible
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceAsyncApi30MultiFormatSchema- Specified by:
addExtensionin interfaceExtensible
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensionsin interfaceAsyncApi30MultiFormatSchema- Specified by:
clearExtensionsin interfaceExtensible
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceAsyncApi30MultiFormatSchema- Specified by:
removeExtensionin interfaceExtensible
-
insertExtension
public void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceAsyncApi30MultiFormatSchema- Specified by:
insertExtensionin interfaceExtensible
-
isMultiFormatSchema
public boolean isMultiFormatSchema()
- Specified by:
isMultiFormatSchemain interfaceMultiFormatSchemaSchemaUnion
-
asMultiFormatSchema
public AsyncApi30MultiFormatSchema asMultiFormatSchema()
- Specified by:
asMultiFormatSchemain interfaceMultiFormatSchemaSchemaUnion
-
isSchema
public boolean isSchema()
- Specified by:
isSchemain interfaceMultiFormatSchemaSchemaUnion
-
asSchema
public Schema asSchema()
- Specified by:
asSchemain interfaceMultiFormatSchemaSchemaUnion
-
unionValue
public Object unionValue()
- Specified by:
unionValuein interfaceUnion
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-