public class ProductReferenceModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_PRODUCTREFERENCERELATION
Generated relation code constant for relation
ProductReferenceRelation defining source attribute source in extension catalog. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ACTIVE
Generated constant - Attribute key of
ProductReference.active attribute defined at extension catalog. |
static String |
DESCRIPTION
Generated constant - Attribute key of
ProductReference.description attribute defined at extension catalog. |
static String |
ICON
Generated constant - Attribute key of
ProductReference.icon attribute defined at extension catalog. |
static String |
PRESELECTED
Generated constant - Attribute key of
ProductReference.preselected attribute defined at extension catalog. |
static String |
QUALIFIER
Generated constant - Attribute key of
ProductReference.qualifier attribute defined at extension catalog. |
static String |
QUANTITY
Generated constant - Attribute key of
ProductReference.quantity attribute defined at extension catalog. |
static String |
REFERENCETYPE
Generated constant - Attribute key of
ProductReference.referenceType attribute defined at extension catalog. |
static String |
SOURCE
Generated constant - Attribute key of
ProductReference.source attribute defined at extension catalog. |
static String |
SOURCEPOS
Generated constant - Attribute key of
ProductReference.sourcePOS attribute defined at extension catalog. |
static String |
TARGET
Generated constant - Attribute key of
ProductReference.target attribute defined at extension catalog. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ProductReferenceModel()
Generated constructor - Default constructor for generic creation.
|
ProductReferenceModel(Boolean _active,
Boolean _preselected,
ProductModel _source,
ProductModel _target)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductReferenceModel(Boolean _active,
ItemModel _owner,
Boolean _preselected,
ProductModel _source,
ProductModel _target)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ProductReferenceModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getActive()
Generated method - Getter of the
ProductReference.active attribute defined at extension catalog. |
String |
getDescription()
Generated method - Getter of the
ProductReference.description attribute defined at extension catalog. |
String |
getDescription(Locale loc)
Generated method - Getter of the
ProductReference.description attribute defined at extension catalog. |
MediaModel |
getIcon()
Generated method - Getter of the
ProductReference.icon attribute defined at extension catalog. |
Boolean |
getPreselected()
Generated method - Getter of the
ProductReference.preselected attribute defined at extension catalog. |
String |
getQualifier()
Generated method - Getter of the
ProductReference.qualifier attribute defined at extension catalog. |
Integer |
getQuantity()
Generated method - Getter of the
ProductReference.quantity attribute defined at extension catalog. |
ProductReferenceTypeEnum |
getReferenceType()
Generated method - Getter of the
ProductReference.referenceType attribute defined at extension catalog. |
ProductModel |
getSource()
Generated method - Getter of the
ProductReference.source attribute defined at extension catalog. |
ProductModel |
getTarget()
Generated method - Getter of the
ProductReference.target attribute defined at extension catalog. |
void |
setActive(Boolean value)
Generated method - Setter of
ProductReference.active attribute defined at extension catalog. |
void |
setDescription(String value)
Generated method - Setter of
ProductReference.description attribute defined at extension catalog. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
ProductReference.description attribute defined at extension catalog. |
void |
setIcon(MediaModel value)
Generated method - Setter of
ProductReference.icon attribute defined at extension catalog. |
void |
setPreselected(Boolean value)
Generated method - Setter of
ProductReference.preselected attribute defined at extension catalog. |
void |
setQualifier(String value)
Generated method - Setter of
ProductReference.qualifier attribute defined at extension catalog. |
void |
setQuantity(Integer value)
Generated method - Setter of
ProductReference.quantity attribute defined at extension catalog. |
void |
setReferenceType(ProductReferenceTypeEnum value)
Generated method - Setter of
ProductReference.referenceType attribute defined at extension catalog. |
void |
setSource(ProductModel value)
Generated method - Initial setter of
ProductReference.source attribute defined at extension catalog. |
void |
setTarget(ProductModel value)
Generated method - Setter of
ProductReference.target attribute defined at extension catalog. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String _PRODUCTREFERENCERELATION
ProductReferenceRelation defining source attribute source in extension catalog.public static final String QUALIFIER
ProductReference.qualifier attribute defined at extension catalog.public static final String TARGET
ProductReference.target attribute defined at extension catalog.public static final String QUANTITY
ProductReference.quantity attribute defined at extension catalog.public static final String REFERENCETYPE
ProductReference.referenceType attribute defined at extension catalog.public static final String ICON
ProductReference.icon attribute defined at extension catalog.public static final String DESCRIPTION
ProductReference.description attribute defined at extension catalog.public static final String PRESELECTED
ProductReference.preselected attribute defined at extension catalog.public static final String ACTIVE
ProductReference.active attribute defined at extension catalog.public static final String SOURCEPOS
ProductReference.sourcePOS attribute defined at extension catalog.public static final String SOURCE
ProductReference.source attribute defined at extension catalog.public ProductReferenceModel()
public ProductReferenceModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ProductReferenceModel(Boolean _active, Boolean _preselected, ProductModel _source, ProductModel _target)
_active - initial attribute declared by type ProductReference at extension catalog_preselected - initial attribute declared by type ProductReference at extension catalog_source - initial attribute declared by type ProductReference at extension catalog_target - initial attribute declared by type ProductReference at extension catalog@Deprecated public ProductReferenceModel(Boolean _active, ItemModel _owner, Boolean _preselected, ProductModel _source, ProductModel _target)
_active - initial attribute declared by type ProductReference at extension catalog_owner - initial attribute declared by type Item at extension core_preselected - initial attribute declared by type ProductReference at extension catalog_source - initial attribute declared by type ProductReference at extension catalog_target - initial attribute declared by type ProductReference at extension catalog@Accessor(qualifier="active", type=GETTER) public Boolean getActive()
ProductReference.active attribute defined at extension catalog.@Accessor(qualifier="description", type=GETTER) public String getDescription()
ProductReference.description attribute defined at extension catalog.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
ProductReference.description attribute defined at extension catalog.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="icon", type=GETTER) public MediaModel getIcon()
ProductReference.icon attribute defined at extension catalog.@Accessor(qualifier="preselected", type=GETTER) public Boolean getPreselected()
ProductReference.preselected attribute defined at extension catalog.@Accessor(qualifier="qualifier", type=GETTER) public String getQualifier()
ProductReference.qualifier attribute defined at extension catalog.@Accessor(qualifier="quantity", type=GETTER) public Integer getQuantity()
ProductReference.quantity attribute defined at extension catalog.@Accessor(qualifier="referenceType", type=GETTER) public ProductReferenceTypeEnum getReferenceType()
ProductReference.referenceType attribute defined at extension catalog.@Accessor(qualifier="source", type=GETTER) public ProductModel getSource()
ProductReference.source attribute defined at extension catalog.@Accessor(qualifier="target", type=GETTER) public ProductModel getTarget()
ProductReference.target attribute defined at extension catalog.@Accessor(qualifier="active", type=SETTER) public void setActive(Boolean value)
ProductReference.active attribute defined at extension catalog.value - the active@Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
ProductReference.description attribute defined at extension catalog.value - the description@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
ProductReference.description attribute defined at extension catalog.value - the descriptionloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="icon", type=SETTER) public void setIcon(MediaModel value)
ProductReference.icon attribute defined at extension catalog.value - the icon@Accessor(qualifier="preselected", type=SETTER) public void setPreselected(Boolean value)
ProductReference.preselected attribute defined at extension catalog.value - the preselected@Accessor(qualifier="qualifier", type=SETTER) public void setQualifier(String value)
ProductReference.qualifier attribute defined at extension catalog.value - the qualifier - Qualifier@Accessor(qualifier="quantity", type=SETTER) public void setQuantity(Integer value)
ProductReference.quantity attribute defined at extension catalog.value - the quantity - Quantity@Accessor(qualifier="referenceType", type=SETTER) public void setReferenceType(ProductReferenceTypeEnum value)
ProductReference.referenceType attribute defined at extension catalog.value - the referenceType@Accessor(qualifier="source", type=SETTER) public void setSource(ProductModel value)
ProductReference.source attribute defined at extension catalog. Can only be used at creation of model - before first save.value - the source@Accessor(qualifier="target", type=SETTER) public void setTarget(ProductModel value)
ProductReference.target attribute defined at extension catalog.value - the target - TargetCopyright © 2017 SAP SE. All Rights Reserved.