Package com.networknt.oas.model.impl
Class ServerImpl
- java.lang.Object
-
- com.networknt.jsonoverlay.JsonOverlay<V>
-
- com.networknt.jsonoverlay.PropertiesOverlay<Server>
-
- com.networknt.oas.model.impl.ServerImpl
-
-
Field Summary
Fields Modifier and Type Field Description static StringF_descriptionstatic StringF_extensionsstatic StringF_serverVariablesstatic StringF_urlstatic StringF_variablesExtensionsstatic com.networknt.jsonoverlay.OverlayFactory<Server>factory
-
Constructor Summary
Constructors Constructor Description ServerImpl(com.fasterxml.jackson.databind.JsonNode json, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)ServerImpl(Server server, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
Method Summary
-
Methods inherited from class com.networknt.jsonoverlay.PropertiesOverlay
_add, _createList, _createMap, _createScalar, _elaborate, _findInternal, _fixJson, _fromJson, _get, _get, _get, _get, _get, _get, _getList, _getList, _getMap, _getMap, _getOverlay, _insert, _isElaborated, _isPresent, _remove, _remove, _set, _set, _setList, _setMap, _setScalar, _toJsonInternal, equals, equals, hashCode
-
Methods inherited from class com.networknt.jsonoverlay.JsonOverlay
_ensureElaborated, _getCreatingRef, _jsonArray, _jsonBoolean, _jsonMissing, _jsonNull, _jsonObject, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _jsonScalar, _setCreatingRef, _setParent, builder, create, toString
-
-
-
-
Field Detail
-
F_url
public static final String F_url
- See Also:
- Constant Field Values
-
F_description
public static final String F_description
- See Also:
- Constant Field Values
-
F_serverVariables
public static final String F_serverVariables
- See Also:
- Constant Field Values
-
F_variablesExtensions
public static final String F_variablesExtensions
- See Also:
- Constant Field Values
-
F_extensions
public static final String F_extensions
- See Also:
- Constant Field Values
-
factory
public static com.networknt.jsonoverlay.OverlayFactory<Server> factory
-
-
Constructor Detail
-
ServerImpl
public ServerImpl(com.fasterxml.jackson.databind.JsonNode json, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
ServerImpl
public ServerImpl(Server server, com.networknt.jsonoverlay.JsonOverlay<?> parent, com.networknt.jsonoverlay.ReferenceManager refMgr)
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceServer
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceServer
-
getServerVariables
public Map<String,ServerVariable> getServerVariables()
- Specified by:
getServerVariablesin interfaceServer
-
getServerVariables
public Map<String,ServerVariable> getServerVariables(boolean elaborate)
- Specified by:
getServerVariablesin interfaceServer
-
hasServerVariables
public boolean hasServerVariables()
- Specified by:
hasServerVariablesin interfaceServer
-
hasServerVariable
public boolean hasServerVariable(String name)
- Specified by:
hasServerVariablein interfaceServer
-
getServerVariable
public ServerVariable getServerVariable(String name)
- Specified by:
getServerVariablein interfaceServer
-
setServerVariables
public void setServerVariables(Map<String,ServerVariable> serverVariables)
- Specified by:
setServerVariablesin interfaceServer
-
setServerVariable
public void setServerVariable(String name, ServerVariable serverVariable)
- Specified by:
setServerVariablein interfaceServer
-
removeServerVariable
public void removeServerVariable(String name)
- Specified by:
removeServerVariablein interfaceServer
-
getVariablesExtensions
public Map<String,Object> getVariablesExtensions()
- Specified by:
getVariablesExtensionsin interfaceServer
-
getVariablesExtensions
public Map<String,Object> getVariablesExtensions(boolean elaborate)
- Specified by:
getVariablesExtensionsin interfaceServer
-
hasVariablesExtensions
public boolean hasVariablesExtensions()
- Specified by:
hasVariablesExtensionsin interfaceServer
-
hasVariablesExtension
public boolean hasVariablesExtension(String name)
- Specified by:
hasVariablesExtensionin interfaceServer
-
getVariablesExtension
public Object getVariablesExtension(String name)
- Specified by:
getVariablesExtensionin interfaceServer
-
setVariablesExtensions
public void setVariablesExtensions(Map<String,Object> variablesExtensions)
- Specified by:
setVariablesExtensionsin interfaceServer
-
setVariablesExtension
public void setVariablesExtension(String name, Object variablesExtension)
- Specified by:
setVariablesExtensionin interfaceServer
-
removeVariablesExtension
public void removeVariablesExtension(String name)
- Specified by:
removeVariablesExtensionin interfaceServer
-
getExtensions
public Map<String,Object> getExtensions()
- Specified by:
getExtensionsin interfaceServer
-
getExtensions
public Map<String,Object> getExtensions(boolean elaborate)
- Specified by:
getExtensionsin interfaceServer
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceServer
-
hasExtension
public boolean hasExtension(String name)
- Specified by:
hasExtensionin interfaceServer
-
getExtension
public Object getExtension(String name)
- Specified by:
getExtensionin interfaceServer
-
setExtensions
public void setExtensions(Map<String,Object> extensions)
- Specified by:
setExtensionsin interfaceServer
-
setExtension
public void setExtension(String name, Object extension)
- Specified by:
setExtensionin interfaceServer
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceServer
-
_elaborateJson
protected void _elaborateJson()
- Overrides:
_elaborateJsonin classcom.networknt.jsonoverlay.PropertiesOverlay<Server>
-
_getModelType
public Class<?> _getModelType()
- Overrides:
_getModelTypein classcom.networknt.jsonoverlay.JsonOverlay<Server>
-
_getFactory
protected com.networknt.jsonoverlay.OverlayFactory<?> _getFactory()
- Specified by:
_getFactoryin classcom.networknt.jsonoverlay.JsonOverlay<Server>
-
builder
public static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>> com.networknt.jsonoverlay.Builder<Server> builder(OV modelMember)
-
create
public static <OV extends com.networknt.jsonoverlay.IJsonOverlay<?>> Server create(OV modelMember)
-
-