⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datagetset.java

📁 SIP(Session Initiation Protocol)是由IETF定义
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
   */  public String getBillingFrequencyData() throws InvalidRequestException  {    checkValidity("getBillingFrequencyData");    return getElement("billing").getAttribute("frequency");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setBillingFrequencyData(String data)     throws InvalidRequestException  {    checkValidity("setBillingFrequencyData");    getElement("billing").setAttribute("frequency", data);  }  /**   *    */  public String getBillingDirPathData() throws InvalidRequestException  {    checkValidity("getBillingDirPathData");    return getElement("billing").getAttribute("dirPath");  }  /**   *    */  public void setBillingDirPathData(String data)     throws InvalidRequestException  {    checkValidity("setBillingDirPathData");    getElement("billing").setAttribute("dirPath", data);  }  /**   *    */  public String getBillingLockFileData() throws InvalidRequestException  {    checkValidity("getBillingLockFileData");    return getElement("billing").getAttribute("lockFile");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setBillingLockFileData(String data)     throws InvalidRequestException  {    checkValidity("setBillingLockFileData");    getElement("billing").setAttribute("lockFile", data);  }  /**   *    */  public String getBillingDataFileData() throws InvalidRequestException  {    checkValidity("getBillingDataFileData");    return getElement("billing").getAttribute("dataFile");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setBillingDataFileData(String data)     throws InvalidRequestException  {    checkValidity("setBillingDataFileData");    getElement("billing").setAttribute("dataFile", data);  }  /**   *    */  public String getBillingUnsentExtensionData() throws InvalidRequestException  {    checkValidity("getBillingUnsentExtensionData");    return getElement("billing").getAttribute("unsentExtension");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setBillingUnsentExtensionData(String data)     throws InvalidRequestException  {    checkValidity("setBillingUnsentExtensionData");    getElement("billing").setAttribute("unsentExtension", data);  }  /**   *    */  public String getBillingRolloverSizeData() throws InvalidRequestException  {    checkValidity("getBillingRolloverSizeData");    return getElement("billing").getAttribute("rolloverSize");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setBillingRolloverSizeData(String data)     throws InvalidRequestException  {    checkValidity("setBillingRolloverSizeData");    getElement("billing").setAttribute("rolloverSize", data);  }  /**   *    */  public String getBillingRolloverPeriodData() throws InvalidRequestException  {    checkValidity("getBillingRolloverPeriodData");    return getElement("billing").getAttribute("rolloverPeriod");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setBillingRolloverPeriodData(String data)     throws InvalidRequestException  {    checkValidity("setBillingRolloverPeriodData");    getElement("billing").setAttribute("rolloverPeriod", data);  }  /**   *    */  public boolean getBillForRingtimeData() throws InvalidRequestException  {    checkValidity("getBillForRingtimeData");    String truth = getElement("billing").getAttribute("billForRingtime");    if (truth.equals("true"))    {      return true;    }    return false;  }  /**   *    * @param truth   *    * @throws InvalidRequestException   */  public void setBillForRingtimeData(boolean truth)     throws InvalidRequestException  {    checkValidity("setBillForRingtimeData");    if (truth)    {      getElement("billing").setAttribute("billForRingtime", "true");    }    else    {      getElement("billing").setAttribute("billForRingtime", "false");    }  }  // methods from RedirectData  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setSyncPortData(String data) throws InvalidRequestException  {    checkValidity("setSyncPortData");    setValue("syncPort", data);  }  /**   *    */  public String getSyncPortData() throws InvalidRequestException  {    checkValidity("getSyncPortData");    return getValue("syncPort");  }  // methods from PDPData  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setMaxThreadsData(String data) throws InvalidRequestException  {    checkValidity("setMaxThreadsData");    setValue("maxThreads", data);  }  /**   *    */  public String getMaxThreadsData() throws InvalidRequestException  {    checkValidity("getMaxThreadsData");    return getValue("maxThreads");  }  /**   *    */  public void setKeepAliveTimerData(String data)     throws InvalidRequestException  {    checkValidity("setKeepAliveTimerData");    setValue("keepAliveTimer", data);  }  /**   *    */  public String getKeepAliveTimerData() throws InvalidRequestException  {    checkValidity("getKeepAliveTimerData");    return getValue("keepAliveTimer");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setResponseTimeData(String data) throws InvalidRequestException  {    checkValidity("setResponseTimeData");    setValue("responseTime", data);  }  /**   *    */  public String getResponseTimeData() throws InvalidRequestException  {    checkValidity("getResponseTimeData");    return getValue("responseTime");  }  // methods from OSPData  /**   *    */  public Vector getServicePointURL() throws InvalidRequestException  {    checkValidity("getSevicePointURL");    Vector vector = new Vector();    Element element = getElement("servicePoints");    NodeList servicePoints = element.getElementsByTagName("servicePoint");    for (int i = 0; i < servicePoints.getLength(); i++)    {      Element servicePoint = (Element) servicePoints.item(i);      vector.addElement(servicePoint.getAttribute("url"));    }    return vector;  }  /**   *    * @param vector   *    * @throws InvalidRequestException   */  public void setServicePointURL(Vector vector) throws InvalidRequestException  {    checkValidity("setSevicePointURL");    Element servicePoints = getElement("servicePoints");    Node parent = servicePoints.getParentNode();    Document doc = servicePoints.getOwnerDocument();    Element newServicePoints = doc.createElement("servicePoints");    for (int i = 0; i < vector.size(); i++)    {      Element newServicePoint = doc.createElement("servicePoint");      newServicePoint.setAttribute("url", (String) vector.elementAt(i));      newServicePoints.appendChild(newServicePoint);    }    parent.replaceChild(newServicePoints, servicePoints);  }  /**   *    */  public String getLocalValidation() throws InvalidRequestException  {    checkValidity("getLocalValidation");    return getValue("localValidation");  }  /**   *    */  public void setLocalValidation(String data) throws InvalidRequestException  {    checkValidity("setLocalValidation");    setValue("localValidation", data);  }  /**   *    */  public String getSslLifetime() throws InvalidRequestException  {    checkValidity("getSslLifetime");    return getValue("sslLifetime");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setSslLifetime(String data) throws InvalidRequestException  {    checkValidity("setSslLifetime");    setValue("sslLifetime", data);  }  /**   *    */  public String getHttpMaxConnections() throws InvalidRequestException  {    checkValidity("getHttpMaxConnections");    return getValue("maxConnections");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setHttpMaxConnections(String data)     throws InvalidRequestException  {    checkValidity("setHttpMaxConnections");    setValue("maxConnections", data);  }  /**   *    */  public String getHttpPersistence() throws InvalidRequestException  {    checkValidity("getHttpPersistence");    return getValue("persistence");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setHttpPersistence(String data) throws InvalidRequestException  {    checkValidity("setHttpPersistence");    setValue("persistence", data);  }  /**   *    */  public String getHttpRetryDelay() throws InvalidRequestException  {    checkValidity("getHttpRetryDelay");    return getValue("retryDelay");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setHttpRetryDelay(String data) throws InvalidRequestException  {    checkValidity("setHttpRetryDelay");    setValue("retryDelay", data);  }  /**   *    */  public String getHttpRetryLimit() throws InvalidRequestException  {    checkValidity("getHttpRetryLimit");    return getValue("retryLimit");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setHttpRetryLimit(String data) throws InvalidRequestException  {    checkValidity("setHttpRetryLimit");    setValue("retryLimit", data);  }  /**   *    */  public String getHttpTimeout() throws InvalidRequestException  {    checkValidity("getHttpTimeout");    return getValue("timeout");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setHttpTimeout(String data) throws InvalidRequestException  {    checkValidity("setHttpTimeout");    setValue("timeout", data);  }  /**   *    */  public String getOspExtension() throws InvalidRequestException  {    checkValidity("getOspExtension");    return getValue("ospExtension");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setOspExtension(String data) throws InvalidRequestException  {    checkValidity("setOspExtension");    setValue("ospExtension", data);  }  /**   *    */  public String getCustomerID() throws InvalidRequestException  {    checkValidity("getCustomerID");    return getValue("customerID");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setCustomerID(String data) throws InvalidRequestException  {    checkValidity("setCustomerID");    setValue("customerID", data);  }  /**   *    */  public String getDeviceID() throws InvalidRequestException  {    checkValidity("getDeviceID");    return getValue("deviceID");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setDeviceID(String data) throws InvalidRequestException  {    checkValidity("setDeviceID");    setValue("deviceID", data);  }  /**   *    */  public String getAuditURL() throws InvalidRequestException  {    checkValidity("getAuditURL");    return getValue("auditURL");  }  /**   *    * @param data   *    * @throws InvalidRequestException   */  public void setAuditURL(String data) throws InvalidRequestException  {    checkValidity("setAuditURL");    setValue("auditURL", data);  }  // abstract methods  /**   *    * @param methodName   *    * @throws InvalidRequestException   */  protected abstract void checkValidity(String methodName)     throws InvalidRequestException;  /**   *    */  protected abstract void setValue(String tagName, String data);  /**   *    */  protected abstract String getValue(String tagName);  /**   *    */  protected abstract Element getElement(String tagName);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -