public class CityModel extends C2LItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_REGION2CITIESRELATION
Generated relation code constant for relation
Region2CitiesRelation defining source attribute region in extension chineseaddressservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
DISTRICTS
Generated constant - Attribute key of
City.districts attribute defined at extension chineseaddressservices. |
static String |
REGION
Generated constant - Attribute key of
City.region attribute defined at extension chineseaddressservices. |
static String |
REGIONPOS
Generated constant - Attribute key of
City.regionPOS attribute defined at extension chineseaddressservices. |
ACTIVE, ISOCODE, NAME, ZONE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CityModel()
Generated constructor - Default constructor for generic creation.
|
CityModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
CityModel(String _isocode)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CityModel(String _isocode,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
List<DistrictModel> |
getDistricts()
Generated method - Getter of the
City.districts attribute defined at extension chineseaddressservices. |
RegionModel |
getRegion()
Generated method - Getter of the
City.region attribute defined at extension chineseaddressservices. |
void |
setDistricts(List<DistrictModel> value)
Generated method - Setter of
City.districts attribute defined at extension chineseaddressservices. |
void |
setRegion(RegionModel value)
Generated method - Setter of
City.region attribute defined at extension chineseaddressservices. |
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 _REGION2CITIESRELATION
Region2CitiesRelation defining source attribute region in extension chineseaddressservices.public static final String REGIONPOS
City.regionPOS attribute defined at extension chineseaddressservices.public static final String REGION
City.region attribute defined at extension chineseaddressservices.public static final String DISTRICTS
City.districts attribute defined at extension chineseaddressservices.public CityModel()
public CityModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CityModel(String _isocode)
_isocode - initial attribute declared by type City at extension chineseaddressservices@Deprecated public CityModel(String _isocode, ItemModel _owner)
_isocode - initial attribute declared by type City at extension chineseaddressservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="districts", type=GETTER) public List<DistrictModel> getDistricts()
City.districts attribute defined at extension chineseaddressservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="region", type=GETTER) public RegionModel getRegion()
City.region attribute defined at extension chineseaddressservices.@Accessor(qualifier="districts", type=SETTER) public void setDistricts(List<DistrictModel> value)
City.districts attribute defined at extension chineseaddressservices.value - the districts@Accessor(qualifier="region", type=SETTER) public void setRegion(RegionModel value)
City.region attribute defined at extension chineseaddressservices.value - the regionCopyright © 2017 SAP SE. All Rights Reserved.