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:
Serializable
Generated model class for type TmaBpoPreConfig first defined at extension tuadatacommonsservices.
Pre-Configured BPO.
- 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
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationTmaBundledProductOffering2TmaBpoPreConfigRelationdefining source attributerootBpoin extensiontuadatacommonsservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofTmaBpoPreConfig.catalogVersionattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaBpoPreConfig.codeattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaBpoPreConfig.preConfigSposattribute defined at extensiontuadatacommonsservices.static final StringGenerated constant - Attribute key ofTmaBpoPreConfig.rootBpoattribute defined at extensiontuadatacommonsservices.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.TmaBpoPreConfigModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner, 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, String _code, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theTmaBpoPreConfig.catalogVersionattribute defined at extensiontuadatacommonsservices.getCode()Generated method - Getter of theTmaBpoPreConfig.codeattribute defined at extensiontuadatacommonsservices.getName()Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaBpoPreConfig.preConfigSposattribute defined at extensiontuadatacommonsservices.Generated method - Getter of theTmaBpoPreConfig.rootBpoattribute defined at extensiontuadatacommonsservices.voidGenerated method - Initial setter ofTmaBpoPreConfig.catalogVersionattribute defined at extensiontuadatacommonsservices.voidGenerated method - Initial setter ofTmaBpoPreConfig.codeattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaBpoPreConfig.preConfigSposattribute defined at extensiontuadatacommonsservices.voidGenerated method - Setter ofTmaBpoPreConfig.rootBpoattribute defined at extensiontuadatacommonsservices.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_TMABUNDLEDPRODUCTOFFERING2TMABPOPRECONFIGRELATION
Generated relation code constant for relationTmaBundledProductOffering2TmaBpoPreConfigRelationdefining source attributerootBpoin extensiontuadatacommonsservices.- See Also:
-
CODE
Generated constant - Attribute key ofTmaBpoPreConfig.codeattribute defined at extensiontuadatacommonsservices.- See Also:
-
NAME
Generated constant - Attribute key ofTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofTmaBpoPreConfig.catalogVersionattribute defined at extensiontuadatacommonsservices.- See Also:
-
ROOTBPO
Generated constant - Attribute key ofTmaBpoPreConfig.rootBpoattribute defined at extensiontuadatacommonsservices.- See Also:
-
PRECONFIGSPOS
Generated constant - Attribute key ofTmaBpoPreConfig.preConfigSposattribute defined at extensiontuadatacommonsservices.- See Also:
-
-
Constructor Details
-
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, String _code, 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 extensiontuadatacommonsservices_code- initial attribute declared by typeTmaBpoPreConfigat extensiontuadatacommonsservices_preConfigSpos- initial attribute declared by typeTmaBpoPreConfigat extensiontuadatacommonsservices_rootBpo- initial attribute declared by typeTmaBpoPreConfigat extensiontuadatacommonsservices
-
TmaBpoPreConfigModel
@Deprecated(since="4.1.1", forRemoval=true) public TmaBpoPreConfigModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner, 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 extensiontuadatacommonsservices_code- initial attribute declared by typeTmaBpoPreConfigat extensiontuadatacommonsservices_owner- initial attribute declared by typeItemat extensioncore_preConfigSpos- initial attribute declared by typeTmaBpoPreConfigat extensiontuadatacommonsservices_rootBpo- initial attribute declared by typeTmaBpoPreConfigat extensiontuadatacommonsservices
-
-
Method Details
-
getCatalogVersion
Generated method - Getter of theTmaBpoPreConfig.catalogVersionattribute defined at extensiontuadatacommonsservices.- Returns:
- the catalogVersion - Catalog Version
-
getCode
Generated method - Getter of theTmaBpoPreConfig.codeattribute defined at extensiontuadatacommonsservices.- Returns:
- the code - Identifier
-
getName
Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.- Returns:
- the name - Name
-
getName
Generated method - Getter of theTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
loc- the value localization key- Returns:
- the name - Name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getPreConfigSpos
@Accessor(qualifier="preConfigSpos", type=GETTER) public Set<TmaSimpleProductOfferingModel> getPreConfigSpos()Generated method - Getter of theTmaBpoPreConfig.preConfigSposattribute defined at extensiontuadatacommonsservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the preConfigSpos - List of SPOs in Pre Configured Bpo
-
getRootBpo
Generated method - Getter of theTmaBpoPreConfig.rootBpoattribute defined at extensiontuadatacommonsservices.- 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 extensiontuadatacommonsservices. Can only be used at creation of model - before first save.- Parameters:
value- the catalogVersion - Catalog Version
-
setCode
Generated method - Initial setter ofTmaBpoPreConfig.codeattribute defined at extensiontuadatacommonsservices. Can only be used at creation of model - before first save.- Parameters:
value- the code - Identifier
-
setName
Generated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the name - Name
-
setName
Generated method - Setter ofTmaBpoPreConfig.nameattribute defined at extensiontuadatacommonsservices.- Parameters:
value- the name - Nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setPreConfigSpos
@Accessor(qualifier="preConfigSpos", type=SETTER) public void setPreConfigSpos(Set<TmaSimpleProductOfferingModel> value) Generated method - Setter ofTmaBpoPreConfig.preConfigSposattribute defined at extensiontuadatacommonsservices.- 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 extensiontuadatacommonsservices.- Parameters:
value- the rootBpo - Parent bpo for preconfigs
-