Package org.jsmdr.base

Examples of org.jsmdr.base.AttributeType


    for (int i=0; i<attributeList.size(); i++) {
      AttributeBase attr = null;
      try
      {
        attr = (AttributeBase)attributeList.get(i);
        AttributeType type = AttributeType.lookup(attr.getType());
       
        if (type == AttributeType.EXTENSION_ID)
          cdr.setExtensionID(attr.getValueString(line));
        else if (type == AttributeType.DESTINATION_CLI)
          cdr.setDestinationOrCallID(attr.getValueString(line));
View Full Code Here


    for (int i=0; i<attributeList.size(); i++) {
      AttributeBase attr = null;
      try
      {
        attr = (AttributeBase)attributeList.get(i);
        AttributeType type = AttributeType.lookup(attr.getType());
       
        if (type == AttributeType.EXTENSION_ID)
          cdr.setExtensionID(attr.getValueString(lineParts));
        else if (type == AttributeType.DATE_ANSWERED)
          cdr.setDateTimeAnswered(((DateAttribute)attr).getDate(lineParts));
View Full Code Here

TOP

Related Classes of org.jsmdr.base.AttributeType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.