Interface PageTypeMapping

All Known Implementing Classes:
DefaultPageTypeMapping

@Deprecated(since="6.6", forRemoval=true) public interface PageTypeMapping
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.6
Represents meta-information about a ComposedTypeModel and the type code of the target data model to be converted to. The type data is the type code representation of an object that extends a AbstractPageData.

For example, a ContentPageModel will be converted to a ContentPageData, therefore the typecode will be 'ContentPage' and the typedata will be 'ContentPageData.class'.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the typecode identifying the ComposedTypeModel.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get the class of the data model which the ComposedTypeModel will be converted to.
    void
    setTypecode(String typecode)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set the typecode identifying the ComposedTypeModel.
    void
    setTypedata(Class<? extends AbstractPageData> typedata)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set the class of the data model which the ComposedTypeModel will be converted to.
  • Method Details

    • getTypecode

      String getTypecode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the typecode identifying the ComposedTypeModel.
      Returns:
      the typecode
    • setTypecode

      void setTypecode(String typecode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the typecode identifying the ComposedTypeModel.
      Parameters:
      typecode - - the typecode
    • getTypedata

      Class<? extends AbstractPageData> getTypedata()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the class of the data model which the ComposedTypeModel will be converted to.
      Returns:
      the typecode of the data model
    • setTypedata

      void setTypedata(Class<? extends AbstractPageData> typedata)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the class of the data model which the ComposedTypeModel will be converted to.
      Parameters:
      typedata - - the typecode of the data model