Class GeneratedSubscriptionTerm

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
SubscriptionTerm

public abstract class GeneratedSubscriptionTerm extends GenericItem
Generated class for type SubscriptionTerm.
See Also:
  • Field Details

    • ID

      public static final String ID
      Qualifier of the SubscriptionTerm.id attribute
      See Also:
    • NAME

      public static final String NAME
      Qualifier of the SubscriptionTerm.name attribute
      See Also:
    • TERMOFSERVICENUMBER

      public static final String TERMOFSERVICENUMBER
      Qualifier of the SubscriptionTerm.termOfServiceNumber attribute
      See Also:
    • CANCELLABLE

      public static final String CANCELLABLE
      Qualifier of the SubscriptionTerm.cancellable attribute
      See Also:
    • TERMOFSERVICERENEWAL

      public static final String TERMOFSERVICERENEWAL
      Qualifier of the SubscriptionTerm.termOfServiceRenewal attribute
      See Also:
    • TERMOFSERVICEFREQUENCY

      public static final String TERMOFSERVICEFREQUENCY
      Qualifier of the SubscriptionTerm.termOfServiceFrequency attribute
      See Also:
    • BILLINGPLAN

      public static final String BILLINGPLAN
      Qualifier of the SubscriptionTerm.billingPlan attribute
      See Also:
    • SUBSCRIPTIONPRODUCTS

      public static final String SUBSCRIPTIONPRODUCTS
      Qualifier of the SubscriptionTerm.subscriptionProducts attribute
      See Also:
    • 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedSubscriptionTerm

      public GeneratedSubscriptionTerm()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • 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 Boolean isCancellable(SessionContext ctx)
      Generated method - Getter of the SubscriptionTerm.cancellable attribute.
      Returns:
      the cancellable - Cancellable
    • isCancellable

      public 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, 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
    • 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 String getId(SessionContext ctx)
      Generated method - Getter of the SubscriptionTerm.id attribute.
      Returns:
      the id - Identifier
    • getId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public void setSubscriptionProducts(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 Integer getTermOfServiceNumber(SessionContext ctx)
      Generated method - Getter of the SubscriptionTerm.termOfServiceNumber attribute.
      Returns:
      the termOfServiceNumber - Term of Service Number
    • getTermOfServiceNumber

      public 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, Integer value)
      Generated method - Setter of the SubscriptionTerm.termOfServiceNumber attribute.
      Parameters:
      value - the termOfServiceNumber - Term of Service Number
    • setTermOfServiceNumber

      public void setTermOfServiceNumber(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