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
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder 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 TypeMethodDescriptionvoidaccept(ALfnResourceMetadataVisitor aVisitor) Accepts the visitor for visiting this theme.Creates a new builder from this resource metadata.booleanGets the keywords of the this theme.Gets the resource IDs of this theme.inthashCode()static TLfnThemeMetadata.BuilderCreates a new, empty builder.static TLfnThemeMetadata.BuildernewBuilder(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:
acceptin classALfnResourceMetadata- Parameters:
aVisitor- the visitor- See Also:
-
asBuilder
Description copied from class:ALfnResourceMetadataCreates 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:
asBuilderin classALfnResourceMetadata- Returns:
- a new builder
-
equals
- Overrides:
equalsin classALfnResourceMetadata
-
hashCode
public int hashCode()- Overrides:
hashCodein 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
-