Class TLfnVectorAssetMetadata.Builder
java.lang.Object
com.luciad.fusion.tilestore.metadata.ALfnResourceMetadata.Builder<TLfnVectorAssetMetadata.Builder>
com.luciad.fusion.tilestore.metadata.ALfnAssetMetadata.Builder<TLfnVectorAssetMetadata.Builder,TLfnVectorAssetMetadata.VectorAssetPart>
com.luciad.fusion.tilestore.metadata.TLfnVectorAssetMetadata.Builder
- Enclosing class:
TLfnVectorAssetMetadata
public static class TLfnVectorAssetMetadata.Builder
extends ALfnAssetMetadata.Builder<TLfnVectorAssetMetadata.Builder,TLfnVectorAssetMetadata.VectorAssetPart>
Deprecated.
Since 2017.0 support for coverages of type VECTOR has been superseded with other mechanisms. Please refer to the Fusion migration guide for more information.
Builder for vector asset metadata. See the super
class for more information.
- Since:
- 11.0
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates a new asset part builder, which adds an asset part to the asset metadata being built.addAssetPart
(String aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useaddAssetPart()
insteadaddAssetPart
(URI aRoot, URI aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useaddAssetPart()
insteadbuild()
Deprecated.Builds an immutable asset metadata.dataModel
(TLcdDataModel aDataModel) Deprecated.Sets the data model of this asset.Deprecated.Gets this builder's current data model.setAssetPart
(String aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useALfnAssetMetadata.Builder.clearAssetParts()
andaddAssetPart()
insteadsetAssetPart
(URI aRoot, URI aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useALfnAssetMetadata.Builder.clearAssetParts()
andaddAssetPart()
insteadsetDataModel
(TLcdDataModel aDataModel) Deprecated.usedataModel(com.luciad.datamodel.TLcdDataModel)
insteadtype
(ELfnDataType aType) Deprecated.Sets the required type of the asset.Methods inherited from class com.luciad.fusion.tilestore.metadata.ALfnAssetMetadata.Builder
addAssetPart, addAssetParts, addAssetParts, assetParts, assetParts, clearAssetParts, clippingShape, featureTypeStyles, featureTypeStyles, format, geoReference, getAssetPartBuilders, getClippingShape, getFeatureTypeStyles, getFormat, getGeoReference, getLocation, getMaxScaleDenominator, getMinScaleDenominator, getRoot, getSupportedCoverageTypes, getType, location, maxScaleDenominator, minScaleDenominator, root, setAssetParts, setAssetParts, setBoundingShape, setGeoReference, setMaxScaleDenominator, setMinScaleDenominator, setSupportedCoverageTypes, setSupportedCoverageTypes, setType, supportedCoverageTypes, supportedCoverageTypes
Methods 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
-
addAssetPart
Deprecated.Creates a new asset part builder, which adds an asset part to the asset metadata being built. The properties of the asset part can be chained onto the asset part builder. When finished, you can return to this builder usingALfnAssetMetadata.AssetPart.Builder.buildAssetPart()
.This is the canonical method, but you may consider using one of the shorthand alternatives
setAssetPart(java.lang.String, com.luciad.shape.ILcdBounds, int)
oraddAssetPart()
, which omit the asset part builder.- Specified by:
addAssetPart
in classALfnAssetMetadata.Builder<TLfnVectorAssetMetadata.Builder,
TLfnVectorAssetMetadata.VectorAssetPart> - Returns:
- a new vector asset part builder, never
null
- Since:
- 2014.0
-
setAssetPart
public final TLfnVectorAssetMetadata.Builder setAssetPart(String aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useALfnAssetMetadata.Builder.clearAssetParts()
andaddAssetPart()
insteadSets a single asset part using the given parameters, replacing any existing asset parts. More asset parts can then be added using addAssetPart().Consider using the canonical method
addAssetPart()
.- Parameters:
aLocation
- the location as URI text, must not benull
aBoundingBox
- a bounding box, must not benull
aScaleDenominator
- the scale denominator, must be positive orTLfnScaleUtil.UNKNOWN_SCALE_DENOMINATOR
for unknown- Returns:
- this builder
-
addAssetPart
public final TLfnVectorAssetMetadata.Builder addAssetPart(String aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useaddAssetPart()
insteadAdds an asset part using the given parameters.Consider using the canonical method
addAssetPart()
.- Parameters:
aLocation
- the location as URI text, must not benull
aBoundingBox
- a bounding box, must not benull
aScaleDenominator
- the scale denominator, must be positive orTLfnScaleUtil.UNKNOWN_SCALE_DENOMINATOR
for unknown- Returns:
- this builder
-
setAssetPart
public final TLfnVectorAssetMetadata.Builder setAssetPart(URI aRoot, URI aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useALfnAssetMetadata.Builder.clearAssetParts()
andaddAssetPart()
insteadSets a single asset part using the given parameters, replacing any existing asset parts. More asset parts can then be added using addAssetPart().Consider using the canonical method
addAssetPart()
.- Parameters:
aRoot
- a root, may benull
aLocation
- a location, must not benull
aBoundingBox
- a bounding box, must not benull
aScaleDenominator
- a scale denominator, must be positive orTLfnScaleUtil.UNKNOWN_SCALE_DENOMINATOR
for unknown- Returns:
- this builder
- Since:
- 2014.0
-
addAssetPart
public final TLfnVectorAssetMetadata.Builder addAssetPart(URI aRoot, URI aLocation, ILcdBounds aBoundingBox, int aScaleDenominator) Deprecated.useaddAssetPart()
insteadAdds an asset part using the given parameters.Consider using the canonical method
addAssetPart()
.- Parameters:
aRoot
- a root, may benull
aLocation
- a location, must not benull
aBoundingBox
- a bounding box, must not benull
aScaleDenominator
- a scale denominator, must be positive orTLfnScaleUtil.UNKNOWN_SCALE_DENOMINATOR
for unknown- Returns:
- this builder
- Since:
- 2014.0
-
dataModel
Deprecated.Sets the data model of this asset.- Parameters:
aDataModel
- the data model, may benull
- Returns:
- this builder
- Since:
- 2013.0
-
setDataModel
Deprecated.usedataModel(com.luciad.datamodel.TLcdDataModel)
instead -
getDataModel
Deprecated.Gets this builder's current data model.- Returns:
- the current data model, possibly
null
- Since:
- 2012.0
-
build
Deprecated.Builds an immutable asset metadata. Note that asset parts may be converted to equivalent asset parts if their specified bounding boxes are not compatible with the geographic reference. In practice this means that a conversion will occur if a geodetic reference is used and the specified bounding box type does take this into account.- Specified by:
build
in classALfnAssetMetadata.Builder<TLfnVectorAssetMetadata.Builder,
TLfnVectorAssetMetadata.VectorAssetPart> - Returns:
- an immutable asset metadata
- Throws:
NullPointerException
- in case one or more required fields have not been set
-
type
Deprecated.Description copied from class:ALfnAssetMetadata.Builder
Sets the required type of the asset. If unset or if set tonull
, the default type will be used.For vector assets, the default type is
VECTOR
, which is the only allowed type.For raster assets, there is no default type and it must always be set explicitly.
As a consequence of this method, the default supported coverage types will be adjusted.
- Overrides:
type
in classALfnAssetMetadata.Builder<TLfnVectorAssetMetadata.Builder,
TLfnVectorAssetMetadata.VectorAssetPart> - Parameters:
aType
- a type, ornull
to indicate the default type- Returns:
- this builder
-