Class GeneratedSubscriptionTerm

    • Field Detail

      • ID

        public static final java.lang.String ID
        Qualifier of the SubscriptionTerm.id attribute
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Qualifier of the SubscriptionTerm.name attribute
        See Also:
        Constant Field Values
      • TERMOFSERVICENUMBER

        public static final java.lang.String TERMOFSERVICENUMBER
        Qualifier of the SubscriptionTerm.termOfServiceNumber attribute
        See Also:
        Constant Field Values
      • CANCELLABLE

        public static final java.lang.String CANCELLABLE
        Qualifier of the SubscriptionTerm.cancellable attribute
        See Also:
        Constant Field Values
      • TERMOFSERVICERENEWAL

        public static final java.lang.String TERMOFSERVICERENEWAL
        Qualifier of the SubscriptionTerm.termOfServiceRenewal attribute
        See Also:
        Constant Field Values
      • TERMOFSERVICEFREQUENCY

        public static final java.lang.String TERMOFSERVICEFREQUENCY
        Qualifier of the SubscriptionTerm.termOfServiceFrequency attribute
        See Also:
        Constant Field Values
      • BILLINGPLAN

        public static final java.lang.String BILLINGPLAN
        Qualifier of the SubscriptionTerm.billingPlan attribute
        See Also:
        Constant Field Values
      • SUBSCRIPTIONPRODUCTS

        public static final java.lang.String SUBSCRIPTIONPRODUCTS
        Qualifier of the SubscriptionTerm.subscriptionProducts attribute
        See Also:
        Constant Field Values
      • SUBSCRIPTIONPRODUCTSHANDLER

        protected static final OneToManyHandler<Product> SUBSCRIPTIONPRODUCTSHANDLER
        OneToManyHandler for handling 1:n SUBSCRIPTIONPRODUCTS's relation attributes from 'many' side.
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedSubscriptionTerm

        public GeneratedSubscriptionTerm()
    • Method Detail

      • getBillingPlan

        public BillingPlan getBillingPlan​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.billingPlan attribute.
        Returns:
        the billingPlan - Billing Plan
      • getBillingPlan

        public BillingPlan getBillingPlan()
        Generated method - Getter of the SubscriptionTerm.billingPlan attribute.
        Returns:
        the billingPlan - Billing Plan
      • setBillingPlan

        public void setBillingPlan​(SessionContext ctx,
                                   BillingPlan value)
        Generated method - Setter of the SubscriptionTerm.billingPlan attribute.
        Parameters:
        value - the billingPlan - Billing Plan
      • setBillingPlan

        public void setBillingPlan​(BillingPlan value)
        Generated method - Setter of the SubscriptionTerm.billingPlan attribute.
        Parameters:
        value - the billingPlan - Billing Plan
      • isCancellable

        public java.lang.Boolean isCancellable​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.cancellable attribute.
        Returns:
        the cancellable - Cancellable
      • isCancellable

        public java.lang.Boolean isCancellable()
        Generated method - Getter of the SubscriptionTerm.cancellable attribute.
        Returns:
        the cancellable - Cancellable
      • isCancellableAsPrimitive

        public boolean isCancellableAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.cancellable attribute.
        Returns:
        the cancellable - Cancellable
      • isCancellableAsPrimitive

        public boolean isCancellableAsPrimitive()
        Generated method - Getter of the SubscriptionTerm.cancellable attribute.
        Returns:
        the cancellable - Cancellable
      • setCancellable

        public void setCancellable​(SessionContext ctx,
                                   java.lang.Boolean value)
        Generated method - Setter of the SubscriptionTerm.cancellable attribute.
        Parameters:
        value - the cancellable - Cancellable
      • setCancellable

        public void setCancellable​(java.lang.Boolean value)
        Generated method - Setter of the SubscriptionTerm.cancellable attribute.
        Parameters:
        value - the cancellable - Cancellable
      • setCancellable

        public void setCancellable​(SessionContext ctx,
                                   boolean value)
        Generated method - Setter of the SubscriptionTerm.cancellable attribute.
        Parameters:
        value - the cancellable - Cancellable
      • setCancellable

        public void setCancellable​(boolean value)
        Generated method - Setter of the SubscriptionTerm.cancellable attribute.
        Parameters:
        value - the cancellable - Cancellable
      • getId

        public java.lang.String getId​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.id attribute.
        Returns:
        the id - Identifier
      • getId

        public java.lang.String getId()
        Generated method - Getter of the SubscriptionTerm.id attribute.
        Returns:
        the id - Identifier
      • setId

        protected void setId​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the SubscriptionTerm.id attribute.
        Parameters:
        value - the id - Identifier
      • setId

        protected void setId​(java.lang.String value)
        Generated method - Setter of the SubscriptionTerm.id attribute.
        Parameters:
        value - the id - Identifier
      • getName

        public java.lang.String getName​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.name attribute.
        Returns:
        the name - Name
      • getName

        public java.lang.String getName()
        Generated method - Getter of the SubscriptionTerm.name attribute.
        Returns:
        the name - Name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.name attribute.
        Returns:
        the localized name - Name
      • getAllName

        public java.util.Map<Language,​java.lang.String> getAllName()
        Generated method - Getter of the SubscriptionTerm.name attribute.
        Returns:
        the localized name - Name
      • setName

        public void setName​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the SubscriptionTerm.name attribute.
        Parameters:
        value - the name - Name
      • setName

        public void setName​(java.lang.String value)
        Generated method - Setter of the SubscriptionTerm.name attribute.
        Parameters:
        value - the name - Name
      • setAllName

        public void setAllName​(SessionContext ctx,
                               java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the SubscriptionTerm.name attribute.
        Parameters:
        value - the name - Name
      • setAllName

        public void setAllName​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the SubscriptionTerm.name attribute.
        Parameters:
        value - the name - Name
      • getSubscriptionProducts

        public java.util.Collection<Product> getSubscriptionProducts​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.subscriptionProducts attribute.
        Returns:
        the subscriptionProducts
      • getSubscriptionProducts

        public java.util.Collection<Product> getSubscriptionProducts()
        Generated method - Getter of the SubscriptionTerm.subscriptionProducts attribute.
        Returns:
        the subscriptionProducts
      • setSubscriptionProducts

        public void setSubscriptionProducts​(SessionContext ctx,
                                            java.util.Collection<Product> value)
        Generated method - Setter of the SubscriptionTerm.subscriptionProducts attribute.
        Parameters:
        value - the subscriptionProducts
      • setSubscriptionProducts

        public void setSubscriptionProducts​(java.util.Collection<Product> value)
        Generated method - Setter of the SubscriptionTerm.subscriptionProducts attribute.
        Parameters:
        value - the subscriptionProducts
      • addToSubscriptionProducts

        public void addToSubscriptionProducts​(SessionContext ctx,
                                              Product value)
        Generated method - Adds value to subscriptionProducts.
        Parameters:
        value - the item to add to subscriptionProducts
      • addToSubscriptionProducts

        public void addToSubscriptionProducts​(Product value)
        Generated method - Adds value to subscriptionProducts.
        Parameters:
        value - the item to add to subscriptionProducts
      • removeFromSubscriptionProducts

        public void removeFromSubscriptionProducts​(SessionContext ctx,
                                                   Product value)
        Generated method - Removes value from subscriptionProducts.
        Parameters:
        value - the item to remove from subscriptionProducts
      • removeFromSubscriptionProducts

        public void removeFromSubscriptionProducts​(Product value)
        Generated method - Removes value from subscriptionProducts.
        Parameters:
        value - the item to remove from subscriptionProducts
      • getTermOfServiceFrequency

        public EnumerationValue getTermOfServiceFrequency​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.termOfServiceFrequency attribute.
        Returns:
        the termOfServiceFrequency - Term of Service Frequency
      • getTermOfServiceFrequency

        public EnumerationValue getTermOfServiceFrequency()
        Generated method - Getter of the SubscriptionTerm.termOfServiceFrequency attribute.
        Returns:
        the termOfServiceFrequency - Term of Service Frequency
      • setTermOfServiceFrequency

        public void setTermOfServiceFrequency​(SessionContext ctx,
                                              EnumerationValue value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceFrequency attribute.
        Parameters:
        value - the termOfServiceFrequency - Term of Service Frequency
      • setTermOfServiceFrequency

        public void setTermOfServiceFrequency​(EnumerationValue value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceFrequency attribute.
        Parameters:
        value - the termOfServiceFrequency - Term of Service Frequency
      • getTermOfServiceNumber

        public java.lang.Integer getTermOfServiceNumber​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.termOfServiceNumber attribute.
        Returns:
        the termOfServiceNumber - Term of Service Number
      • getTermOfServiceNumber

        public java.lang.Integer getTermOfServiceNumber()
        Generated method - Getter of the SubscriptionTerm.termOfServiceNumber attribute.
        Returns:
        the termOfServiceNumber - Term of Service Number
      • getTermOfServiceNumberAsPrimitive

        public int getTermOfServiceNumberAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.termOfServiceNumber attribute.
        Returns:
        the termOfServiceNumber - Term of Service Number
      • getTermOfServiceNumberAsPrimitive

        public int getTermOfServiceNumberAsPrimitive()
        Generated method - Getter of the SubscriptionTerm.termOfServiceNumber attribute.
        Returns:
        the termOfServiceNumber - Term of Service Number
      • setTermOfServiceNumber

        public void setTermOfServiceNumber​(SessionContext ctx,
                                           java.lang.Integer value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceNumber attribute.
        Parameters:
        value - the termOfServiceNumber - Term of Service Number
      • setTermOfServiceNumber

        public void setTermOfServiceNumber​(java.lang.Integer value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceNumber attribute.
        Parameters:
        value - the termOfServiceNumber - Term of Service Number
      • setTermOfServiceNumber

        public void setTermOfServiceNumber​(SessionContext ctx,
                                           int value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceNumber attribute.
        Parameters:
        value - the termOfServiceNumber - Term of Service Number
      • setTermOfServiceNumber

        public void setTermOfServiceNumber​(int value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceNumber attribute.
        Parameters:
        value - the termOfServiceNumber - Term of Service Number
      • getTermOfServiceRenewal

        public EnumerationValue getTermOfServiceRenewal​(SessionContext ctx)
        Generated method - Getter of the SubscriptionTerm.termOfServiceRenewal attribute.
        Returns:
        the termOfServiceRenewal - Term of Service Renewal
      • getTermOfServiceRenewal

        public EnumerationValue getTermOfServiceRenewal()
        Generated method - Getter of the SubscriptionTerm.termOfServiceRenewal attribute.
        Returns:
        the termOfServiceRenewal - Term of Service Renewal
      • setTermOfServiceRenewal

        public void setTermOfServiceRenewal​(SessionContext ctx,
                                            EnumerationValue value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceRenewal attribute.
        Parameters:
        value - the termOfServiceRenewal - Term of Service Renewal
      • setTermOfServiceRenewal

        public void setTermOfServiceRenewal​(EnumerationValue value)
        Generated method - Setter of the SubscriptionTerm.termOfServiceRenewal attribute.
        Parameters:
        value - the termOfServiceRenewal - Term of Service Renewal