Interface PresentationVariant

  • All Superinterfaces:
    Presentation, Wrapper

    public interface PresentationVariant
    extends Presentation
    This interface is needed to make the wrapper registry work with our internal PresentationVariantImpl so that we can wrap presentation variant objects to look like normal presentation objects.
    • Method Detail

      • getName

        String getName()
        Returns the name of the presentation variant itself, without the prefix of the parent presentation.
        Returns:
        the name of the presentation variant itself, without the prefix of the parent presentation
      • getPresentation

        Presentation getPresentation()
        Returns the presentation to which this variant belongs.
        Returns:
        the presentation to which this variant belongs
      • getPropertyValues

        List<PresentationVariantPropertyValue> getPropertyValues()
        Returns the list of all property values assigned to this presentation variant.
        Returns:
        list of all property values assigned to this presentation variant. Returns an empty list if it has no property values.
      • setPropertyValue

        PresentationVariantPropertyValue setPropertyValue​(PresentationVariantPropertyDefinition definition,
                                                          String name,
                                                          String value)
        Appends a property value to this variant for the specified definition.
        Parameters:
        definition - The property definition to append the property for. If this presentation variant already contains a property for this definition, this property value is overwritten. If it does not exist, it is created.
        name - The name of the property value
        value - The value to set
        Returns: