# Uses of Class
com.onwbp.adaptation.PrimaryKey

Packages that use PrimaryKey
Package
Description
com.onwbp.adaptation
Provides core classes and interfaces for accessing datasets, tables, and their records.
com.orchestranetworks.dataservices.rest
Provides classes for REST data services functionalities.
com.orchestranetworks.instance
Provides interfaces for accessing data sets.
com.orchestranetworks.schema
Represents XML Schema concepts and provides schema extensions capabilities.
com.orchestranetworks.service.comparison
Provides classes and interfaces for to compute differences between adaptations, homes and examine the results.

- ## Uses of PrimaryKey in com.onwbp.adaptation

  Fields in com.onwbp.adaptation declared as PrimaryKey
  Modifier and Type
  Field
  Description
  `static final PrimaryKey`
  PrimaryKey.`VOID_KEY`
  `PrimaryKey` with an empty string as its internal representation.
  Methods in com.onwbp.adaptation that return PrimaryKey
  Modifier and Type
  Method
  Description
  `PrimaryKey`
  AdaptationTable.`computePrimaryKey(Adaptation anOccurrence)`
  Returns the same result as `Adaptation.getOccurrencePrimaryKey()`.
  `PrimaryKey`
  AdaptationTable.`computePrimaryKey(ValueContext aContext)`
  `PrimaryKey`
  AdaptationTable.`computePrimaryKey(Object[] primaryKeyValues)`
  Returns the `PrimaryKey` object that corresponds to the specified raw values.
  `PrimaryKey`
  Adaptation.`getOccurrencePrimaryKey()`
  Returns the primary key of this record.
  `static PrimaryKey`
  PrimaryKey.`parseList(List aList)`
  Deprecated.
  This method does not support the use of certain characters in the elements of the specified `List`.
  `static PrimaryKey`
  PrimaryKey.`parseString(String aTableRefValue)`
  Returns the `PrimaryKey` that corresponds to the specified internal representation `String`.
  Methods in com.onwbp.adaptation with parameters of type PrimaryKey
  Modifier and Type
  Method
  Description
  `final boolean`
  PrimaryKey.`equalsToPrimaryKey(PrimaryKey aPrimaryKey)`
  Returns `true` if the specified object has the same logical content of this instance.
  `RequestPagination.Page`
  RequestPagination.`getNextPage(PrimaryKey rowJustBeforePage)`
  Returns the page which contains the records just after the specified row.
  `RequestPagination.Page`
  RequestPagination.`getPreviousPage(PrimaryKey rowJustAfterPage)`
  Returns the page which contains the records just before the specified row.
  `Adaptation`
  AdaptationTable.`lookupAdaptationByPrimaryKey(PrimaryKey aKey)`
  Returns the record specified by its primary key.
  `Adaptation`
  AdaptationTable.`lookupAdaptationByPrimaryKey(PrimaryKey aKey, boolean includeOcculting)`
  Returns the record specified by its primary key.

- ## Uses of PrimaryKey in com.orchestranetworks.dataservices.rest

  Methods in com.orchestranetworks.dataservices.rest that return PrimaryKey
  Modifier and Type
  Method
  Description
  `static PrimaryKey`
  RESTEncodingHelper.`decodePrimaryKey(String anEncodedPrimaryKey)`
  Deprecated.
  Decodes an encoded primary key string form into a primary key object.
  Methods in com.orchestranetworks.dataservices.rest with parameters of type PrimaryKey
  Modifier and Type
  Method
  Description
  `static String`
  RESTEncodingHelper.`encodePrimaryKey(PrimaryKey aPrimaryKey)`
  Deprecated.
  Encodes a given primary key and transforms it into a string.

- ## Uses of PrimaryKey in com.orchestranetworks.instance

  Methods in com.orchestranetworks.instance with parameters of type PrimaryKey
  Modifier and Type
  Method
  Description
  `RepositoryAnonymizer`
  RepositoryAnonymizer.`setRecordKey(PrimaryKey aRecordKey)`
  Specifies the functional primary key of the records to be anonymized.

- ## Uses of PrimaryKey in com.orchestranetworks.schema

  Methods in com.orchestranetworks.schema with parameters of type PrimaryKey
  Modifier and Type
  Method
  Description
  `Object[]`
  SchemaNode.`getTablePrimaryKeyValues(PrimaryKey aPrimaryKey)`
  If this node is a table node, decomposes the specified primary key object into the primary key field values in the referenced table.

- ## Uses of PrimaryKey in com.orchestranetworks.service.comparison

  Methods in com.orchestranetworks.service.comparison with parameters of type PrimaryKey
  Modifier and Type
  Method
  Description
  `DifferenceBetweenOccurrences`
  DifferenceBetweenTables.`getDeltaOccurrence(PrimaryKey aPrimaryKey)`
  `ExtraOccurrenceOnLeft`
  DifferenceBetweenTables.`getExtraOccurrenceOnLeft(PrimaryKey aKey)`
  `ExtraOccurrenceOnRight`
  DifferenceBetweenTables.`getExtraOccurrenceOnRight(PrimaryKey aKey)`