Package org.openurp.code.geo.model
Class Division
- All Implemented Interfaces:
Serializable,Comparable<Object>,org.beangle.commons.entity.Entity<Integer>,org.beangle.commons.entity.TemporalOn
@Entity(name="org.openurp.code.geo.model.Division")
public class Division
extends org.beangle.commons.entity.pojo.Code<Integer>
行政区划
- Since:
- 2010-9-7, 3.0.0
- See Also:
-
Field Summary
Fields inherited from class org.beangle.commons.entity.pojo.Code
beginOn, code, endOn, enName, name, updatedAtFields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddSubDivision(Division subDivision) booleanaddSubDivisions(Collection<? extends Division> subDivisions) voidgetTop()booleanbooleanremoveSubDivision(Division subDivision) booleanremoveSubDivisions(Collection<? extends Division> subDivisions) voidsetChildren(List<Division> subDivisions) voidMethods inherited from class org.beangle.commons.entity.pojo.Code
compareTo, getBeginOn, getCode, getEndOn, getEnName, getName, getUpdatedAt, hasExtPros, setBeginOn, setCode, setEndOn, setEnName, setName, setUpdatedAt, toStringMethods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Constructor Details
-
Division
public Division() -
Division
-
-
Method Details
-
getParent
-
getTop
-
setParent
-
hasSubDivision
public boolean hasSubDivision() -
getChildren
-
setChildren
-
addSubDivision
-
removeSubDivision
-
addSubDivisions
-
removeSubDivisions
-
clearSubDivisions
public void clearSubDivisions()
-