-
- All Implemented Interfaces:
-
java.io.Serializable
public class RegionEntity implements Serializable
Desc: 区域实体类, 标准地址库4级地址(region.dat from Taobao, JD) Mail: chk19940609@gmail.com Created by IceMimosa Date: 2017/1/12
-
-
Constructor Summary
Constructors Constructor Description RegionEntity()
-
Method Summary
Modifier and Type Method Description final LonggetId()final UnitsetId(Long id)final LonggetParentId()final UnitsetParentId(Long parentId)final StringgetName()final UnitsetName(String name)final StringgetAlias()final UnitsetAlias(String alias)final RegionTypegetType()final UnitsetType(RegionType type)final StringgetZip()final UnitsetZip(String zip)final ArrayList<RegionEntity>getChildren()final UnitsetChildren(ArrayList<RegionEntity> children)final List<String>getOrderedNames()final UnitsetOrderedNames(List<String> orderedNames)final BooleanisTown()判断是否是乡镇 Booleanequals(Object other)IntegerhashCode()final BooleanequalsWithoutId(Object other)StringtoString()-
-
Method Detail
-
getParentId
final Long getParentId()
-
setParentId
final Unit setParentId(Long parentId)
-
getType
final RegionType getType()
-
setType
final Unit setType(RegionType type)
-
getChildren
final ArrayList<RegionEntity> getChildren()
-
setChildren
final Unit setChildren(ArrayList<RegionEntity> children)
-
getOrderedNames
final List<String> getOrderedNames()
-
setOrderedNames
final Unit setOrderedNames(List<String> orderedNames)
-
equalsWithoutId
final Boolean equalsWithoutId(Object other)
-
-
-
-