Class TmaBpoPreConfigModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.b2ctelcoservices.model.TmaBpoPreConfigModel
-
- All Implemented Interfaces:
java.io.Serializable
public class TmaBpoPreConfigModel extends ItemModel
Generated model class for type TmaBpoPreConfig first defined at extension b2ctelcoservices.Pre-Configured BPO.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TMABUNDLEDPRODUCTOFFERING2TMABPOPRECONFIGRELATIONGenerated relation code constant for relationTmaBundledProductOffering2TmaBpoPreConfigRelationdefining source attributerootBpoin extensionb2ctelcoservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofTmaBpoPreConfig.catalogVersionattribute defined at extensionb2ctelcoservices.static java.lang.StringCODEGenerated constant - Attribute key ofTmaBpoPreConfig.codeattribute defined at extensionb2ctelcoservices.static java.lang.StringNAMEGenerated constant - Attribute key ofTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.static java.lang.StringPRECONFIGSPOSGenerated constant - Attribute key ofTmaBpoPreConfig.preConfigSposattribute defined at extensionb2ctelcoservices.static java.lang.StringROOTBPOGenerated constant - Attribute key ofTmaBpoPreConfig.rootBpoattribute defined at extensionb2ctelcoservices.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
-
Constructor Summary
Constructors Constructor Description TmaBpoPreConfigModel()Generated constructor - Default constructor for generic creation.TmaBpoPreConfigModel(CatalogVersionModel _catalogVersion, java.lang.String _code, ItemModel _owner, java.util.Set<TmaSimpleProductOfferingModel> _preConfigSpos, TmaBundledProductOfferingModel _rootBpo)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaBpoPreConfigModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.util.Set<TmaSimpleProductOfferingModel> _preConfigSpos, TmaBundledProductOfferingModel _rootBpo)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTmaBpoPreConfigModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogVersionModelgetCatalogVersion()Generated method - Getter of theTmaBpoPreConfig.catalogVersionattribute defined at extensionb2ctelcoservices.java.lang.StringgetCode()Generated method - Getter of theTmaBpoPreConfig.codeattribute defined at extensionb2ctelcoservices.java.lang.StringgetName()Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.java.util.Set<TmaSimpleProductOfferingModel>getPreConfigSpos()Generated method - Getter of theTmaBpoPreConfig.preConfigSposattribute defined at extensionb2ctelcoservices.TmaBundledProductOfferingModelgetRootBpo()Generated method - Getter of theTmaBpoPreConfig.rootBpoattribute defined at extensionb2ctelcoservices.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Initial setter ofTmaBpoPreConfig.catalogVersionattribute defined at extensionb2ctelcoservices.voidsetCode(java.lang.String value)Generated method - Initial setter ofTmaBpoPreConfig.codeattribute defined at extensionb2ctelcoservices.voidsetName(java.lang.String value)Generated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.voidsetPreConfigSpos(java.util.Set<TmaSimpleProductOfferingModel> value)Generated method - Setter ofTmaBpoPreConfig.preConfigSposattribute defined at extensionb2ctelcoservices.voidsetRootBpo(TmaBundledProductOfferingModel value)Generated method - Setter ofTmaBpoPreConfig.rootBpoattribute defined at extensionb2ctelcoservices.-
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
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_TMABUNDLEDPRODUCTOFFERING2TMABPOPRECONFIGRELATION
public static final java.lang.String _TMABUNDLEDPRODUCTOFFERING2TMABPOPRECONFIGRELATION
Generated relation code constant for relationTmaBundledProductOffering2TmaBpoPreConfigRelationdefining source attributerootBpoin extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofTmaBpoPreConfig.codeattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofTmaBpoPreConfig.catalogVersionattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
ROOTBPO
public static final java.lang.String ROOTBPO
Generated constant - Attribute key ofTmaBpoPreConfig.rootBpoattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
PRECONFIGSPOS
public static final java.lang.String PRECONFIGSPOS
Generated constant - Attribute key ofTmaBpoPreConfig.preConfigSposattribute defined at extensionb2ctelcoservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TmaBpoPreConfigModel
public TmaBpoPreConfigModel()
Generated constructor - Default constructor for generic creation.
-
TmaBpoPreConfigModel
public TmaBpoPreConfigModel(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
-
TmaBpoPreConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaBpoPreConfigModel(CatalogVersionModel _catalogVersion, java.lang.String _code, java.util.Set<TmaSimpleProductOfferingModel> _preConfigSpos, TmaBundledProductOfferingModel _rootBpo)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices_code- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices_preConfigSpos- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices_rootBpo- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices
-
TmaBpoPreConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaBpoPreConfigModel(CatalogVersionModel _catalogVersion, java.lang.String _code, ItemModel _owner, java.util.Set<TmaSimpleProductOfferingModel> _preConfigSpos, TmaBundledProductOfferingModel _rootBpo)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices_code- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices_owner- initial attribute declared by typeItemat extensioncore_preConfigSpos- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices_rootBpo- initial attribute declared by typeTmaBpoPreConfigat extensionb2ctelcoservices
-
-
Method Detail
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()Generated method - Getter of theTmaBpoPreConfig.catalogVersionattribute defined at extensionb2ctelcoservices.- Returns:
- the catalogVersion - Catalog Version
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()Generated method - Getter of theTmaBpoPreConfig.codeattribute defined at extensionb2ctelcoservices.- Returns:
- the code - Identifier
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.- Returns:
- the name - Name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getPreConfigSpos
@Accessor(qualifier="preConfigSpos", type=GETTER) public java.util.Set<TmaSimpleProductOfferingModel> getPreConfigSpos()Generated method - Getter of theTmaBpoPreConfig.preConfigSposattribute defined at extensionb2ctelcoservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the preConfigSpos - List of SPOs in Pre Configured Bpo
-
getRootBpo
@Accessor(qualifier="rootBpo", type=GETTER) public TmaBundledProductOfferingModel getRootBpo()Generated method - Getter of theTmaBpoPreConfig.rootBpoattribute defined at extensionb2ctelcoservices.- Returns:
- the rootBpo - Parent bpo for preconfigs
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)Generated method - Initial setter ofTmaBpoPreConfig.catalogVersionattribute defined at extensionb2ctelcoservices. Can only be used at creation of model - before first save.- Parameters:
value- the catalogVersion - Catalog Version
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)Generated method - Initial setter ofTmaBpoPreConfig.codeattribute defined at extensionb2ctelcoservices. Can only be used at creation of model - before first save.- Parameters:
value- the code - Identifier
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)Generated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensionb2ctelcoservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setPreConfigSpos
@Accessor(qualifier="preConfigSpos", type=SETTER) public void setPreConfigSpos(java.util.Set<TmaSimpleProductOfferingModel> value)Generated method - Setter ofTmaBpoPreConfig.preConfigSposattribute defined at extensionb2ctelcoservices.- Parameters:
value- the preConfigSpos - List of SPOs in Pre Configured Bpo
-
setRootBpo
@Accessor(qualifier="rootBpo", type=SETTER) public void setRootBpo(TmaBundledProductOfferingModel value)Generated method - Setter ofTmaBpoPreConfig.rootBpoattribute defined at extensionb2ctelcoservices.- Parameters:
value- the rootBpo - Parent bpo for preconfigs
-
-