Class CharacteristicDao.UsageExample

java.lang.Object
ubic.gemma.persistence.service.common.description.CharacteristicDao.UsageExample
Enclosing interface:
CharacteristicDao

public static class CharacteristicDao.UsageExample extends Object
One representative, ACL-visible usage of a term (keyed by its value URI), for showing a search hit in the context it has actually been applied (e.g. a curator picking a rare term sees "wild type" under the "genotype" factor of some accessible dataset). Unlike countByCategory, this exposes a specific dataset + statement, so it MUST be ACL-restricted — sourced from the denormalised EE2C view with the same ACL clause the usage-frequency queries use, so a private dataset never leaks.
  • Field Details

    • level

      @Nullable public final Class<? extends Identifiable> level
    • category

      @Nullable public final String category
    • categoryUri

      @Nullable public final String categoryUri
    • value

      @Nullable public final String value
    • valueUri

      @Nullable public final String valueUri
    • predicate

      @Nullable public final String predicate
    • predicateUri

      @Nullable public final String predicateUri
    • object

      @Nullable public final String object
    • objectUri

      @Nullable public final String objectUri
    • secondPredicate

      @Nullable public final String secondPredicate
    • secondPredicateUri

      @Nullable public final String secondPredicateUri
    • secondObject

      @Nullable public final String secondObject
    • secondObjectUri

      @Nullable public final String secondObjectUri
    • sourceExperimentId

      public final long sourceExperimentId
  • Constructor Details

    • UsageExample

      public UsageExample(@Nullable Class<? extends Identifiable> level, @Nullable String category, @Nullable String categoryUri, @Nullable String value, @Nullable String valueUri, @Nullable String predicate, @Nullable String predicateUri, @Nullable String object, @Nullable String objectUri, @Nullable String secondPredicate, @Nullable String secondPredicateUri, @Nullable String secondObject, @Nullable String secondObjectUri, long sourceExperimentId)