Class ALfnAssetMetadata.AssetPart.Builder<A extends ALfnAssetMetadata.Builder<A,P>,B extends ALfnAssetMetadata.AssetPart.Builder<A,B,P>,P extends ALfnAssetMetadata.AssetPart>

java.lang.Object
com.luciad.fusion.tilestore.metadata.ALfnAssetMetadata.AssetPart.Builder<A,B,P>
Direct Known Subclasses:
TLfnRasterAssetMetadata.RasterAssetPart.Builder, TLfnVectorAssetMetadata.VectorAssetPart.Builder
Enclosing class:
ALfnAssetMetadata.AssetPart

public abstract static class ALfnAssetMetadata.AssetPart.Builder<A extends ALfnAssetMetadata.Builder<A,P>,B extends ALfnAssetMetadata.AssetPart.Builder<A,B,P>,P extends ALfnAssetMetadata.AssetPart> extends Object
An abstract builder for asset parts.

Asset part builders can only be created from an asset metadata builder. It is not possible to build asset parts from this builder directly. They can only be built by building the asset metadata itself (calling build on the respective builder).

Since:
2014.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    all(P aTemplate)
    Sets all this builder's fields from a given template asset part.
    boundingBox(ILcdBounds aBoundingBox)
    Sets the bounding box of the asset part being built by this builder.
    final A
    Finishes building the asset parts and returns the asset metadata builder from which this asset part builder was created.
    location(String aLocation)
    Sets the location of the asset part being built by this builder.
    location(URI aLocation)
    Sets the location of the asset part being built by this builder.
    root(String aRoot)
    Sets the optional root of the asset part being built by this builder.
    root(URI aRoot)
    Sets the optional root of the asset part being built by this builder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • buildAssetPart

      public final A buildAssetPart()
      Finishes building the asset parts and returns the asset metadata builder from which this asset part builder was created.
      Returns:
      the asset metadata builder from which this asset part builder was created
    • all

      public B all(P aTemplate)
      Sets all this builder's fields from a given template asset part.
      Parameters:
      aTemplate - the template asset part
      Returns:
      this builder
    • root

      public B root(String aRoot)
      Sets the optional root of the asset part being built by this builder. The root must be a valid URI. If it is set, the root must be an ancestor of the location.
      Parameters:
      aRoot - the optional root of the asset part being built by this builder
      Returns:
      this builder
    • root

      public B root(URI aRoot)
      Sets the optional root of the asset part being built by this builder. If it is set, the root must be a parent of the location.
      Parameters:
      aRoot - the optional root of the asset part being built by this builder
      Returns:
      this builder
    • location

      public B location(URI aLocation)
      Sets the location of the asset part being built by this builder.
      Parameters:
      aLocation - the location of the asset part being built by this builder
      Returns:
      this builder
    • location

      public B location(String aLocation)
      Sets the location of the asset part being built by this builder. The location must be a valid URI.
      Parameters:
      aLocation - the location of the asset part being built by this builder
      Returns:
      this builder
    • boundingBox

      public B boundingBox(ILcdBounds aBoundingBox)
      Sets the bounding box of the asset part being built by this builder.
      Parameters:
      aBoundingBox - the bounding box of the asset part being built by this builder
      Returns:
      this builder