Interface GenericComponent


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

      • getSimpleProperties

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

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

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

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

        @NotNull
        @NotNull java.util.List<GenericProperty<ComponentValue>> getComponentProperties()
        Returns:
        All nested component 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)