Package com.luciad.fusion.tilestore
Class TLfnTileStoreMetadata.Builder
java.lang.Object
com.luciad.fusion.tilestore.TLfnTileStoreMetadata.Builder
- Enclosing class:
TLfnTileStoreMetadata
Builder for service metadata. Required parameters that must be set before calling
build()
are:
- the ID, via
id(java.lang.String)
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionSets the abstract.build()
Builds an immutable service metadata.Sets the service ID, which is a required parameter.Sets the keywords.keywords
(Collection<String> aKeywords) Sets the keywords.Sets the name.setAbstract
(String aAbstract) Deprecated.Deprecated.useid(String)
insteadsetKeywords
(String... aKeywords) Deprecated.usekeywords(String...)
insteadsetKeywords
(Collection<String> aKeywords) Deprecated.usekeywords(java.util.Collection)
insteadDeprecated.usename(String)
instead
-
Method Details
-
id
Sets the service ID, which is a required parameter.- Parameters:
aId
- the ID to set, must not benull
. Note that ifnull
is given, this method does not throw, but a subsequent call tobuild()
will.- Returns:
- this builder
- Since:
- 2013.0
-
setId
Deprecated.useid(String)
instead -
name
Sets the name.- Parameters:
aName
- the name to set, may benull
- Returns:
- this builder
- Since:
- 2013.0
-
setName
Deprecated.usename(String)
instead -
abstract_
Sets the abstract. The trailing underscore in the method name is necessary to avoid conflict with the reserved Java keywordabstract
.- Parameters:
aAbstract
- the abstract to set, may benull
- Returns:
- this builder
- Since:
- 2013.0
-
setAbstract
Deprecated.useabstract_(String)
instead -
keywords
Sets the keywords.- Parameters:
aKeywords
- the keywords to set, must not benull
- Returns:
- this builder
- Since:
- 2013.0
-
setKeywords
Deprecated.usekeywords(java.util.Collection)
instead -
keywords
Sets the keywords.- Parameters:
aKeywords
- the keywords to set, must not benull
- Returns:
- this builder
- Since:
- 2013.0
-
setKeywords
Deprecated.usekeywords(String...)
instead -
build
Builds an immutable service metadata. Note that, depending on the builder implementation, this is not necessarily a new object. Builders may optimize memory usage by returning the same objects, for instance if no parameters were modified in between two subsequent calls to this method.- Returns:
- the immutable service metadata
- Throws:
NullPointerException
- in case one or more required parameters have not been set
-
abstract_(String)
instead