Module aeonics.core

Class Policy

    • Constructor Detail

      • Policy

        public Policy()
    • Method Detail

      • template

        public Template<? extends Policy.Type> template()
        Description copied from class: Item
        Returns the template to build the target entity.

        This method should ultimately be used to provide the final entity template. Although, it may also provide a partial template that subclassed may complement.

        Overrides:
        template in class Item<Policy.Type>
        Returns:
        the matching entity template
      • category

        protected java.lang.Class<? extends Policy> category()
        Description copied from class: Item
        Returns the target entity category. This method should be implemented by subclasses to specify the entity category.
        Specified by:
        category in class Item<Policy.Type>
        Returns:
        the target entity category