Class SingleVarNameAdapter
- java.lang.Object
-
- fr.gouv.vitam.common.database.parser.request.adapter.VarNameAdapter
-
- fr.gouv.vitam.common.database.parser.request.adapter.SingleVarNameAdapter
-
public class SingleVarNameAdapter extends VarNameAdapter
Model for VarNameAdapter for Single collections
-
-
Constructor Summary
Constructors Constructor Description SingleVarNameAdapter()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getVariableName(java.lang.String name)
Return the given MongoDb Variable nameboolean
metadataAdapter()
-
Methods inherited from class fr.gouv.vitam.common.database.parser.request.adapter.VarNameAdapter
checkNoParameter, setVar, setVarArray, setVarsValue
-
-
-
-
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
Return the given MongoDb Variable name- Overrides:
getVariableName
in classVarNameAdapter
- Parameters:
name
- field name to handle- Returns:
- the new name or null if the same
- Throws:
InvalidParseOperationException
- exception- See Also:
ParserTokens.PROJECTIONARGS
-
-