Class VarNameInsertAdapter
java.lang.Object
fr.gouv.vitam.common.database.parser.request.adapter.VarNameAdapter
fr.gouv.vitam.common.database.parser.request.adapter.VarNameInsertAdapter
Model for VarNameAdapter for Insert
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
getFixedVarNameJsonNode
(com.fasterxml.jackson.databind.JsonNode rootNode) Check for Insert from BuildergetVariableName
(String name) Return nullboolean
Methods inherited from class fr.gouv.vitam.common.database.parser.request.adapter.VarNameAdapter
checkNoParameter, setVar, setVarArray, setVarsValue
-
Constructor Details
-
VarNameInsertAdapter
Constructor- Parameters:
adapter
- VarNameAdapter
-
-
Method Details
-
metadataAdapter
public boolean metadataAdapter()- Overrides:
metadataAdapter
in classVarNameAdapter
- Returns:
- True if the adapter is a Internal VarnameAdapter
-
getVariableName
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
-