org.apache.xmlbeans.SimpleValue.setIntValue()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(7.9k)|赞(0)|评价(0)|浏览(58)

本文整理了Java中org.apache.xmlbeans.SimpleValue.setIntValue()方法的一些代码示例,展示了SimpleValue.setIntValue()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SimpleValue.setIntValue()方法的具体详情如下:
包路径:org.apache.xmlbeans.SimpleValue
类名称:SimpleValue
方法名:setIntValue

SimpleValue.setIntValue介绍

[英]Sets the value as an int.
[中]将值设置为int。

代码示例

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public void setIntValue(int v)
{
  ((SimpleValue)underlyingXmlObject()).setIntValue(v);
}

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

public void setIntValue(int v)
{
  ((SimpleValue)underlyingXmlObject()).setIntValue(v);
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

public void setIntValue(int v)
{
  ((SimpleValue)underlyingXmlObject()).setIntValue(v);
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Sets ith "value" element
 */
public void setValueArray(int i, int value)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.setIntValue(value);
  }
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Appends the value as the last "value" element
 */
public void addValue(int value)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VALUE$0);
    target.setIntValue(value);
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Inserts the value as the ith "list" element
 */
public void insertList(int i, int list)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = 
      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(LIST$0, i);
    target.setIntValue(list);
  }
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Inserts the value as the ith "value" element
 */
public void insertValue(int i, int value)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = 
      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(VALUE$0, i);
    target.setIntValue(value);
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Appends the value as the last "list" element
 */
public void addList(int list)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LIST$0);
    target.setIntValue(list);
  }
}

代码示例来源:origin: org.n52.sensorweb/52n-xml-gml-v321

/**
 * Sets the "minutes" element
 */
public void setMinutes(int minutes)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MINUTES$4, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MINUTES$4);
    }
    target.setIntValue(minutes);
  }
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Sets the "value" element
 */
public void setValue(int value)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VALUE$0);
    }
    target.setIntValue(value);
  }
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Sets the "maxMemory" element
 */
public void setMaxMemory(int maxMemory)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAXMEMORY$16, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MAXMEMORY$16);
    }
    target.setIntValue(maxMemory);
  }
}

代码示例来源:origin: org.apache.airavata/airavata-workflow-tracking

/**
 * Sets the "retryStatusCount" element
 */
public void setRetryStatusCount(int retryStatusCount)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RETRYSTATUSCOUNT$2, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RETRYSTATUSCOUNT$2);
    }
    target.setIntValue(retryStatusCount);
  }
}

代码示例来源:origin: org.wso2.bpel/ode-bpel-schemas

/**
 * Sets the "root-scope-declaration-id" element
 */
public void setRootScopeDeclarationId(int rootScopeDeclarationId)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ROOTSCOPEDECLARATIONID$60, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ROOTSCOPEDECLARATIONID$60);
    }
    target.setIntValue(rootScopeDeclarationId);
  }
}

代码示例来源:origin: org.apache.uima/uimaj-as-core

/**
 * Sets the "thresholdCount" attribute
 */
public void setThresholdCount(int thresholdCount)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(THRESHOLDCOUNT$4);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(THRESHOLDCOUNT$4);
    }
    target.setIntValue(thresholdCount);
  }
}

代码示例来源:origin: org.apache.uima/uimaj-as-core

/**
 * Sets the "numberOfInstances" attribute
 */
public void setNumberOfInstances(int numberOfInstances)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NUMBEROFINSTANCES$0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NUMBEROFINSTANCES$0);
    }
    target.setIntValue(numberOfInstances);
  }
}

代码示例来源:origin: org.apache.airavata/gsissh

/**
 * Sets the "nodes" element
 */
public void setNodes(int nodes)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NODES$32, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NODES$32);
    }
    target.setIntValue(nodes);
  }
}

代码示例来源:origin: org.duracloud/chunk

/**
 * Sets the "index" attribute
 */
public void setIndex(int index)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INDEX$6);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(INDEX$6);
    }
    target.setIntValue(index);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xml-saml2

/**
 * Sets the "AssertionConsumerServiceIndex" attribute
 */
public void setAssertionConsumerServiceIndex(int assertionConsumerServiceIndex)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ASSERTIONCONSUMERSERVICEINDEX$16);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ASSERTIONCONSUMERSERVICEINDEX$16);
    }
    target.setIntValue(assertionConsumerServiceIndex);
  }
}

代码示例来源:origin: org.n52.security/52n-security-xml-saml2

/**
 * Sets the "AttributeConsumingServiceIndex" attribute
 */
public void setAttributeConsumingServiceIndex(int attributeConsumingServiceIndex)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ATTRIBUTECONSUMINGSERVICEINDEX$20);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ATTRIBUTECONSUMINGSERVICEINDEX$20);
    }
    target.setIntValue(attributeConsumingServiceIndex);
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Sets the "precision" element
 */
public void setPrecision(int precision)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PRECISION$6, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PRECISION$6);
    }
    target.setIntValue(precision);
  }
}

相关文章

微信公众号

最新文章

更多

SimpleValue类方法