public class CountryModel extends C2LItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
_ZONECOUNTRYRELATION
Generated relation code constant for relation
ZoneCountryRelation defining source attribute zones in extension deliveryzone. |
static String |
BASESTORES
Generated constant - Attribute key of
Country.baseStores attribute defined at extension commerceservices. |
static String |
REGIONS
Generated constant - Attribute key of
Country.regions attribute defined at extension core. |
static String |
SAPCODE
Generated constant - Attribute key of
Country.sapCode attribute defined at extension sapmodel. |
static String |
ZONES
Generated constant - Attribute key of
Country.zones attribute defined at extension deliveryzone. |
ACTIVE, ISOCODE, NAME, ZONE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CountryModel()
Generated constructor - Default constructor for generic creation.
|
CountryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
CountryModel(String _isocode)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CountryModel(String _isocode,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Set<BaseStoreModel> |
getBaseStores()
Generated method - Getter of the
Country.baseStores attribute defined at extension commerceservices. |
Collection<RegionModel> |
getRegions()
Generated method - Getter of the
Country.regions attribute defined at extension core. |
String |
getSapCode()
Generated method - Getter of the
Country.sapCode attribute defined at extension sapmodel. |
Set<ZoneModel> |
getZones()
Generated method - Getter of the
Country.zones attribute defined at extension deliveryzone. |
void |
setBaseStores(Set<BaseStoreModel> value)
Generated method - Setter of
Country.baseStores attribute defined at extension commerceservices. |
void |
setRegions(Collection<RegionModel> value)
Generated method - Setter of
Country.regions attribute defined at extension core. |
void |
setSapCode(String value)
Generated method - Setter of
Country.sapCode attribute defined at extension sapmodel. |
void |
setZones(Set<ZoneModel> value)
Generated method - Setter of
Country.zones attribute defined at extension deliveryzone. |
getActive, getIsocode, getName, getName, getZone, setActive, setIsocode, setName, setName, setZonegetComments, 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 _ZONECOUNTRYRELATION
ZoneCountryRelation defining source attribute zones in extension deliveryzone.public static final String REGIONS
Country.regions attribute defined at extension core.public static final String ZONES
Country.zones attribute defined at extension deliveryzone.public static final String BASESTORES
Country.baseStores attribute defined at extension commerceservices.public static final String SAPCODE
Country.sapCode attribute defined at extension sapmodel.public CountryModel()
public CountryModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CountryModel(String _isocode)
_isocode - initial attribute declared by type Country at extension core@Deprecated public CountryModel(String _isocode, ItemModel _owner)
_isocode - initial attribute declared by type Country at extension core_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="baseStores", type=GETTER) public Set<BaseStoreModel> getBaseStores()
Country.baseStores attribute defined at extension commerceservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="regions", type=GETTER) public Collection<RegionModel> getRegions()
Country.regions attribute defined at extension core.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="sapCode", type=GETTER) public String getSapCode()
Country.sapCode attribute defined at extension sapmodel.@Accessor(qualifier="zones", type=GETTER) public Set<ZoneModel> getZones()
Country.zones attribute defined at extension deliveryzone.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(Set<BaseStoreModel> value)
Country.baseStores attribute defined at extension commerceservices.value - the baseStores@Accessor(qualifier="regions", type=SETTER) public void setRegions(Collection<RegionModel> value)
Country.regions attribute defined at extension core.value - the regions@Accessor(qualifier="sapCode", type=SETTER) public void setSapCode(String value)
Country.sapCode attribute defined at extension sapmodel.value - the sapCode - SAP Code (ERP Table T005 field LAND1)Copyright © 2017 SAP SE. All Rights Reserved.