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

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

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

SimpleValue.setFloatValue介绍

[英]Sets the value as a float.
[中]将该值设置为浮点数。

代码示例

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

public void setFloatValue(float v)
{
  ((SimpleValue)underlyingXmlObject()).setFloatValue(v);
}

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

public void setFloatValue(float v)
{
  ((SimpleValue)underlyingXmlObject()).setFloatValue(v);
}

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

public void setFloatValue(float v)
{
  ((SimpleValue)underlyingXmlObject()).setFloatValue(v);
}

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

/**
 * Sets ith "value" element
 */
public void setValueArray(int i, float 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.setFloatValue(value);
  }
}

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

/**
 * Sets ith "list" element
 */
public void setListArray(int i, float list)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIST$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.setFloatValue(list);
  }
}

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

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

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

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

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

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

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

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

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

/**
 * Sets the "upper" element
 */
public void setUpper(float upper)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UPPER$2, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UPPER$2);
    }
    target.setFloatValue(upper);
  }
}

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

/**
 * Sets the "value" element
 */
public void setValue(float 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.setFloatValue(value);
  }
}

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

/**
 * Sets the "value" element
 */
public void setValue(float 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.setFloatValue(value);
  }
}

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

/**
 * Sets the "assumed_value" element
 */
public void setAssumedValue(float assumedValue)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSUMEDVALUE$4, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ASSUMEDVALUE$4);
    }
    target.setFloatValue(assumedValue);
  }
}

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

/**
 * Sets the "denominator" element
 */
public void setDenominator(float denominator)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DENOMINATOR$2, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DENOMINATOR$2);
    }
    target.setFloatValue(denominator);
  }
}

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

/**
 * Sets the "accuracy" element
 */
public void setAccuracy(float accuracy)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCURACY$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACCURACY$0);
    }
    target.setFloatValue(accuracy);
  }
}

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

/**
 * Sets the "lower" element
 */
public void setLower(float lower)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOWER$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LOWER$0);
    }
    target.setFloatValue(lower);
  }
}

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

/**
 * Sets the "numerator" element
 */
public void setNumerator(float numerator)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NUMERATOR$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NUMERATOR$0);
    }
    target.setFloatValue(numerator);
  }
}

相关文章

微信公众号

最新文章

更多

SimpleValue类方法