Modifier and Type | Method and Description |
---|---|
Variable |
create(Variable variable)
Creates variable as in the parameter
NOTE: this is a mutative method.
|
java.util.Set<Variable> |
createAll(java.util.Set<Variable> variables)
Creates the given set of variables
NOTE: this is a mutative method.
|
void |
delete(long variableId)
Deletes an existing variable
|
void |
deleteAll(java.util.Set<java.lang.Long> variableIds)
Deletes an existing set of variables
|
Variable |
update(Variable variable)
Updates an existing variable to the new values as in the parameter
NOTE: this is a mutative method.
|
java.util.Set<Variable> |
updateAll(java.util.Set<Variable> variables)
Updates existing variables based on the provided set
NOTE: this is a mutative method.
|
Variable create(Variable variable)
variable
- to be createdVariable update(Variable variable)
variable
- to be updatedjava.util.Set<Variable> createAll(java.util.Set<Variable> variables)
variables
- to be createdjava.util.Set<Variable> updateAll(java.util.Set<Variable> variables)
variables
- to be updatedvoid delete(long variableId)
variableId
- the id of the variable to be deletedvoid deleteAll(java.util.Set<java.lang.Long> variableIds)
variableIds
- the ids of the variables to be deleted