Class TLfnThemeMetadata
java.lang.Object
com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata
com.luciad.fusion.tilestore.metadata.TLfnThemeMetadata
A representation of a theme, which groups any number and type of resources.
The representation provides the following parameters in addition to those provided by the superclass:
- resource IDs: the IDs of the resources grouped by a theme (optional, defaults to the empty collection if unspecified, never
null
- keywords: the keywords associated with a theme (optional, defaults to the empty collection if unspecified, never
null
A theme refers to other resources and as such a theme represents a collection of resources. There is no hierarchical relationship (such as ownership) between the theme and its referenced resources. The theme's resources can contain nested themes and forms a directed graph of resources. Note that the graph of resources formed by a theme may contain:
- loops (recusion) caused by nested themes
- duplicate resources
- unresolved resources
TLfnThemeMetadataTraverser
can be used.
- Since:
- 10.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for theme metadata. -
Field Summary
Fields inherited from class com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata
ISO19115_GCO_XML_NAMESPACE, ISO19115_GMD_XML_NAMESPACE, LTS_XML_NAMESPACE, NEW_UPDATE_SEQUENCE, XLINK_XML_NAMESPACE
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ALfnResourceMetadataVisitor aVisitor) Accepts the visitor for visiting this theme.Creates a new builder from this resource metadata.boolean
Gets the keywords of the this theme.Gets the resource IDs of this theme.int
hashCode()
static TLfnThemeMetadata.Builder
Creates a new, empty builder.static TLfnThemeMetadata.Builder
newBuilder
(TLfnThemeMetadata aTemplate) Creates a new builder from a template.Methods inherited from class com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata
getAbstract, getGlobalUpdateSequence, getId, getISO19115Metadata, getName, getUpdateSequence, toString
-
Method Details
-
getResourceIds
Gets the resource IDs of this theme. The returned collection may be empty.OGC filter property XPath:
lts:ResourceId
- Returns:
- the abstract, possibly empty but never
null
-
getKeywords
Gets the keywords of the this theme. The returned collection may be empty.OGC filter property XPath:
lts:Keyword
- Returns:
- the keywords, possibly empty but never
null
-
accept
Accepts the visitor for visiting this theme. There is no traversal to the referenced resources.- Specified by:
accept
in classALfnResourceMetadata
- Parameters:
aVisitor
- the visitor- See Also:
-
asBuilder
Description copied from class:ALfnResourceMetadata
Creates a new builder from this resource metadata. The builder's fields are initialized to the values of this resource metadata. The builder will build a resource metadata of the same type as this instance.- Specified by:
asBuilder
in classALfnResourceMetadata
- Returns:
- a new builder
-
equals
- Overrides:
equals
in classALfnResourceMetadata
-
hashCode
public int hashCode()- Overrides:
hashCode
in classALfnResourceMetadata
-
newBuilder
Creates a new, empty builder. The builder's fields are initialized to the default values.- Returns:
- a new builder
-
newBuilder
Creates a new builder from a template. The builder's fields are initialized from the template.- Parameters:
aTemplate
- a template, must not benull
- Returns:
- a new builder
-