Class AssetReference


public class AssetReference extends ElementReference
Template for a reference to an asset.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

  • Method Details

    • getAsset

      public AssetTemplate getAsset()
      This method returns the asset this reference points to.
      Returns:
      The asset template.
    • getAssetFormat

      protected String getAssetFormat()
    • setAssetFormat

      public void setAssetFormat(String format)
      This method may be used to specify the format that should be used when including the asset.
      Parameters:
      format - the format that should be used when including the asset.
    • toDataSource

      public com.aquima.interactions.composer.ds.IReferenceDS toDataSource()
      Description copied from class: ElementReference
      This method converts the template to a data source that can be used to initialize a containment reference.
      Specified by:
      toDataSource in class ElementReference
      Returns:
      a data source that can be used to initialize a containment reference.