# Uses of Class org.deidentifier.arx.DataDefinition (ARX API Documentation)

## Uses of Class
org.deidentifier.arx.DataDefinition

- Packages that use DataDefinition
  Package | Description
  --- | ---
  org.deidentifier.arx | This package provides the public API for the ARX anonymization framework.
  org.deidentifier.arx.certificate |
  org.deidentifier.arx.metric | This package implements several metrics for information loss.

- - ### Uses of DataDefinition in org.deidentifier.arx

    Methods in org.deidentifier.arx that return DataDefinition
    Modifier and Type | Method and Description
    --- | ---
    `DataDefinition` | DataDefinition.`clone()`
    `DataDefinition` | DataHandle.`getDefinition()` Returns the data definition.
    `DataDefinition` | DataHandleInternal.`getDefinition()` Method
    `DataDefinition` | Data.`getDefinition()` Returns the data definition.

    Methods in org.deidentifier.arx with parameters of type DataDefinition
    Modifier and Type | Method and Description
    --- | ---
    `int` | DataGeneralizationScheme.`getGeneralizationLevel(java.lang.String attribute, DataDefinition definition)` Returns a generalization level as defined by this class
    `void` | DataDefinition.`read(DataDefinition other)` Reads all settings from the given definition

    Constructors in org.deidentifier.arx with parameters of type DataDefinition
    Constructor and Description
    `ARXResult(DataHandle handle, DataDefinition definition, ARXLattice lattice, int historySize, double snapshotSizeSnapshot, double snapshotSizeDataset, Metric<?> metric, ARXConfiguration config, ARXLattice.ARXNode optimum, long time, org.deidentifier.arx.framework.lattice.SolutionSpace solutionSpace)` Internal constructor for deserialization.

  - ### Uses of DataDefinition in org.deidentifier.arx.certificate

    Methods in org.deidentifier.arx.certificate with parameters of type DataDefinition
    Modifier and Type | Method and Description
    --- | ---
    `static ARXCertificate` | ARXCertificate.`create(DataHandle input, DataDefinition definition, ARXConfiguration config, ARXResult result, ARXLattice.ARXNode transformation, DataHandle output)` Creates a new instance
    `static ARXCertificate` | ARXCertificate.`create(DataHandle input, DataDefinition definition, ARXConfiguration config, ARXResult result, ARXLattice.ARXNode transformation, DataHandle output, CSVSyntax syntax)` Renders the document into the given output stream.
    `static ARXCertificate` | ARXCertificate.`create(DataHandle input, DataDefinition definition, ARXConfiguration config, ARXResult result, ARXLattice.ARXNode transformation, DataHandle output, CSVSyntax syntax, ElementData metadata)` Renders the document into the given output stream.

  - ### Uses of DataDefinition in org.deidentifier.arx.metric

    Methods in org.deidentifier.arx.metric with parameters of type DataDefinition
    Modifier and Type | Method and Description
    --- | ---
    `void` | Metric.`initialize(org.deidentifier.arx.framework.data.DataManager manager, DataDefinition definition, org.deidentifier.arx.framework.data.Data input, org.deidentifier.arx.framework.data.GeneralizationHierarchy[] hierarchies, ARXConfiguration config)` Initializes the metric.