public class DistrictModel extends C2LItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_CITY2DISTRICTSRELATION
Generated relation code constant for relation
City2DistrictsRelation defining source attribute city in extension chineseaddressservices. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
CITY
Generated constant - Attribute key of
District.city attribute defined at extension chineseaddressservices. |
static String |
CITYPOS
Generated constant - Attribute key of
District.cityPOS 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 |
|---|
DistrictModel()
Generated constructor - Default constructor for generic creation.
|
DistrictModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
DistrictModel(String _isocode)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
DistrictModel(String _isocode,
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 chineseaddressservices. |
void |
setCity(CityModel value)
Generated method - Setter of
District.city 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 _CITY2DISTRICTSRELATION
City2DistrictsRelation defining source attribute city in extension chineseaddressservices.public static final String CITYPOS
District.cityPOS attribute defined at extension chineseaddressservices.public static final String CITY
District.city attribute defined at extension chineseaddressservices.public DistrictModel()
public DistrictModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public DistrictModel(String _isocode)
_isocode - initial attribute declared by type District at extension chineseaddressservices@Deprecated public DistrictModel(String _isocode, ItemModel _owner)
_isocode - initial attribute declared by type District at extension chineseaddressservices_owner - initial attribute declared by type Item at extension coreCopyright © 2017 SAP SE. All Rights Reserved.