Class UsageUnitModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.subscriptionservices.model.UsageUnitModel
All Implemented Interfaces:
Serializable

public class UsageUnitModel extends ItemModel
Generated model class for type UsageUnit first defined at extension subscriptionservices.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of UsageUnit.accumulative attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of UsageUnit.id attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of UsageUnit.name attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of UsageUnit.namePlural attribute defined at extension subscriptionservices.
    static final String
    Generated constant - Attribute key of UsageUnit.unitConversionMap attribute defined at extension b2ctelcoservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    UsageUnitModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 4.1.1 Please use the default constructor without parameters
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the UsageUnit.accumulative attribute defined at extension subscriptionservices.
    Generated method - Getter of the UsageUnit.id attribute defined at extension subscriptionservices.
    Generated method - Getter of the UsageUnit.name attribute defined at extension subscriptionservices.
    Generated method - Getter of the UsageUnit.name attribute defined at extension subscriptionservices.
    Generated method - Getter of the UsageUnit.namePlural attribute defined at extension subscriptionservices.
    Generated method - Getter of the UsageUnit.namePlural attribute defined at extension subscriptionservices.
    Generated method - Getter of the UsageUnit.unitConversionMap attribute defined at extension b2ctelcoservices.
    void
    Generated method - Setter of UsageUnit.accumulative attribute defined at extension subscriptionservices.
    void
    setId(String value)
    Generated method - Initial setter of UsageUnit.id attribute defined at extension subscriptionservices.
    void
    setName(String value)
    Generated method - Setter of UsageUnit.name attribute defined at extension subscriptionservices.
    void
    setName(String value, Locale loc)
    Generated method - Setter of UsageUnit.name attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of UsageUnit.namePlural attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of UsageUnit.namePlural attribute defined at extension subscriptionservices.
    void
    Generated method - Setter of UsageUnit.unitConversionMap attribute defined at extension b2ctelcoservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of UsageUnit.id attribute defined at extension subscriptionservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of UsageUnit.name attribute defined at extension subscriptionservices.
      See Also:
    • NAMEPLURAL

      public static final String NAMEPLURAL
      Generated constant - Attribute key of UsageUnit.namePlural attribute defined at extension subscriptionservices.
      See Also:
    • ACCUMULATIVE

      public static final String ACCUMULATIVE
      Generated constant - Attribute key of UsageUnit.accumulative attribute defined at extension subscriptionservices.
      See Also:
    • UNITCONVERSIONMAP

      public static final String UNITCONVERSIONMAP
      Generated constant - Attribute key of UsageUnit.unitConversionMap attribute defined at extension b2ctelcoservices.
      See Also:
  • Constructor Details

    • UsageUnitModel

      public UsageUnitModel()
      Generated constructor - Default constructor for generic creation.
    • UsageUnitModel

      public UsageUnitModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • UsageUnitModel

      @Deprecated(since="4.1.1", forRemoval=true) public UsageUnitModel(String _id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _id - initial attribute declared by type UsageUnit at extension subscriptionservices
    • UsageUnitModel

      @Deprecated(since="4.1.1", forRemoval=true) public UsageUnitModel(String _id, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _id - initial attribute declared by type UsageUnit at extension subscriptionservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAccumulative

      @Accessor(qualifier="accumulative", type=GETTER) public Boolean getAccumulative()
      Generated method - Getter of the UsageUnit.accumulative attribute defined at extension subscriptionservices.
      Returns:
      the accumulative - Accumulative
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the UsageUnit.id attribute defined at extension subscriptionservices.
      Returns:
      the id - Identifier
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the UsageUnit.name attribute defined at extension subscriptionservices.
      Returns:
      the name - Name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the UsageUnit.name attribute defined at extension subscriptionservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name - Name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getNamePlural

      @Accessor(qualifier="namePlural", type=GETTER) public String getNamePlural()
      Generated method - Getter of the UsageUnit.namePlural attribute defined at extension subscriptionservices.
      Returns:
      the namePlural - Name (Plural)
    • getNamePlural

      @Accessor(qualifier="namePlural", type=GETTER) public String getNamePlural(Locale loc)
      Generated method - Getter of the UsageUnit.namePlural attribute defined at extension subscriptionservices.
      Parameters:
      loc - the value localization key
      Returns:
      the namePlural - Name (Plural)
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getUnitConversionMap

      @Accessor(qualifier="unitConversionMap", type=GETTER) public Map<String,String> getUnitConversionMap()
      Generated method - Getter of the UsageUnit.unitConversionMap attribute defined at extension b2ctelcoservices.
      Returns:
      the unitConversionMap
    • setAccumulative

      @Accessor(qualifier="accumulative", type=SETTER) public void setAccumulative(Boolean value)
      Generated method - Setter of UsageUnit.accumulative attribute defined at extension subscriptionservices.
      Parameters:
      value - the accumulative - Accumulative
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Initial setter of UsageUnit.id attribute defined at extension subscriptionservices. Can only be used at creation of model - before first save.
      Parameters:
      value - the id - Identifier
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of UsageUnit.name attribute defined at extension subscriptionservices.
      Parameters:
      value - the name - Name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of UsageUnit.name attribute defined at extension subscriptionservices.
      Parameters:
      value - the name - Name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setNamePlural

      @Accessor(qualifier="namePlural", type=SETTER) public void setNamePlural(String value)
      Generated method - Setter of UsageUnit.namePlural attribute defined at extension subscriptionservices.
      Parameters:
      value - the namePlural - Name (Plural)
    • setNamePlural

      @Accessor(qualifier="namePlural", type=SETTER) public void setNamePlural(String value, Locale loc)
      Generated method - Setter of UsageUnit.namePlural attribute defined at extension subscriptionservices.
      Parameters:
      value - the namePlural - Name (Plural)
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setUnitConversionMap

      @Accessor(qualifier="unitConversionMap", type=SETTER) public void setUnitConversionMap(Map<String,String> value)
      Generated method - Setter of UsageUnit.unitConversionMap attribute defined at extension b2ctelcoservices.
      Parameters:
      value - the unitConversionMap