Interface GenericComponent


@ProviderType public interface GenericComponent
Generic view of all properties of a sling model instance.
  • Method Details

    • getSimpleProperties

      @NotNull @NotNull List<GenericProperty<SimpleValue>> getSimpleProperties()
      Returns:
      All simple properties
    • getLinkProperties

      @NotNull @NotNull List<GenericProperty<LinkValue>> getLinkProperties()
      Returns:
      All link properties
    • getMediaProperties

      @NotNull @NotNull List<GenericProperty<MediaValue>> getMediaProperties()
      Returns:
      All media properties
    • getRichTextProperties

      @NotNull @NotNull List<GenericProperty<RichTextValue>> getRichTextProperties()
      Returns:
      All rich text properties
    • getComponentProperties

      @NotNull @NotNull List<GenericProperty<ComponentValue>> getComponentProperties()
      Returns:
      All nested component properties
    • getAllProperties

      @NotNull @NotNull List<GenericProperty<GenericValue>> getAllProperties()
      Returns:
      All properties
    • isContainer

      boolean isContainer()
      Returns:
      Component is a container component with child components
    • isExperienceFragment

      boolean isExperienceFragment()
      Returns:
      Component is a experience fragment
    • isValid

      boolean isValid()
      Returns:
      Component contains at least one valid property (of any type)