Class VarNameInsertAdapter
- java.lang.Object
-
- fr.gouv.vitam.common.database.parser.request.adapter.VarNameAdapter
-
- fr.gouv.vitam.common.database.parser.request.adapter.VarNameInsertAdapter
-
public class VarNameInsertAdapter extends VarNameAdapter
Model for VarNameAdapter for Insert
-
-
Constructor Summary
Constructors Constructor Description VarNameInsertAdapter(VarNameAdapter adapter)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
getFixedVarNameJsonNode(com.fasterxml.jackson.databind.JsonNode rootNode)
Check for Insert from Builderjava.lang.String
getVariableName(java.lang.String name)
Return nullboolean
metadataAdapter()
-
Methods inherited from class fr.gouv.vitam.common.database.parser.request.adapter.VarNameAdapter
checkNoParameter, setVar, setVarArray, setVarsValue
-
-
-
-
Constructor Detail
-
VarNameInsertAdapter
public VarNameInsertAdapter(VarNameAdapter adapter)
Constructor- Parameters:
adapter
- VarNameAdapter
-
-
Method Detail
-
metadataAdapter
public boolean metadataAdapter()
- Overrides:
metadataAdapter
in classVarNameAdapter
- Returns:
- True if the adapter is a Internal VarnameAdapter
-
getVariableName
public java.lang.String getVariableName(java.lang.String name) throws InvalidParseOperationException
Description copied from class:VarNameAdapter
Return null- Overrides:
getVariableName
in classVarNameAdapter
- Parameters:
name
- String- Returns:
- null
- Throws:
InvalidParseOperationException
- invalid parse operation exception
-
getFixedVarNameJsonNode
public com.fasterxml.jackson.databind.JsonNode getFixedVarNameJsonNode(com.fasterxml.jackson.databind.JsonNode rootNode) throws InvalidParseOperationException
Check for Insert from Builder- Parameters:
rootNode
- JsonNode- Returns:
- the new JsonNode in replacement of rootNode
- Throws:
InvalidParseOperationException
- if rootNode could not parse to JSON
-
-