public class CityModel extends C2LItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_REGION2CITIESRELATION
Generated relation code constant for relation
Region2CitiesRelation defining source attribute region in extension chineseaddressservices. |
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
DISTRICTS
Generated constant - Attribute key of
City.districts attribute defined at extension chineseaddressservices. |
static java.lang.String |
REGION
Generated constant - Attribute key of
City.region attribute defined at extension chineseaddressservices. |
static java.lang.String |
REGIONPOS
Generated constant - Attribute key of
City.regionPOS attribute defined at extension chineseaddressservices. |
ACTIVE, ISOCODE, NAME, ZONE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_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(java.lang.String _isocode)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CityModel(java.lang.String _isocode,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.util.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(java.util.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, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String _REGION2CITIESRELATION
Region2CitiesRelation defining source attribute region in extension chineseaddressservices.public static final java.lang.String REGIONPOS
City.regionPOS attribute defined at extension chineseaddressservices.public static final java.lang.String REGION
City.region attribute defined at extension chineseaddressservices.public static final java.lang.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(java.lang.String _isocode)
_isocode - initial attribute declared by type City at extension chineseaddressservices@Deprecated
public CityModel(java.lang.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 java.util.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(java.util.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 © 2018 SAP SE. All Rights Reserved.