Class DistrictModel

All Implemented Interfaces:
Serializable

public class DistrictModel extends C2LItemModel
Generated model class for type District first defined at extension chineseaddressservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _CITY2DISTRICTSRELATION

      public static final String _CITY2DISTRICTSRELATION
      Generated relation code constant for relation City2DistrictsRelation defining source attribute city in extension chineseaddressservices.
      See Also:
    • CITYPOS

      public static final String CITYPOS
      Generated constant - Attribute key of District.cityPOS attribute defined at extension chineseaddressservices.
      See Also:
    • CITY

      public static final String CITY
      Generated constant - Attribute key of District.city attribute defined at extension chineseaddressservices.
      See Also:
  • Constructor Details

    • 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(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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _isocode - initial attribute declared by type District at extension chineseaddressservices
    • DistrictModel

      @Deprecated(since="4.1.1", forRemoval=true) public DistrictModel(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
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _isocode - initial attribute declared by type District at extension chineseaddressservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCity

      @Accessor(qualifier="city", type=GETTER) public CityModel getCity()
      Generated method - Getter of the District.city attribute defined at extension chineseaddressservices.
      Returns:
      the city
    • setCity

      @Accessor(qualifier="city", type=SETTER) public void setCity(CityModel value)
      Generated method - Setter of District.city attribute defined at extension chineseaddressservices.
      Parameters:
      value - the city