String password=getProperty("password");
String systemType=getProperty("systemtype");
BindType bindType=BindType.getByShortName(getProperty("bindtype"));
String ton=getProperty("bindton");
TypeOfNumber typeOfNumber=(ton==null)?TypeOfNumber.UNKNOWN:TypeOfNumber.valueOf(Byte.parseByte(ton));
String npi=getProperty("bindnpi");
NumberingPlanIndicator numberingPlanIndicator=(npi==null)?NumberingPlanIndicator.UNKNOWN:NumberingPlanIndicator.valueOf(Byte.parseByte(npi));
return new BindAttributes(systemId, password, systemType, bindType, new Address(typeOfNumber, numberingPlanIndicator));