Interface GenericComponent
-
@ProviderType public interface GenericComponent
Generic view of all properties of a sling model instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.List<GenericProperty<GenericValue>>
getAllProperties()
@NotNull java.util.List<GenericProperty<ComponentValue>>
getComponentProperties()
@NotNull java.util.List<GenericProperty<LinkValue>>
getLinkProperties()
@NotNull java.util.List<GenericProperty<MediaValue>>
getMediaProperties()
@NotNull java.util.List<GenericProperty<RichTextValue>>
getRichTextProperties()
@NotNull java.util.List<GenericProperty<SimpleValue>>
getSimpleProperties()
boolean
isContainer()
boolean
isExperienceFragment()
boolean
isValid()
-
-
-
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
-
getAllProperties
@NotNull @NotNull java.util.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)
-
-