public abstract class AaiMessageBase extends ExtensibleNode implements IReferenceNode, INamed
AaiMessage
and AaiMessageTrait
Modifier and Type | Field and Description |
---|---|
String |
_name |
String |
$ref |
AaiMessageBindings |
bindings |
String |
contentType |
AaiCorrelationId |
correlationId |
String |
description |
Map<String,Object> |
examples
Represents `Map[string, any]` type.
|
ExternalDocumentation |
externalDocs |
AaiHeaderItem |
headers
Represents `Schema Object | Reference Object` type.
|
String |
name |
String |
schemaFormat |
String |
summary |
List<Tag> |
tags |
String |
title |
_extensions
_attributes, _extraProperties, _modelId, _ownerDocument, _parent, _validationProblems
Constructor and Description |
---|
AaiMessageBase(Node parent)
Constructor.
|
AaiMessageBase(Node parent,
String name)
Constructor.
|
AaiMessageBase(String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
addTag(AaiTag tag) |
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
accept, addExtraProperty, addValidationProblem, attachToParent, clearAttributes, clearValidationProblems, getAttribute, getAttributeNames, getExtraProperty, getExtraPropertyNames, getValidationProblemCodes, getValidationProblems, getValidationProblemsFor, hasExtraProperties, isAttached, modelId, ownerDocument, parent, removeExtraProperty, setAttribute
public String _name
public String $ref
public AaiHeaderItem headers
public AaiCorrelationId correlationId
public String schemaFormat
public String contentType
public String name
public String title
public String summary
public String description
public ExternalDocumentation externalDocs
public AaiMessageBindings bindings
public Map<String,Object> examples
Objects of `any` type are deserialized as follows:
In TypeScript, this field contains the raw JS object, in case of Java
it is a ObjectNode
.
public AaiMessageBase(String name)
public AaiMessageBase(Node parent)
parent
- 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 abstract void addTag(AaiTag tag)
Copyright © 2020 Red Hat. All rights reserved.