return exemp.hasRightNSU();
}
public DirectoryDistrictItem getDefaultDistrict(Address address) throws ClipsException {
try {
DirectoryKladrItem street = address.getStreet();
DirectoryDistrict dir = DirectoryLocator.getDirectory(DirectoryDistrict.class);
if (street != null && street.getID() != 0) {
int id = getBean().getDefaultDistrict(street.getID(), address.getBuilding());
if (id != 0) {
return dir.getItemFromID(id);
}
}
return dir.getNullItem();