Search in sources :

Example 1 with AttributeMap

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);
}
Also used : AttributeMap(de.janrufmonitor.framework.objects.AttributeMap)

Example 2 with AttributeMap

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));
}
Also used : IAttributeMap(de.janrufmonitor.framework.IAttributeMap) AttributeMap(de.janrufmonitor.framework.objects.AttributeMap) Attribute(de.janrufmonitor.framework.objects.Attribute) IAttributeMap(de.janrufmonitor.framework.IAttributeMap)

Example 3 with AttributeMap

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);
}
Also used : AttributeMap(de.janrufmonitor.framework.objects.AttributeMap)

Aggregations

AttributeMap (de.janrufmonitor.framework.objects.AttributeMap)3 IAttributeMap (de.janrufmonitor.framework.IAttributeMap)1 Attribute (de.janrufmonitor.framework.objects.Attribute)1