Interface ContainerItem

All Known Subinterfaces:
PanelContainerItem

@ConsumerType public interface ContainerItem
Interface for a single item in a container. Every container item has at least a resource.
Since:
com.adobe.cq.wcm.core.components.models 12.27.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull String
    Gets the name of this container item.
    default @Nullable String
    Returns the path of this container item.
    default @Nullable Resource
    Gets the resource for this container item.
  • Method Details

    • getResource

      @Nullable default @Nullable Resource getResource()
      Gets the resource for this container item.
      Returns:
      The resource for this container item.
      Since:
      com.adobe.cq.wcm.core.components.models 12.27.0
    • getName

      @NotNull default @NotNull String getName()
      Gets the name of this container item.
      Returns:
      The name of this container item.
      Since:
      com.adobe.cq.wcm.core.components.models 12.27.0
    • getPath

      @Nullable default @Nullable String getPath()
      Returns the path of this container item.
      Returns:
      the container item path or null
      Since:
      com.adobe.cq.wcm.core.components.models 12.28.0