public class Oas30Example extends ExtensibleNode implements IReferenceNode, INamed, IExample
Modifier and Type | Field and Description |
---|---|
String |
$ref |
String |
description |
String |
externalValue |
String |
summary |
Object |
value |
_extensions
_attributes, _extraProperties, _modelId, _ownerDocument, _parent, _validationProblems
Constructor and Description |
---|
Oas30Example(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IVisitor visitor)
Called to accept a visitor onto a visitable data model instance.
|
String |
getName()
Gets the definition name.
|
String |
getReference()
Return the reference string, if this
Node is a reference object. |
void |
rename(String newName)
Renames the definition.
|
void |
setReference(String reference) |
addExtension, clearExtensions, createExtension, getExtension, getExtensions, isExtensible, removeExtension
addExtraProperty, addValidationProblem, attachToParent, clearAttributes, clearValidationProblems, getAttribute, getAttributeNames, getExtraProperty, getExtraPropertyNames, getValidationProblemCodes, getValidationProblems, getValidationProblemsFor, hasExtraProperties, isAttached, modelId, ownerDocument, parent, removeExtraProperty, setAttribute
public String $ref
public String summary
public String description
public Object value
public String externalValue
public Oas30Example(String name)
name
- public String getName()
INamed
getName
in interface INamed
INamed.getName()
public void rename(String newName)
INamed
rename
in interface INamed
INamed.rename(java.lang.String)
public String getReference()
IReferenceNode
Node
is a reference object.getReference
in interface IReferenceNode
public void setReference(String reference)
setReference
in interface IReferenceNode
public void accept(IVisitor visitor)
IVisitable
accept
in interface IVisitable
accept
in class Node
Node.accept(io.apicurio.datamodels.core.visitors.IVisitor)
Copyright © 2020 Red Hat. All rights reserved.