Package ubic.gemma.persistence.service
Class AbstractFilteringVoEnabledDao.FilterablePropertyMeta
java.lang.Object
ubic.gemma.persistence.service.AbstractFilteringVoEnabledDao.FilterablePropertyMeta
- Enclosing class:
AbstractFilteringVoEnabledDao<O extends Identifiable,VO extends IdentifiableValueObject<O>>
Meta-information for a filterable property.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanA short list of allowed values if that can be determined, or null.A short description for this parameter if clarifications are needed.Class<?> inthashCode()booleanIndicate if the property is deprecated.booleanIndicate if the property uses a subquery for filtering.toString()withAllowedValues(List<Object> allowedValues) A short list of allowed values if that can be determined, or null.withDeprecated(boolean deprecated) Indicate if the property is deprecated.withDescriptions(List<String> descriptions) A short description for this parameter if clarifications are needed.withObjectAlias(String objectAlias) withPropertyName(String propertyName) withPropertyType(Class<?> propertyType) withUsesSubquery(boolean usesSubquery) Indicate if the property uses a subquery for filtering.
-
Method Details
-
builder
public static AbstractFilteringVoEnabledDao.FilterablePropertyMeta.FilterablePropertyMetaBuilder builder() -
getObjectAlias
-
getPropertyName
-
getPropertyType
-
getDescriptions
A short description for this parameter if clarifications are needed.This will appear in the generated OpenAPI specification joined with a "; " delimiter.
-
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
-
hashCode
public int hashCode() -
toString
-
withObjectAlias
public AbstractFilteringVoEnabledDao.FilterablePropertyMeta withObjectAlias(@Nullable String objectAlias) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPropertyName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPropertyType
- Returns:
- a clone of this object, except with this updated property (returns
thisif 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
thisif 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
thisif an identical value is passed).
-
withDeprecated
Indicate if the property is deprecated.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUsesSubquery
Indicate if the property uses a subquery for filtering.- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-