Package net.sf.basedb.core
Class AnnotationRestriction.Options
java.lang.Object
net.sf.basedb.core.AnnotationRestriction.Options
- Enclosing class:
- AnnotationRestriction
Options that specify which annotations to consider when searching.
- Since:
- 3.11
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Should default values (for project-specific annotation types) be excluded from the query or not.boolean
Should inherited annotations be included in the search or not.boolean
Should primary annotations be included in the search or not.setExcludeDefaultValues
(boolean excludeDefaultValues) setIncludeInherited
(boolean includeInherited) setIncludePrimary
(boolean includePrimary)
-
Field Details
-
includePrimary
private boolean includePrimary -
includeInherited
private boolean includeInherited -
excludeDefaultValues
private boolean excludeDefaultValues
-
-
Constructor Details
-
Options
public Options()Creates the default options.
-
-
Method Details
-
includePrimary
public boolean includePrimary()Should primary annotations be included in the search or not. Enabled by default. -
setIncludePrimary
-
includeInherited
public boolean includeInherited()Should inherited annotations be included in the search or not. Disabled by default. -
setIncludeInherited
-
excludeDefaultValues
public boolean excludeDefaultValues()Should default values (for project-specific annotation types) be excluded from the query or not. Disabled by default. -
setExcludeDefaultValues
-