Class Product

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, com.anaptecs.jeaf.xfun.api.common.Identifiable<com.anaptecs.jeaf.core.api.ServiceObjectID>, java.io.Serializable

    @Valid
    public class Product
    extends ProductBase
    Data type represents a product definition
    Version:
    JEAF Release 1.6.x
    Author:
    JEAF Generator
    See Also:
    Serialized Form
    • Constructor Detail

      • Product

        protected Product()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
    • Method Detail

      • builder

        public static Product.Builder builder()
        Method returns a new builder.
        Returns:
        Product.Builder New builder that can be used to create new Product objects.
      • builder

        public static Product.Builder builder​(Product pObject)
        Method creates a new builder and initialize it with the data from the passed object.
        Parameters:
        pObject - Object that should be used to initialize the builder. The parameter may be null.
        Returns:
        Product.Builder New builder that can be used to create new Product objects. The method never returns null.
      • builder

        public static Product.Builder builder​(java.lang.String pName,
                                              java.net.URL pLink,
                                              java.util.UUID pProductID,
                                              java.lang.String pDescription,
                                              java.lang.String pUri)
        Method creates a new builder and initializes it with the passed attributes.
      • getTheChannels

        public java.util.Set<Channel> getTheChannels()
        Method returns association #theChannels.
        Specified by:
        getTheChannels in class ProductBase
        Returns:
        Set Value to which #theChannels is set. The method never returns null and the returned collection is modifiable.