@Deprecated public class AnnotationGraphSpec extends AbstractHierarchyGraphSpec
AbstractHierarchyGraphSpec
specialized for processing annotations.
Adds options for which namespaces to process.IGraph
BaseGraphSpec.SubSpecIterator
Modifier and Type | Field and Description |
---|---|
static Set<String> |
nsExcludes
Deprecated.
Collection of namespace values (defined as
nsIncludes ) which
will be omitted from processing by default. |
static Set<String> |
nsIncludes
Deprecated.
Collection of namespace values (or LIKE values if they contain '%' or
'?')
|
isAbstract, optSource, rawOption, types
Constructor and Description |
---|
AnnotationGraphSpec(List<String> entries)
Deprecated.
Creates a new instance.
|
AnnotationGraphSpec(Map<String,String> excludeMap,
List<String> entries)
Deprecated.
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getExclude(int step)
Deprecated.
Returns the value from "...
|
protected Class |
getRoot()
Deprecated.
Return the root class for this hierarchy.
|
protected Set<Class<Annotation>> |
getTypes(ExtendedMetadata em)
Deprecated.
Returns all the types that are known for this hierarchy.
|
protected void |
handleOptions(int i,
String[] parts)
Deprecated.
Called once per loop iteration throw rawOptions during
AbstractHierarchyGraphSpec.initialize(long, String, Map) |
protected boolean |
isOverrideKeep(int step,
QueryBuilder and,
String alias)
Deprecated.
If
BaseGraphSpec.overrideKeep() returns true for a subclass, then this method
will likely want to (at least sometimes) return a true value. |
boolean |
overrideKeep()
Deprecated.
Returns true to prevent skipping of the entire subspec if there were any
"excludes" passed in with the options.
|
protected void |
postProcessOptions()
Deprecated.
If any options exist, this method will be called to finalize any of
the processing done by
AbstractHierarchyGraphSpec.handleOptions(int, String[]) . |
initialize, queryBackupIds, setExtendedMetadata
buildQuery, chgrpQuery, chmodQuery, createQueryBuilder, deleteQuery, entries, getHibernateClass, getName, getSuperSpec, groupInfo, join, joinDataset, joinPlate, load, parseResults, permissionsClause, postProcess, runQuery, setBeanName, toString, walk, walk
public static final Set<String> nsIncludes
public static final Set<String> nsExcludes
nsIncludes
) which
will be omitted from processing by default.public AnnotationGraphSpec(List<String> entries)
entries
- The entries to handle.public String getExclude(int step)
#initialize(long, String, Map)
.
Used primarily for testing.protected Class getRoot()
AbstractHierarchyGraphSpec
getRoot
in class AbstractHierarchyGraphSpec
protected Set<Class<Annotation>> getTypes(ExtendedMetadata em)
AbstractHierarchyGraphSpec
getTypes
in class AbstractHierarchyGraphSpec
protected void handleOptions(int i, String[] parts)
AbstractHierarchyGraphSpec
AbstractHierarchyGraphSpec.initialize(long, String, Map)
handleOptions
in class AbstractHierarchyGraphSpec
i
- Index into AbstractHierarchyGraphSpec.rawOption
which is being processed.parts
- semi-colon split values of rawOptions[i]protected void postProcessOptions()
AbstractHierarchyGraphSpec
AbstractHierarchyGraphSpec.handleOptions(int, String[])
.postProcessOptions
in class AbstractHierarchyGraphSpec
public boolean overrideKeep()
overrideKeep
in interface GraphSpec
overrideKeep
in class BaseGraphSpec
protected boolean isOverrideKeep(int step, QueryBuilder and, String alias)
AbstractHierarchyGraphSpec
BaseGraphSpec.overrideKeep()
returns true for a subclass, then this method
will likely want to (at least sometimes) return a true value. When it
returns true, then it should also modify the QueryBuilder
in
order to properly filter for only those objects of interest. If a false
is returned, then no IDs will be queried for this entity.isOverrideKeep
in class AbstractHierarchyGraphSpec
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.