Class AbstractFilteringVoEnabledDao.FilterablePropertyMeta

java.lang.Object
ubic.gemma.persistence.service.AbstractFilteringVoEnabledDao.FilterablePropertyMeta
Enclosing class:
AbstractFilteringVoEnabledDao<O extends Identifiable, VO extends IdentifiableValueObject<O>>

protected static final class AbstractFilteringVoEnabledDao.FilterablePropertyMeta extends Object
Meta-information for a filterable property.
Author:
poirigui
  • Method Details

    • builder

    • getObjectAlias

      @Nullable public String getObjectAlias()
    • getPropertyName

      public String getPropertyName()
    • getPropertyType

      public Class<?> getPropertyType()
    • getDescriptions

      public List<String> getDescriptions()
      A short description for this parameter if clarifications are needed.

      This will appear in the generated OpenAPI specification joined with a "; " delimiter.

    • getAllowedValues

      @Nullable public List<Object> getAllowedValues()
      A short list of allowed values if that can be determined, or null.
    • isDeprecated

      public boolean isDeprecated()
      Indicate if the property is deprecated.
    • isUsesSubquery

      public boolean isUsesSubquery()
      Indicate if the property uses a subquery for filtering.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • withObjectAlias

      public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withObjectAlias(@Nullable String objectAlias)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withPropertyName

      public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withPropertyName(String propertyName)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withPropertyType

      public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withPropertyType(Class<?> propertyType)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withDescriptions

      public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withDescriptions(List<String> descriptions)
      A short description for this parameter if clarifications are needed.

      This will appear in the generated OpenAPI specification joined with a "; " delimiter.

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withAllowedValues

      public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withAllowedValues(@Nullable List<Object> allowedValues)
      A short list of allowed values if that can be determined, or null.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withDeprecated

      public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withDeprecated(boolean deprecated)
      Indicate if the property is deprecated.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withUsesSubquery

      public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withUsesSubquery(boolean usesSubquery)
      Indicate if the property uses a subquery for filtering.
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).