public class RegionModel extends C2LItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_COUNTRY2REGIONRELATION
Generated relation code constant for relation
Country2RegionRelation defining source attribute country in extension core. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CITIES
Generated constant - Attribute key of
Region.cities attribute defined at extension chineseaddressservices. |
static String |
COUNTRY
Generated constant - Attribute key of
Region.country attribute defined at extension core. |
static String |
ISOCODESHORT
Generated constant - Attribute key of
Region.isocodeShort attribute defined at extension commerceservices. |
ACTIVE, ISOCODE, NAME, ZONE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
RegionModel()
Generated constructor - Default constructor for generic creation.
|
RegionModel(CountryModel _country,
String _isocode)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
RegionModel(CountryModel _country,
String _isocode,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
RegionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
List<CityModel> |
getCities()
Generated method - Getter of the
Region.cities attribute defined at extension chineseaddressservices. |
CountryModel |
getCountry()
Generated method - Getter of the
Region.country attribute defined at extension core. |
String |
getIsocodeShort()
Generated method - Getter of the
Region.isocodeShort attribute defined at extension commerceservices. |
void |
setCities(List<CityModel> value)
Generated method - Setter of
Region.cities attribute defined at extension chineseaddressservices. |
void |
setCountry(CountryModel value)
Generated method - Setter of
Region.country attribute defined at extension core. |
void |
setIsocodeShort(String value)
Generated method - Setter of
Region.isocodeShort attribute defined at extension commerceservices. |
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 _COUNTRY2REGIONRELATION
Country2RegionRelation defining source attribute country in extension core.public static final String COUNTRY
Region.country attribute defined at extension core.public static final String ISOCODESHORT
Region.isocodeShort attribute defined at extension commerceservices.public static final String CITIES
Region.cities attribute defined at extension chineseaddressservices.public RegionModel()
public RegionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public RegionModel(CountryModel _country, String _isocode)
_country - initial attribute declared by type Region at extension core_isocode - initial attribute declared by type Region at extension core@Deprecated public RegionModel(CountryModel _country, String _isocode, ItemModel _owner)
_country - initial attribute declared by type Region at extension core_isocode - initial attribute declared by type Region at extension core_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="cities", type=GETTER) public List<CityModel> getCities()
Region.cities attribute defined at extension chineseaddressservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="country", type=GETTER) public CountryModel getCountry()
Region.country attribute defined at extension core.@Accessor(qualifier="isocodeShort", type=GETTER) public String getIsocodeShort()
Region.isocodeShort attribute defined at extension commerceservices.@Accessor(qualifier="cities", type=SETTER) public void setCities(List<CityModel> value)
Region.cities attribute defined at extension chineseaddressservices.value - the cities@Accessor(qualifier="country", type=SETTER) public void setCountry(CountryModel value)
Region.country attribute defined at extension core.value - the countryCopyright © 2017 SAP SE. All Rights Reserved.