public class VendorModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CODE
Generated constant - Attribute key of
Vendor.code attribute defined at extension basecommerce. |
static String |
NAME
Generated constant - Attribute key of
Vendor.name attribute defined at extension basecommerce. |
static String |
WAREHOUSES
Generated constant - Attribute key of
Vendor.warehouses attribute defined at extension basecommerce. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
VendorModel()
Generated constructor - Default constructor for generic creation.
|
VendorModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
VendorModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
VendorModel(String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Generated method - Getter of the
Vendor.code attribute defined at extension basecommerce. |
String |
getName()
Generated method - Getter of the
Vendor.name attribute defined at extension basecommerce. |
String |
getName(Locale loc)
Generated method - Getter of the
Vendor.name attribute defined at extension basecommerce. |
Set<WarehouseModel> |
getWarehouses()
Generated method - Getter of the
Vendor.warehouses attribute defined at extension basecommerce. |
void |
setCode(String value)
Generated method - Initial setter of
Vendor.code attribute defined at extension basecommerce. |
void |
setName(String value)
Generated method - Setter of
Vendor.name attribute defined at extension basecommerce. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
Vendor.name attribute defined at extension basecommerce. |
void |
setWarehouses(Set<WarehouseModel> value)
Generated method - Setter of
Vendor.warehouses attribute defined at extension basecommerce. |
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 NAME
Vendor.name attribute defined at extension basecommerce.public static final String CODE
Vendor.code attribute defined at extension basecommerce.public static final String WAREHOUSES
Vendor.warehouses attribute defined at extension basecommerce.public VendorModel()
public VendorModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public VendorModel(String _code)
_code - initial attribute declared by type Vendor at extension basecommerce@Deprecated public VendorModel(String _code, ItemModel _owner)
_code - initial attribute declared by type Vendor at extension basecommerce_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="code", type=GETTER) public String getCode()
Vendor.code attribute defined at extension basecommerce.@Accessor(qualifier="name", type=GETTER) public String getName()
Vendor.name attribute defined at extension basecommerce.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
Vendor.name attribute defined at extension basecommerce.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="warehouses", type=GETTER) public Set<WarehouseModel> getWarehouses()
Vendor.warehouses attribute defined at extension basecommerce.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
Vendor.code attribute defined at extension basecommerce. Can only be used at creation of model - before first save.value - the code@Accessor(qualifier="name", type=SETTER) public void setName(String value)
Vendor.name attribute defined at extension basecommerce.value - the name@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
Vendor.name attribute defined at extension basecommerce.value - the nameloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.