Class RatingTypeImpl

    • Constructor Detail

      • RatingTypeImpl

        public RatingTypeImpl​(RatingTypeBuilderImpl builder,
                              DefaultRatingTypeImpl defaultTypeRating)
        Constructor
        Parameters:
        builder - the builder
        defaultTypeRating - the default rating implementation
    • Method Detail

      • getTypeName

        public String getTypeName()
        Get the name type of the rating type
        Specified by:
        getTypeName in interface RatingType
        Returns:
        type name
      • getTitle

        public String getTitle()
        Get title of rating type
        Specified by:
        getTitle in interface RatingType
        Returns:
        the title of rating
      • getInfoForExport

        public String getInfoForExport​(String strIdExtendableResource,
                                       String strExtendableResourceType)
        BinaryOperator to get the information value associate to the rating Type to export in the file export
        Specified by:
        getInfoForExport in interface RatingType
      • getInfoForRecap

        public String getInfoForRecap​(String strIdExtendableResource,
                                      String strExtendableResourceType)
        BinaryOperator to get the information value associate to the ExtenderType to write in the recap
        Specified by:
        getInfoForRecap in interface RatingType
      • getInfoExtender

        public List<Rating> getInfoExtender​(String strIdExtendableResource,
                                            String strExtendableResourceType)
        BiFunction to get the list of extender type information object
        Specified by:
        getInfoExtender in interface RatingType