Package org.motechproject.mots.domain
Class Village
- java.lang.Object
-
- org.motechproject.mots.domain.BaseEntity
-
- org.motechproject.mots.domain.BaseTimestampedEntity
-
- org.motechproject.mots.domain.Location
-
- org.motechproject.mots.domain.Village
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDistrictName()java.lang.StringgetParentName()java.lang.StringgetSectorName()-
Methods inherited from class org.motechproject.mots.domain.Location
getInchargeEmail, getInchargeFullName, getInchargePhone
-
-
-
-
Constructor Detail
-
Village
public Village(java.util.UUID id)
-
Village
public Village(java.lang.String name)
-
Village
public Village(java.lang.String name, Facility facility)
-
-
Method Detail
-
getParentName
public java.lang.String getParentName()
- Specified by:
getParentNamein classLocation
-
getDistrictName
public java.lang.String getDistrictName()
- Overrides:
getDistrictNamein classLocation
-
getSectorName
public java.lang.String getSectorName()
- Overrides:
getSectorNamein classLocation
-
-