Class TmaServiceSpecCharacteristicValueModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class TmaServiceSpecCharacteristicValueModel
    extends ItemModel
    Generated model class for type TmaServiceSpecCharacteristicValue first defined at extension b2ctelcoservices.

    Actual value of a Service Specification Characteristic.

    See Also:
    Serialized Form
    • 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 java.lang.String _TMAPRODUCTSPECCHARACTERISTICVALUE2TMASERVICESPECCHARACTERISTICVALUERELATION
      Generated relation code constant for relation TmaProductSpecCharacteristicValue2TmaServiceSpecCharacteristicValueRelation defining source attribute productSpecCharacteristicValues in extension b2ctelcoservices.
      static java.lang.String _TMASERVICESPECCHARACTERISTIC2TMASERVICESPECCHARACTERISTICVALUERELATION
      Generated relation code constant for relation TmaServiceSpecCharacteristic2TmaServiceSpecCharacteristicValueRelation defining source attribute serviceSpecCharacteristic in extension b2ctelcoservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CATALOGVERSION
      Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.catalogVersion attribute defined at extension b2ctelcoservices.
      static java.lang.String ID
      Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.id attribute defined at extension b2ctelcoservices.
      static java.lang.String PRODUCTSPECCHARACTERISTICVALUES
      Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.productSpecCharacteristicValues attribute defined at extension b2ctelcoservices.
      static java.lang.String SERVICESPECCHARACTERISTIC
      Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.serviceSpecCharacteristic attribute defined at extension b2ctelcoservices.
      static java.lang.String UNITOFMEASURE
      Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.unitOfMeasure attribute defined at extension b2ctelcoservices.
      static java.lang.String VALUE
      Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the TmaServiceSpecCharacteristicValue.catalogVersion attribute defined at extension b2ctelcoservices.
      java.lang.String getId()
      Generated method - Getter of the TmaServiceSpecCharacteristicValue.id attribute defined at extension b2ctelcoservices.
      java.util.Collection<TmaProductSpecCharacteristicValueModel> getProductSpecCharacteristicValues()
      Generated method - Getter of the TmaServiceSpecCharacteristicValue.productSpecCharacteristicValues attribute defined at extension b2ctelcoservices.
      TmaServiceSpecCharacteristicModel getServiceSpecCharacteristic()
      Generated method - Getter of the TmaServiceSpecCharacteristicValue.serviceSpecCharacteristic attribute defined at extension b2ctelcoservices.
      UsageUnitModel getUnitOfMeasure()
      Generated method - Getter of the TmaServiceSpecCharacteristicValue.unitOfMeasure attribute defined at extension b2ctelcoservices.
      java.lang.String getValue()
      Generated method - Getter of the TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
      java.lang.String getValue​(java.util.Locale loc)
      Generated method - Getter of the TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
      void setCatalogVersion​(CatalogVersionModel value)
      Generated method - Setter of TmaServiceSpecCharacteristicValue.catalogVersion attribute defined at extension b2ctelcoservices.
      void setId​(java.lang.String value)
      Generated method - Initial setter of TmaServiceSpecCharacteristicValue.id attribute defined at extension b2ctelcoservices.
      void setProductSpecCharacteristicValues​(java.util.Collection<TmaProductSpecCharacteristicValueModel> value)
      Generated method - Setter of TmaServiceSpecCharacteristicValue.productSpecCharacteristicValues attribute defined at extension b2ctelcoservices.
      void setServiceSpecCharacteristic​(TmaServiceSpecCharacteristicModel value)
      Generated method - Setter of TmaServiceSpecCharacteristicValue.serviceSpecCharacteristic attribute defined at extension b2ctelcoservices.
      void setUnitOfMeasure​(UsageUnitModel value)
      Generated method - Setter of TmaServiceSpecCharacteristicValue.unitOfMeasure attribute defined at extension b2ctelcoservices.
      void setValue​(java.lang.String value)
      Generated method - Setter of TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
      void setValue​(java.lang.String value, java.util.Locale loc)
      Generated method - Setter of TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
      • 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 Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _TMASERVICESPECCHARACTERISTIC2TMASERVICESPECCHARACTERISTICVALUERELATION

        public static final java.lang.String _TMASERVICESPECCHARACTERISTIC2TMASERVICESPECCHARACTERISTICVALUERELATION
        Generated relation code constant for relation TmaServiceSpecCharacteristic2TmaServiceSpecCharacteristicValueRelation defining source attribute serviceSpecCharacteristic in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • _TMAPRODUCTSPECCHARACTERISTICVALUE2TMASERVICESPECCHARACTERISTICVALUERELATION

        public static final java.lang.String _TMAPRODUCTSPECCHARACTERISTICVALUE2TMASERVICESPECCHARACTERISTICVALUERELATION
        Generated relation code constant for relation TmaProductSpecCharacteristicValue2TmaServiceSpecCharacteristicValueRelation defining source attribute productSpecCharacteristicValues in extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • ID

        public static final java.lang.String ID
        Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.id attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.catalogVersion attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • VALUE

        public static final java.lang.String VALUE
        Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • UNITOFMEASURE

        public static final java.lang.String UNITOFMEASURE
        Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.unitOfMeasure attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • SERVICESPECCHARACTERISTIC

        public static final java.lang.String SERVICESPECCHARACTERISTIC
        Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.serviceSpecCharacteristic attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
      • PRODUCTSPECCHARACTERISTICVALUES

        public static final java.lang.String PRODUCTSPECCHARACTERISTICVALUES
        Generated constant - Attribute key of TmaServiceSpecCharacteristicValue.productSpecCharacteristicValues attribute defined at extension b2ctelcoservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TmaServiceSpecCharacteristicValueModel

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

        public TmaServiceSpecCharacteristicValueModel​(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
      • TmaServiceSpecCharacteristicValueModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaServiceSpecCharacteristicValueModel​(java.lang.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 TmaServiceSpecCharacteristicValue at extension b2ctelcoservices
      • TmaServiceSpecCharacteristicValueModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public TmaServiceSpecCharacteristicValueModel​(java.lang.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 TmaServiceSpecCharacteristicValue at extension b2ctelcoservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=GETTER)
        public CatalogVersionModel getCatalogVersion()
        Generated method - Getter of the TmaServiceSpecCharacteristicValue.catalogVersion attribute defined at extension b2ctelcoservices.
        Returns:
        the catalogVersion - Catalog Version on which the Service Spec Characteristic Value is published.
      • getId

        @Accessor(qualifier="id",
                  type=GETTER)
        public java.lang.String getId()
        Generated method - Getter of the TmaServiceSpecCharacteristicValue.id attribute defined at extension b2ctelcoservices.
        Returns:
        the id - Unique identifier of the Service Spec Characteristic Value.
      • getProductSpecCharacteristicValues

        @Accessor(qualifier="productSpecCharacteristicValues",
                  type=GETTER)
        public java.util.Collection<TmaProductSpecCharacteristicValueModel> getProductSpecCharacteristicValues()
        Generated method - Getter of the TmaServiceSpecCharacteristicValue.productSpecCharacteristicValues attribute defined at extension b2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the productSpecCharacteristicValues - Product Spec Characteristic Values which have been translated to the Service Spec Characteristic Values.
      • getServiceSpecCharacteristic

        @Accessor(qualifier="serviceSpecCharacteristic",
                  type=GETTER)
        public TmaServiceSpecCharacteristicModel getServiceSpecCharacteristic()
        Generated method - Getter of the TmaServiceSpecCharacteristicValue.serviceSpecCharacteristic attribute defined at extension b2ctelcoservices.
        Returns:
        the serviceSpecCharacteristic - Service Spec Characteristic for which the Values are associated.
      • getUnitOfMeasure

        @Accessor(qualifier="unitOfMeasure",
                  type=GETTER)
        public UsageUnitModel getUnitOfMeasure()
        Generated method - Getter of the TmaServiceSpecCharacteristicValue.unitOfMeasure attribute defined at extension b2ctelcoservices.
        Returns:
        the unitOfMeasure - Available unit of measure for the Service Spec Characteristic Value.
      • getValue

        @Accessor(qualifier="value",
                  type=GETTER)
        public java.lang.String getValue()
        Generated method - Getter of the TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
        Returns:
        the value - Available value of the Service Spec Characteristic Value.
      • getValue

        @Accessor(qualifier="value",
                  type=GETTER)
        public java.lang.String getValue​(java.util.Locale loc)
        Generated method - Getter of the TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
        Parameters:
        loc - the value localization key
        Returns:
        the value - Available value of the Service Spec Characteristic Value.
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=SETTER)
        public void setCatalogVersion​(CatalogVersionModel value)
        Generated method - Setter of TmaServiceSpecCharacteristicValue.catalogVersion attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the catalogVersion - Catalog Version on which the Service Spec Characteristic Value is published.
      • setId

        @Accessor(qualifier="id",
                  type=SETTER)
        public void setId​(java.lang.String value)
        Generated method - Initial setter of TmaServiceSpecCharacteristicValue.id attribute defined at extension b2ctelcoservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the id - Unique identifier of the Service Spec Characteristic Value.
      • setProductSpecCharacteristicValues

        @Accessor(qualifier="productSpecCharacteristicValues",
                  type=SETTER)
        public void setProductSpecCharacteristicValues​(java.util.Collection<TmaProductSpecCharacteristicValueModel> value)
        Generated method - Setter of TmaServiceSpecCharacteristicValue.productSpecCharacteristicValues attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the productSpecCharacteristicValues - Product Spec Characteristic Values which have been translated to the Service Spec Characteristic Values.
      • setServiceSpecCharacteristic

        @Accessor(qualifier="serviceSpecCharacteristic",
                  type=SETTER)
        public void setServiceSpecCharacteristic​(TmaServiceSpecCharacteristicModel value)
        Generated method - Setter of TmaServiceSpecCharacteristicValue.serviceSpecCharacteristic attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the serviceSpecCharacteristic - Service Spec Characteristic for which the Values are associated.
      • setUnitOfMeasure

        @Accessor(qualifier="unitOfMeasure",
                  type=SETTER)
        public void setUnitOfMeasure​(UsageUnitModel value)
        Generated method - Setter of TmaServiceSpecCharacteristicValue.unitOfMeasure attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the unitOfMeasure - Available unit of measure for the Service Spec Characteristic Value.
      • setValue

        @Accessor(qualifier="value",
                  type=SETTER)
        public void setValue​(java.lang.String value)
        Generated method - Setter of TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the value - Available value of the Service Spec Characteristic Value.
      • setValue

        @Accessor(qualifier="value",
                  type=SETTER)
        public void setValue​(java.lang.String value,
                             java.util.Locale loc)
        Generated method - Setter of TmaServiceSpecCharacteristicValue.value attribute defined at extension b2ctelcoservices.
        Parameters:
        value - the value - Available value of the Service Spec Characteristic Value.
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language