Class DistrictModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.c2l.C2LItemModel
-
- de.hybris.platform.addressservices.model.DistrictModel
-
- All Implemented Interfaces:
java.io.Serializable
public class DistrictModel extends C2LItemModel
Generated model class for type District first defined at extension chineseaddressservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CITY2DISTRICTSRELATIONGenerated relation code constant for relationCity2DistrictsRelationdefining source attributecityin extensionchineseaddressservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCITYGenerated constant - Attribute key ofDistrict.cityattribute defined at extensionchineseaddressservices.static java.lang.StringCITYPOSGenerated constant - Attribute key ofDistrict.cityPOSattribute defined at extensionchineseaddressservices.-
Fields inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
ACTIVE, ISOCODE, NAME, ZONE
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description DistrictModel()Generated constructor - Default constructor for generic creation.DistrictModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextDistrictModel(java.lang.String _isocode)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDistrictModel(java.lang.String _isocode, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CityModelgetCity()Generated method - Getter of theDistrict.cityattribute defined at extensionchineseaddressservices.voidsetCity(CityModel value)Generated method - Setter ofDistrict.cityattribute defined at extensionchineseaddressservices.-
Methods inherited from class de.hybris.platform.core.model.c2l.C2LItemModel
getActive, getIsocode, getName, getName, getZone, setActive, setIsocode, setName, setName, setZone
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_CITY2DISTRICTSRELATION
public static final java.lang.String _CITY2DISTRICTSRELATION
Generated relation code constant for relationCity2DistrictsRelationdefining source attributecityin extensionchineseaddressservices.- See Also:
- Constant Field Values
-
CITYPOS
public static final java.lang.String CITYPOS
Generated constant - Attribute key ofDistrict.cityPOSattribute defined at extensionchineseaddressservices.- See Also:
- Constant Field Values
-
CITY
public static final java.lang.String CITY
Generated constant - Attribute key ofDistrict.cityattribute defined at extensionchineseaddressservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DistrictModel
public DistrictModel()
Generated constructor - Default constructor for generic creation.
-
DistrictModel
public DistrictModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
DistrictModel
@Deprecated(since="4.1.1", forRemoval=true) public DistrictModel(java.lang.String _isocode)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_isocode- initial attribute declared by typeDistrictat extensionchineseaddressservices
-
DistrictModel
@Deprecated(since="4.1.1", forRemoval=true) public DistrictModel(java.lang.String _isocode, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_isocode- initial attribute declared by typeDistrictat extensionchineseaddressservices_owner- initial attribute declared by typeItemat extensioncore
-
-