Class AsyncApi23ParametersImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.asyncapi.v23.AsyncApi23ParametersImpl
-
- All Implemented Interfaces:
AsyncApiParameters,AsyncApi23Parameters,MappedNode<AsyncApiParameter>,Node,Visitable
public class AsyncApi23ParametersImpl extends NodeImpl implements AsyncApi23Parameters
-
-
Constructor Summary
Constructors Constructor Description AsyncApi23ParametersImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)voidaddItem(String name, AsyncApiParameter item)Adds a child item.voidclearItems()Removes all children.AsyncApi23ParametercreateParameter()NodeemptyClone()AsyncApiParametergetItem(String name)Gets a single item (indexed child) by name.List<String>getItemNames()Gets a list of the names of all indexed children.List<AsyncApiParameter>getItems()Returns an array of all the child items.voidinsertItem(String name, AsyncApiParameter item, int atIndex)Inserts a child item.AsyncApiParameterremoveItem(String name)Removes a child item by name and returns the deleted child or undefined if there wasn't one.-
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
-
-
-
-
Method Detail
-
getItem
public AsyncApiParameter getItem(String name)
Description copied from interface:MappedNodeGets a single item (indexed child) by name. Returns undefined if not found.- Specified by:
getItemin interfaceMappedNode<AsyncApiParameter>
-
getItems
public List<AsyncApiParameter> getItems()
Description copied from interface:MappedNodeReturns an array of all the child items.- Specified by:
getItemsin interfaceMappedNode<AsyncApiParameter>
-
getItemNames
public List<String> getItemNames()
Description copied from interface:MappedNodeGets a list of the names of all indexed children.- Specified by:
getItemNamesin interfaceMappedNode<AsyncApiParameter>
-
addItem
public void addItem(String name, AsyncApiParameter item)
Description copied from interface:MappedNodeAdds a child item.- Specified by:
addItemin interfaceMappedNode<AsyncApiParameter>
-
insertItem
public void insertItem(String name, AsyncApiParameter item, int atIndex)
Description copied from interface:MappedNodeInserts a child item.- Specified by:
insertItemin interfaceMappedNode<AsyncApiParameter>
-
removeItem
public AsyncApiParameter removeItem(String name)
Description copied from interface:MappedNodeRemoves a child item by name and returns the deleted child or undefined if there wasn't one.- Specified by:
removeItemin interfaceMappedNode<AsyncApiParameter>
-
clearItems
public void clearItems()
Description copied from interface:MappedNodeRemoves all children.- Specified by:
clearItemsin interfaceMappedNode<AsyncApiParameter>
-
createParameter
public AsyncApi23Parameter createParameter()
- Specified by:
createParameterin interfaceAsyncApiParameters
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-