public class CityModel extends AbstractLocationItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_REGION2CITIESRELATION
Generated relation code constant for relation
Region2CitiesRelation defining source attribute region in extension chinaacceleratorservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
_ZONE2CITYRELATION
Generated relation code constant for relation
Zone2CityRelation defining source attribute zone in extension chinaacceleratorservices. |
static String |
DISTRICTS
Generated constant - Attribute key of
City.districts attribute defined at extension chinaacceleratorservices. |
static String |
REGION
Generated constant - Attribute key of
City.region attribute defined at extension chinaacceleratorservices. |
static String |
REGIONPOS
Generated constant - Attribute key of
City.regionPOS attribute defined at extension chinaacceleratorservices. |
static String |
ZONE
Generated constant - Attribute key of
City.zone attribute defined at extension chinaacceleratorservices. |
ACTIVE, CODE, LATITUDE, LONGITUDE, NAME, SORTORDER_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 _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CityModel(String _code,
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 chinaacceleratorservices. |
RegionModel |
getRegion()
Generated method - Getter of the
City.region attribute defined at extension chinaacceleratorservices. |
Collection<ZoneModel> |
getZone()
Generated method - Getter of the
City.zone attribute defined at extension chinaacceleratorservices. |
void |
setDistricts(List<DistrictModel> value)
Generated method - Setter of
City.districts attribute defined at extension chinaacceleratorservices. |
void |
setRegion(RegionModel value)
Generated method - Setter of
City.region attribute defined at extension chinaacceleratorservices. |
void |
setZone(Collection<ZoneModel> value)
Generated method - Setter of
City.zone attribute defined at extension chinaacceleratorservices. |
getActive, getCode, getLatitude, getLongitude, getName, getName, getSortOrder, setActive, setCode, setLatitude, setLongitude, setName, setName, setSortOrdergetComments, 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 chinaacceleratorservices.public static final String _ZONE2CITYRELATION
Zone2CityRelation defining source attribute zone in extension chinaacceleratorservices.public static final String REGIONPOS
City.regionPOS attribute defined at extension chinaacceleratorservices.public static final String REGION
City.region attribute defined at extension chinaacceleratorservices.public static final String DISTRICTS
City.districts attribute defined at extension chinaacceleratorservices.public static final String ZONE
City.zone attribute defined at extension chinaacceleratorservices.public CityModel()
public CityModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CityModel(String _code)
_code - initial attribute declared by type AbstractLocationItem at extension chinaacceleratorservices@Deprecated public CityModel(String _code, ItemModel _owner)
_code - initial attribute declared by type AbstractLocationItem at extension chinaacceleratorservices_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 chinaacceleratorservices.
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 chinaacceleratorservices.@Accessor(qualifier="zone", type=GETTER) public Collection<ZoneModel> getZone()
City.zone attribute defined at extension chinaacceleratorservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="districts", type=SETTER) public void setDistricts(List<DistrictModel> value)
City.districts attribute defined at extension chinaacceleratorservices.value - the districts@Accessor(qualifier="region", type=SETTER) public void setRegion(RegionModel value)
City.region attribute defined at extension chinaacceleratorservices.value - the regionCopyright © 2000-2016 SAP SE. All Rights Reserved.