use of de.janrufmonitor.framework.objects.AttributeMap in project janrufmonitor by tbrandt77.
the class CallerFactory method createCaller.
public ICaller createCaller(String uuid, IName name, IPhonenumber phone, IAttribute attribute) {
AttributeMap attList = new AttributeMap();
attList.add(attribute);
return createCaller(uuid, name, phone, attList);
}
use of de.janrufmonitor.framework.objects.AttributeMap in project janrufmonitor by tbrandt77.
the class GeoCoder method main.
public static void main(String[] args) {
IAttributeMap m = new AttributeMap();
m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_CITY, "Angelbachtal"));
m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_POSTAL_CODE, "74918"));
m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_STREET, "Lindenweg"));
m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_STREET_NO, "12"));
System.out.println(GeoCoder.getInstance().getCoordinates(m));
}
use of de.janrufmonitor.framework.objects.AttributeMap in project janrufmonitor by tbrandt77.
the class CallFactory method createCall.
public ICall createCall(String uuid, ICaller caller, IMsn msn, ICip cip, Date date, IAttribute attribute) {
AttributeMap attributeList = new AttributeMap();
attributeList.add(attribute);
return createCall(uuid, caller, msn, cip, date, attributeList);
}
Aggregations