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

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

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

SimpleValue.setLongValue介绍

[英]Sets the value as a long.
[中]将值设置为long。

代码示例

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

public void setLongValue(long v)
{
  ((SimpleValue)underlyingXmlObject()).setLongValue(v);
}

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

public void setLongValue(long v)
{
  ((SimpleValue)underlyingXmlObject()).setLongValue(v);
}

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

public void setLongValue(long v)
{
  ((SimpleValue)underlyingXmlObject()).setLongValue(v);
}

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

/**
 * Sets ith "iid" element
 */
public void setIidArray(int i, long iid)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IID$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.setLongValue(iid);
  }
}

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

/**
 * Sets ith "upgradeInstance" element
 */
public void setUpgradeInstanceArray(int i, long upgradeInstance)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(UPGRADEINSTANCE$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.setLongValue(upgradeInstance);
  }
}

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

/**
 * Sets ith "replaceInstance" element
 */
public void setReplaceInstanceArray(int i, long replaceInstance)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REPLACEINSTANCE$2, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    target.setLongValue(replaceInstance);
  }
}

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

/**
 * Appends the value as the last "replaceInstance" element
 */
public void addReplaceInstance(long replaceInstance)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REPLACEINSTANCE$2);
    target.setLongValue(replaceInstance);
  }
}

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

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

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

/**
 * Appends the value as the last "upgradeInstance" element
 */
public void addUpgradeInstance(long upgradeInstance)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(UPGRADEINSTANCE$0);
    target.setLongValue(upgradeInstance);
  }
}

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

/**
 * Inserts the value as the ith "replaceInstance" element
 */
public void insertReplaceInstance(int i, long replaceInstance)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = 
      (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(REPLACEINSTANCE$2, i);
    target.setLongValue(replaceInstance);
  }
}

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

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

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

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

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

/**
 * Appends the value as the last "iid" element
 */
public void addIid(long iid)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(IID$0);
    target.setLongValue(iid);
  }
}

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

/**
 * Appends the value as the last "restoredIID" element
 */
public void addRestoredIID(long restoredIID)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESTOREDIID$0);
    target.setLongValue(restoredIID);
  }
}

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

/**
 * Sets the "parent-scope-id" element
 */
public void setParentScopeId(long parentScopeId)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PARENTSCOPEID$16, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PARENTSCOPEID$16);
    }
    target.setLongValue(parentScopeId);
  }
}

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

/**
 * Sets the "byteSize" element
 */
public void setByteSize(long byteSize)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BYTESIZE$2, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BYTESIZE$2);
    }
    target.setLongValue(byteSize);
  }
}

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

/**
 * Sets the "root-scope-id" element
 */
public void setRootScopeId(long rootScopeId)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ROOTSCOPEID$58, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ROOTSCOPEID$58);
    }
    target.setLongValue(rootScopeId);
  }
}

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

/**
 * Sets the "magnitude" element
 */
public void setMagnitude(long magnitude)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MAGNITUDE$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MAGNITUDE$0);
    }
    target.setLongValue(magnitude);
  }
}

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

/**
 * Sets the "version" element
 */
public void setVersion(long version)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$4, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSION$4);
    }
    target.setLongValue(version);
  }
}

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

/**
 * Sets the "durationInMillis" element
 */
public void setDurationInMillis(long durationInMillis)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DURATIONINMILLIS$0, 0);
    if (target == null)
    {
      target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DURATIONINMILLIS$0);
    }
    target.setLongValue(durationInMillis);
  }
}

相关文章

微信公众号

最新文章

更多

SimpleValue类方法