public class ClassificationMapper extends RepositoryMapper
Map between a Classification object and a collection of database rows. This mapping can go in either direction.
  • Constructor Details

    • ClassificationMapper

      public ClassificationMapper(String entityGUID, Classification classification, OMRSRepositoryHelper repositoryHelper, String repositoryName)
      Construct a classification mapper using an OMRS instance.
      Parameters:
      entityGUID - unique identifier of the associated entity
      classification - classification
      repositoryHelper - repository helper
      repositoryName - repository name
    • ClassificationMapper

      public ClassificationMapper(Map<String,JDBCDataValue> classificationTableRow, List<Map<String,JDBCDataValue>> classificationPropertiesTableRows, OMRSRepositoryHelper repositoryHelper, String repositoryName)
      Construct a classification mapper using the values from the database.
      Parameters:
      classificationTableRow - row from the classification table
      classificationPropertiesTableRows - rows from the classification properties table
      repositoryHelper - repository helper
      repositoryName - repository name
  • Method Details