public class DistrictModel extends AbstractLocationItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_CITY2DISTRICTSRELATION
Generated relation code constant for relation
City2DistrictsRelation defining source attribute city in extension chinaacceleratorservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
_ZONE2DISTRICTRELATION
Generated relation code constant for relation
Zone2DistrictRelation defining source attribute zone in extension chinaacceleratorservices. |
static String |
CITY
Generated constant - Attribute key of
District.city attribute defined at extension chinaacceleratorservices. |
static String |
CITYPOS
Generated constant - Attribute key of
District.cityPOS attribute defined at extension chinaacceleratorservices. |
static String |
ZONE
Generated constant - Attribute key of
District.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 |
|---|
DistrictModel()
Generated constructor - Default constructor for generic creation.
|
DistrictModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
DistrictModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
DistrictModel(String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
CityModel |
getCity()
Generated method - Getter of the
District.city attribute defined at extension chinaacceleratorservices. |
Collection<ZoneModel> |
getZone()
Generated method - Getter of the
District.zone attribute defined at extension chinaacceleratorservices. |
void |
setCity(CityModel value)
Generated method - Setter of
District.city attribute defined at extension chinaacceleratorservices. |
void |
setZone(Collection<ZoneModel> value)
Generated method - Setter of
District.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 _CITY2DISTRICTSRELATION
City2DistrictsRelation defining source attribute city in extension chinaacceleratorservices.public static final String _ZONE2DISTRICTRELATION
Zone2DistrictRelation defining source attribute zone in extension chinaacceleratorservices.public static final String CITYPOS
District.cityPOS attribute defined at extension chinaacceleratorservices.public static final String CITY
District.city attribute defined at extension chinaacceleratorservices.public static final String ZONE
District.zone attribute defined at extension chinaacceleratorservices.public DistrictModel()
public DistrictModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public DistrictModel(String _code)
_code - initial attribute declared by type AbstractLocationItem at extension chinaacceleratorservices@Deprecated public DistrictModel(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="city", type=GETTER) public CityModel getCity()
District.city attribute defined at extension chinaacceleratorservices.@Accessor(qualifier="zone", type=GETTER) public Collection<ZoneModel> getZone()
District.zone attribute defined at extension chinaacceleratorservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="city", type=SETTER) public void setCity(CityModel value)
District.city attribute defined at extension chinaacceleratorservices.value - the cityCopyright © 2000-2016 SAP SE. All Rights Reserved.