Class TLfnStyle

java.lang.Object
com.luciad.fusion.platform.model.TLfnStyle

public final class TLfnStyle extends Object
Represents a style that is available in LuciadFusion Studio.

A style can be used to change the appearance of TLfnData when they are published in a TLfnService. Styles can be applied to data by combining them into a TLfnProduct. To switch styling according to target service or audience, you can create several products, each of which contains the same dataset but a different style.

Not all types of services support styling. For example, OGC WMS services support styling data, but OGC WFS services do not.

A style is created when a supported file is added to LuciadFusion Studio, either by crawling a data root, or added by a user (uploading or adding directly).

Currently, LuciadFusion only supports files in the OGC SLD and SE format.

Since:
2022.1
  • Method Details

    • getId

      public String getId()
      Returns the identifier of the style. The id is unique among all styles.
      Returns:
      the identifier of the style.
    • getName

      public String getName()
      Returns the name of the style.
      Returns:
      the name of the style
    • getTitle

      public String getTitle()
      Returns the human-readable title of the style.
      Returns:
      the title of the style
    • getAbstractText

      public String getAbstractText()
      Returns the abstract text describing the style.
      Returns:
      the abstract text describing the style
    • getKeywords

      public Set<String> getKeywords()
      Returns the set of keywords associated with the style.
      Returns:
      the keywords associated with the style
    • getCreationTime

      public ZonedDateTime getCreationTime()
      Returns the date and time when the style was created. This is time when the style was added to LuciadFusion Studio, by either crawling, uploading or adding it.
      Returns:
      the creation time of the style
    • getCreatedBy

      public TLfnUser getCreatedBy()
      Returns the user who created the style.
      Returns:
      the user who created the style
    • getUpdateTime

      public ZonedDateTime getUpdateTime()
      Returns the date and time when the style was last updated.
      Returns:
      the date and time when the style was last updated
    • getUpdatedBy

      public TLfnUser getUpdatedBy()
      Returns the user who last updated the style.
      Returns:
      the user who last updated the style
    • equals

      public boolean equals(Object aO)
      Indicates whether some other object is "equal to" this TLfnStyle. If the other object is also an TLfnStyle, the style ids will be compared, false is returned otherwise.
      Overrides:
      equals in class Object
      Returns:
      true if the other object is equal to this style, false otherwise.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object