Package com.orchestranetworks.instance
Interface RepositoryAnonymizer.RecordContext
- Enclosing interface:
- RepositoryAnonymizer
public static interface RepositoryAnonymizer.RecordContext
Provides access to a record to be anonymized, granting the
privilege to modify the value of its fields.
- Since:
- 5.9.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the node at the specified path.default <T> TReturns the value of the node at the specified path.getValue(SchemaNode aNode) Returns the value of the specified node.default <T> TgetValue(SchemaNode aSchemaNode, Class<T> aClass) Returns the value of the specified node.voidModifies the value of the node at the specified path.voidsetValue(Object aValue, SchemaNode aNode) Modifies the value of the specified node.
-
Method Details
-
getValue
Returns the value of the specified node.- Since:
- 5.9.0
-
setValue
Modifies the value of the specified node.- Since:
- 6.0.0
-
getValue
Returns the value of the node at the specified path.- Since:
- 5.9.0
-
setValue
Modifies the value of the node at the specified path.- Since:
- 5.9.0
-
getValue
Returns the value of the node at the specified path.This method is equivalent to
getValue(aPath)followed by a cast to the specified class.- Throws:
ClassCastException- If the value is not of the specified type.- Since:
- 6.2.2
- See Also:
-
getValue
Returns the value of the specified node.This method is equivalent to
getValue(aSchemaNode)followed by a cast to the specified class.- Throws:
ClassCastException- If the value is not of the specified type.- Since:
- 6.2.2
- See Also:
-