Class TLfnThemeMetadata.Builder
java.lang.Object
com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata.Builder<TLfnThemeMetadata.Builder>
com.luciad.fusion.tilestore.metadata.TLfnThemeMetadata.Builder
- Enclosing class:
TLfnThemeMetadata
public static class TLfnThemeMetadata.Builder
extends ALfnResourceMetadata.Builder<TLfnThemeMetadata.Builder>
Builder for theme metadata. See the superclass for more information.
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds an immutable theme metadata.Gets this builder's current keywords (unmodifiable).Gets this builder's current resource IDs (unmodifiable).Sets the optional keywords of a theme.keywords
(Collection<String> aKeywords) Sets the optional keywords of the theme.resourceIds
(String... aResourceIds) Sets the optional resource IDs of the theme.resourceIds
(Collection<String> aResourceIds) Sets the optional resource IDs of the theme.setKeywords
(String... aKeywords) Deprecated.setKeywords
(Collection<String> aKeyWords) Deprecated.usekeywords(java.util.Collection)
insteadsetResourceIds
(String... aResourceIds) Deprecated.useresourceIds(String...)
insteadsetResourceIds
(Collection<String> aResourceIds) Deprecated.useresourceIds(java.util.Collection)
insteadMethods inherited from class com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata.Builder
abstract_, getAbstract, getGlobalUpdateSequence, getId, getISO19115Metadata, getName, getUpdateSequence, globalUpdateSequence, id, iso19115Metadata, name, setAbstract, setId, setISO19115Metadata, setName, setUpdateSequence, updateSequence
-
Method Details
-
resourceIds
Sets the optional resource IDs of the theme. Duplicate entries will be filtered out. It defaults to an empty collection if unspecified.- Parameters:
aResourceIds
- the coverage IDs to set, must not benull
- Returns:
- this builder
-
setResourceIds
Deprecated.useresourceIds(java.util.Collection)
instead -
resourceIds
Sets the optional resource IDs of the theme. Duplicate entries will be filtered out. It defaults to an empty collection if unspecified.- Parameters:
aResourceIds
- the resource IDs, must not benull
- Returns:
- this builder
-
setResourceIds
Deprecated.useresourceIds(String...)
instead -
keywords
Sets the optional keywords of the theme. It defaults to an empty collection if unspecified.- Parameters:
aKeywords
- a collection of keywords, must not benull
- Returns:
- this builder
-
keywords
Sets the optional keywords of a theme. It defaults to an empty collection if unspecified.- Parameters:
aKeywords
- the keywords, must not benull
- Returns:
- this builder
-
setKeywords
Deprecated.usekeywords(java.util.Collection)
instead -
setKeywords
Deprecated.usekeywords(String...)
instead -
getResourceIds
Gets this builder's current resource IDs (unmodifiable).- Returns:
- the current resource IDs, possibly
null
- Since:
- 2012.0
-
getKeywords
Gets this builder's current keywords (unmodifiable).- Returns:
- the current keywords, possibly
null
- Since:
- 2012.0
-
build
Builds an immutable theme metadata.- Specified by:
build
in classALfnResourceMetadata.Builder<TLfnThemeMetadata.Builder>
- Returns:
- an immutable theme metadata
- Throws:
NullPointerException
- in case one or more required fields have not been set
-
keywords(String...)
instead