Package io.apicurio.datamodels.models
Class NodeImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- Direct Known Subclasses:
AsyncApi20BindingImpl,AsyncApi20ChannelBindingsImpl,AsyncApi20ChannelItemImpl,AsyncApi20ChannelsImpl,AsyncApi20ComponentsImpl,AsyncApi20ContactImpl,AsyncApi20CorrelationIDImpl,AsyncApi20ExternalDocumentationImpl,AsyncApi20InfoImpl,AsyncApi20LicenseImpl,AsyncApi20MessageBindingsImpl,AsyncApi20MessageImpl,AsyncApi20MessageTraitImpl,AsyncApi20OAuthFlowImpl,AsyncApi20OAuthFlowsImpl,AsyncApi20OneOfMessagesImpl,AsyncApi20OperationBindingsImpl,AsyncApi20OperationImpl,AsyncApi20OperationTraitImpl,AsyncApi20ParameterImpl,AsyncApi20ParametersImpl,AsyncApi20SchemaImpl,AsyncApi20SecurityRequirementImpl,AsyncApi20SecuritySchemeImpl,AsyncApi20ServerBindingsImpl,AsyncApi20ServerImpl,AsyncApi20ServersImpl,AsyncApi20ServerVariableImpl,AsyncApi20TagImpl,AsyncApi21BindingImpl,AsyncApi21ChannelBindingsImpl,AsyncApi21ChannelItemImpl,AsyncApi21ChannelsImpl,AsyncApi21ComponentsImpl,AsyncApi21ContactImpl,AsyncApi21CorrelationIDImpl,AsyncApi21ExternalDocumentationImpl,AsyncApi21InfoImpl,AsyncApi21LicenseImpl,AsyncApi21MessageBindingsImpl,AsyncApi21MessageImpl,AsyncApi21MessageTraitImpl,AsyncApi21OAuthFlowImpl,AsyncApi21OAuthFlowsImpl,AsyncApi21OneOfMessagesImpl,AsyncApi21OperationBindingsImpl,AsyncApi21OperationImpl,AsyncApi21OperationTraitImpl,AsyncApi21ParameterImpl,AsyncApi21ParametersImpl,AsyncApi21SchemaImpl,AsyncApi21SecurityRequirementImpl,AsyncApi21SecuritySchemeImpl,AsyncApi21ServerBindingsImpl,AsyncApi21ServerImpl,AsyncApi21ServersImpl,AsyncApi21ServerVariableImpl,AsyncApi21TagImpl,AsyncApi22BindingImpl,AsyncApi22ChannelBindingsImpl,AsyncApi22ChannelItemImpl,AsyncApi22ChannelsImpl,AsyncApi22ComponentsImpl,AsyncApi22ContactImpl,AsyncApi22CorrelationIDImpl,AsyncApi22ExternalDocumentationImpl,AsyncApi22InfoImpl,AsyncApi22LicenseImpl,AsyncApi22MessageBindingsImpl,AsyncApi22MessageExampleImpl,AsyncApi22MessageImpl,AsyncApi22MessageTraitImpl,AsyncApi22OAuthFlowImpl,AsyncApi22OAuthFlowsImpl,AsyncApi22OneOfMessagesImpl,AsyncApi22OperationBindingsImpl,AsyncApi22OperationImpl,AsyncApi22OperationTraitImpl,AsyncApi22ParameterImpl,AsyncApi22ParametersImpl,AsyncApi22SchemaImpl,AsyncApi22SecurityRequirementImpl,AsyncApi22SecuritySchemeImpl,AsyncApi22ServerBindingsImpl,AsyncApi22ServerImpl,AsyncApi22ServersImpl,AsyncApi22ServerVariableImpl,AsyncApi22TagImpl,AsyncApi23BindingImpl,AsyncApi23ChannelBindingsImpl,AsyncApi23ChannelItemImpl,AsyncApi23ChannelsImpl,AsyncApi23ComponentsImpl,AsyncApi23ContactImpl,AsyncApi23CorrelationIDImpl,AsyncApi23ExternalDocumentationImpl,AsyncApi23InfoImpl,AsyncApi23LicenseImpl,AsyncApi23MessageBindingsImpl,AsyncApi23MessageExampleImpl,AsyncApi23MessageImpl,AsyncApi23MessageTraitImpl,AsyncApi23OAuthFlowImpl,AsyncApi23OAuthFlowsImpl,AsyncApi23OneOfMessagesImpl,AsyncApi23OperationBindingsImpl,AsyncApi23OperationImpl,AsyncApi23OperationTraitImpl,AsyncApi23ParameterImpl,AsyncApi23ParametersImpl,AsyncApi23SchemaImpl,AsyncApi23SecurityRequirementImpl,AsyncApi23SecuritySchemeImpl,AsyncApi23ServerBindingsImpl,AsyncApi23ServerImpl,AsyncApi23ServersImpl,AsyncApi23ServerVariableImpl,AsyncApi23TagImpl,AsyncApi24BindingImpl,AsyncApi24ChannelBindingsImpl,AsyncApi24ChannelItemImpl,AsyncApi24ChannelsImpl,AsyncApi24ComponentsImpl,AsyncApi24ContactImpl,AsyncApi24CorrelationIDImpl,AsyncApi24ExternalDocumentationImpl,AsyncApi24InfoImpl,AsyncApi24LicenseImpl,AsyncApi24MessageBindingsImpl,AsyncApi24MessageExampleImpl,AsyncApi24MessageImpl,AsyncApi24MessageTraitImpl,AsyncApi24OAuthFlowImpl,AsyncApi24OAuthFlowsImpl,AsyncApi24OneOfMessagesImpl,AsyncApi24OperationBindingsImpl,AsyncApi24OperationImpl,AsyncApi24OperationTraitImpl,AsyncApi24ParameterImpl,AsyncApi24ParametersImpl,AsyncApi24SchemaImpl,AsyncApi24SecurityRequirementImpl,AsyncApi24SecuritySchemeImpl,AsyncApi24ServerBindingsImpl,AsyncApi24ServerImpl,AsyncApi24ServersImpl,AsyncApi24ServerVariableImpl,AsyncApi24TagImpl,AsyncApi25BindingImpl,AsyncApi25ChannelBindingsImpl,AsyncApi25ChannelItemImpl,AsyncApi25ChannelsImpl,AsyncApi25ComponentsImpl,AsyncApi25ContactImpl,AsyncApi25CorrelationIDImpl,AsyncApi25ExternalDocumentationImpl,AsyncApi25InfoImpl,AsyncApi25LicenseImpl,AsyncApi25MessageBindingsImpl,AsyncApi25MessageExampleImpl,AsyncApi25MessageImpl,AsyncApi25MessageTraitImpl,AsyncApi25OAuthFlowImpl,AsyncApi25OAuthFlowsImpl,AsyncApi25OneOfMessagesImpl,AsyncApi25OperationBindingsImpl,AsyncApi25OperationImpl,AsyncApi25OperationTraitImpl,AsyncApi25ParameterImpl,AsyncApi25ParametersImpl,AsyncApi25SchemaImpl,AsyncApi25SecurityRequirementImpl,AsyncApi25SecuritySchemeImpl,AsyncApi25ServerBindingsImpl,AsyncApi25ServerImpl,AsyncApi25ServersImpl,AsyncApi25ServerVariableImpl,AsyncApi25TagImpl,AsyncApi26BindingImpl,AsyncApi26ChannelBindingsImpl,AsyncApi26ChannelItemImpl,AsyncApi26ChannelsImpl,AsyncApi26ComponentsImpl,AsyncApi26ContactImpl,AsyncApi26CorrelationIDImpl,AsyncApi26ExternalDocumentationImpl,AsyncApi26InfoImpl,AsyncApi26LicenseImpl,AsyncApi26MessageBindingsImpl,AsyncApi26MessageExampleImpl,AsyncApi26MessageImpl,AsyncApi26MessageTraitImpl,AsyncApi26OAuthFlowImpl,AsyncApi26OAuthFlowsImpl,AsyncApi26OneOfMessagesImpl,AsyncApi26OperationBindingsImpl,AsyncApi26OperationImpl,AsyncApi26OperationTraitImpl,AsyncApi26ParameterImpl,AsyncApi26ParametersImpl,AsyncApi26SchemaImpl,AsyncApi26SecurityRequirementImpl,AsyncApi26SecuritySchemeImpl,AsyncApi26ServerBindingsImpl,AsyncApi26ServerImpl,AsyncApi26ServersImpl,AsyncApi26ServerVariableImpl,AsyncApi26TagImpl,AsyncApi30BindingImpl,AsyncApi30ChannelBindingsImpl,AsyncApi30ChannelImpl,AsyncApi30ChannelsImpl,AsyncApi30ComponentsImpl,AsyncApi30ContactImpl,AsyncApi30CorrelationIDImpl,AsyncApi30ExternalDocumentationImpl,AsyncApi30InfoImpl,AsyncApi30LicenseImpl,AsyncApi30MessageBindingsImpl,AsyncApi30MessageExampleImpl,AsyncApi30MessageImpl,AsyncApi30MessageTraitImpl,AsyncApi30MultiFormatSchemaImpl,AsyncApi30OAuthFlowImpl,AsyncApi30OAuthFlowsImpl,AsyncApi30OperationBindingsImpl,AsyncApi30OperationImpl,AsyncApi30OperationReplyAddressImpl,AsyncApi30OperationReplyImpl,AsyncApi30OperationsImpl,AsyncApi30OperationTraitImpl,AsyncApi30ParameterImpl,AsyncApi30ParametersImpl,AsyncApi30ReferenceImpl,AsyncApi30SchemaImpl,AsyncApi30SecuritySchemeImpl,AsyncApi30ServerBindingsImpl,AsyncApi30ServerImpl,AsyncApi30ServersImpl,AsyncApi30ServerVariableImpl,AsyncApi30TagImpl,OpenApi20ContactImpl,OpenApi20DefinitionsImpl,OpenApi20ExampleImpl,OpenApi20ExternalDocumentationImpl,OpenApi20HeaderImpl,OpenApi20InfoImpl,OpenApi20ItemsImpl,OpenApi20LicenseImpl,OpenApi20OperationImpl,OpenApi20ParameterDefinitionsImpl,OpenApi20ParameterImpl,OpenApi20PathItemImpl,OpenApi20PathsImpl,OpenApi20ResponseDefinitionsImpl,OpenApi20ResponseImpl,OpenApi20ResponsesImpl,OpenApi20SchemaImpl,OpenApi20ScopesImpl,OpenApi20SecurityDefinitionsImpl,OpenApi20SecurityRequirementImpl,OpenApi20SecuritySchemeImpl,OpenApi20TagImpl,OpenApi20XMLImpl,OpenApi30CallbackImpl,OpenApi30ComponentsImpl,OpenApi30ContactImpl,OpenApi30DiscriminatorImpl,OpenApi30EncodingImpl,OpenApi30ExampleImpl,OpenApi30ExternalDocumentationImpl,OpenApi30HeaderImpl,OpenApi30InfoImpl,OpenApi30LicenseImpl,OpenApi30LinkImpl,OpenApi30MediaTypeImpl,OpenApi30OAuthFlowImpl,OpenApi30OAuthFlowsImpl,OpenApi30OperationImpl,OpenApi30ParameterImpl,OpenApi30PathItemImpl,OpenApi30PathsImpl,OpenApi30RequestBodyImpl,OpenApi30ResponseImpl,OpenApi30ResponsesImpl,OpenApi30SchemaImpl,OpenApi30SecurityRequirementImpl,OpenApi30SecuritySchemeImpl,OpenApi30ServerImpl,OpenApi30ServerVariableImpl,OpenApi30TagImpl,OpenApi30XMLImpl,OpenApi31CallbackImpl,OpenApi31ComponentsImpl,OpenApi31ContactImpl,OpenApi31DiscriminatorImpl,OpenApi31EncodingImpl,OpenApi31ExampleImpl,OpenApi31ExternalDocumentationImpl,OpenApi31HeaderImpl,OpenApi31InfoImpl,OpenApi31LicenseImpl,OpenApi31LinkImpl,OpenApi31MediaTypeImpl,OpenApi31OAuthFlowImpl,OpenApi31OAuthFlowsImpl,OpenApi31OperationImpl,OpenApi31ParameterImpl,OpenApi31PathItemImpl,OpenApi31PathsImpl,OpenApi31RequestBodyImpl,OpenApi31ResponseImpl,OpenApi31ResponsesImpl,OpenApi31SchemaImpl,OpenApi31SecurityRequirementImpl,OpenApi31SecuritySchemeImpl,OpenApi31ServerImpl,OpenApi31ServerVariableImpl,OpenApi31TagImpl,OpenApi31XMLImpl,RootNodeImpl
public abstract class NodeImpl extends Object implements Node
-
-
Field Summary
Fields Modifier and Type Field Description protected int_modelId
-
Constructor Summary
Constructors Constructor Description NodeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void_setMapPropertyName(String name)void_setParentPropertyName(String name)void_setParentPropertyType(ParentPropertyType type)voidaddExtraProperty(String key, com.fasterxml.jackson.databind.JsonNode value)voidattach(Node parent)voidclearNodeAttributes()com.fasterxml.jackson.databind.JsonNodegetExtraProperty(String name)List<String>getExtraPropertyNames()ObjectgetNodeAttribute(String attributeName)Collection<String>getNodeAttributeNames()booleanhasExtraProperties()booleanisAttached()booleanisEntity()booleanisEntityList()booleanisEntityMap()StringmapPropertyName()intmodelId()Nodeparent()StringparentPropertyName()ParentPropertyTypeparentPropertyType()com.fasterxml.jackson.databind.JsonNoderemoveExtraProperty(String name)RootNoderoot()voidsetNodeAttribute(String attributeName, Object attributeValue)voidsetParent(Node parent)-
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
emptyClone
-
-
-
-
Method Detail
-
parentPropertyName
public String parentPropertyName()
- Specified by:
parentPropertyNamein interfaceNode
-
parentPropertyType
public ParentPropertyType parentPropertyType()
- Specified by:
parentPropertyTypein interfaceNode
-
mapPropertyName
public String mapPropertyName()
- Specified by:
mapPropertyNamein interfaceNode
-
setParent
public void setParent(Node parent)
-
_setParentPropertyName
public void _setParentPropertyName(String name)
-
_setParentPropertyType
public void _setParentPropertyType(ParentPropertyType type)
-
_setMapPropertyName
public void _setMapPropertyName(String name)
-
getNodeAttribute
public Object getNodeAttribute(String attributeName)
- Specified by:
getNodeAttributein interfaceNode
-
setNodeAttribute
public void setNodeAttribute(String attributeName, Object attributeValue)
- Specified by:
setNodeAttributein interfaceNode
-
getNodeAttributeNames
public Collection<String> getNodeAttributeNames()
- Specified by:
getNodeAttributeNamesin interfaceNode
-
clearNodeAttributes
public void clearNodeAttributes()
- Specified by:
clearNodeAttributesin interfaceNode
-
addExtraProperty
public void addExtraProperty(String key, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtraPropertyin interfaceNode
-
removeExtraProperty
public com.fasterxml.jackson.databind.JsonNode removeExtraProperty(String name)
- Specified by:
removeExtraPropertyin interfaceNode
-
hasExtraProperties
public boolean hasExtraProperties()
- Specified by:
hasExtraPropertiesin interfaceNode
-
getExtraPropertyNames
public List<String> getExtraPropertyNames()
- Specified by:
getExtraPropertyNamesin interfaceNode
-
getExtraProperty
public com.fasterxml.jackson.databind.JsonNode getExtraProperty(String name)
- Specified by:
getExtraPropertyin interfaceNode
-
isAttached
public boolean isAttached()
- Specified by:
isAttachedin interfaceNode
-
isEntity
public boolean isEntity()
-
isEntityList
public boolean isEntityList()
-
isEntityMap
public boolean isEntityMap()
-
-