Codota Logo
ValueFields.setLongValue
Code IndexAdd Codota to your IDE (free)

How to use
setLongValue
method
in
org.camunda.bpm.engine.impl.variable.serializer.ValueFields

Best Java code snippets using org.camunda.bpm.engine.impl.variable.serializer.ValueFields.setLongValue (Showing top 15 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: camunda/camunda-bpm-platform

public void writeValue(DateValue typedValue, ValueFields valueFields) {
 Date dateValue = typedValue.getValue();
 if (dateValue != null) {
  valueFields.setLongValue(dateValue.getTime());
 } else {
  valueFields.setLongValue(null);
 }
}
origin: camunda/camunda-bpm-platform

public void writeValue(DateValue typedValue, ValueFields valueFields) {
 Date dateValue = typedValue.getValue();
 if (dateValue != null) {
  valueFields.setLongValue(dateValue.getTime());
 } else {
  valueFields.setLongValue(null);
 }
}
origin: camunda/camunda-bpm-platform

public void writeValue(BooleanValue variableValue, ValueFields valueFields) {
 Long longValue = null;
 Boolean boolValue = variableValue.getValue();
 if(boolValue != null) {
  longValue = boolValue ? TRUE : FALSE;
 }
 valueFields.setLongValue(longValue);
}
origin: camunda/camunda-bpm-platform

public void writeValue(BooleanValue variableValue, ValueFields valueFields) {
 Long longValue = null;
 Boolean boolValue = variableValue.getValue();
 if(boolValue != null) {
  longValue = boolValue ? TRUE : FALSE;
 }
 valueFields.setLongValue(longValue);
}
origin: camunda/camunda-bpm-platform

public void writeValue(IntegerValue variableValue, ValueFields valueFields) {
 Integer value = variableValue.getValue();
 if (value!=null) {
  valueFields.setLongValue(((Integer) value).longValue());
  valueFields.setTextValue(value.toString());
 } else {
  valueFields.setLongValue(null);
  valueFields.setTextValue(null);
 }
}
origin: camunda/camunda-bpm-platform

public void writeValue(IntegerValue variableValue, ValueFields valueFields) {
 Integer value = variableValue.getValue();
 if (value!=null) {
  valueFields.setLongValue(((Integer) value).longValue());
  valueFields.setTextValue(value.toString());
 } else {
  valueFields.setLongValue(null);
  valueFields.setTextValue(null);
 }
}
origin: camunda/camunda-bpm-platform

public void writeValue(ShortValue value, ValueFields valueFields) {
 Short shortValue = value.getValue();
 if (shortValue != null) {
  valueFields.setLongValue(shortValue.longValue());
  valueFields.setTextValue(value.toString());
 } else {
  valueFields.setLongValue(null);
  valueFields.setTextValue(null);
 }
}
origin: camunda/camunda-bpm-platform

public void writeValue(ShortValue value, ValueFields valueFields) {
 Short shortValue = value.getValue();
 if (shortValue != null) {
  valueFields.setLongValue(shortValue.longValue());
  valueFields.setTextValue(value.toString());
 } else {
  valueFields.setLongValue(null);
  valueFields.setTextValue(null);
 }
}
origin: camunda/camunda-bpm-platform

public void writeValue(LongValue value, ValueFields valueFields) {
 final Long longValue = value.getValue();
 valueFields.setLongValue(longValue);
 if (longValue!=null) {
  valueFields.setTextValue(longValue.toString());
 }
 else {
  valueFields.setTextValue(null);
 }
}
origin: camunda/camunda-bpm-platform

public void writeValue(LongValue value, ValueFields valueFields) {
 final Long longValue = value.getValue();
 valueFields.setLongValue(longValue);
 if (longValue!=null) {
  valueFields.setTextValue(longValue.toString());
 }
 else {
  valueFields.setTextValue(null);
 }
}
origin: org.camunda.bpm/camunda-engine

public void writeValue(DateValue typedValue, ValueFields valueFields) {
 Date dateValue = typedValue.getValue();
 if (dateValue != null) {
  valueFields.setLongValue(dateValue.getTime());
 } else {
  valueFields.setLongValue(null);
 }
}
origin: org.camunda.bpm/camunda-engine

public void writeValue(BooleanValue variableValue, ValueFields valueFields) {
 Long longValue = null;
 Boolean boolValue = variableValue.getValue();
 if(boolValue != null) {
  longValue = boolValue ? TRUE : FALSE;
 }
 valueFields.setLongValue(longValue);
}
origin: org.camunda.bpm/camunda-engine

public void writeValue(IntegerValue variableValue, ValueFields valueFields) {
 Integer value = variableValue.getValue();
 if (value!=null) {
  valueFields.setLongValue(((Integer) value).longValue());
  valueFields.setTextValue(value.toString());
 } else {
  valueFields.setLongValue(null);
  valueFields.setTextValue(null);
 }
}
origin: org.camunda.bpm/camunda-engine

public void writeValue(ShortValue value, ValueFields valueFields) {
 Short shortValue = value.getValue();
 if (shortValue != null) {
  valueFields.setLongValue(shortValue.longValue());
  valueFields.setTextValue(value.toString());
 } else {
  valueFields.setLongValue(null);
  valueFields.setTextValue(null);
 }
}
origin: org.camunda.bpm/camunda-engine

public void writeValue(LongValue value, ValueFields valueFields) {
 final Long longValue = value.getValue();
 valueFields.setLongValue(longValue);
 if (longValue!=null) {
  valueFields.setTextValue(longValue.toString());
 }
 else {
  valueFields.setTextValue(null);
 }
}
org.camunda.bpm.engine.impl.variable.serializerValueFieldssetLongValue

Popular methods of ValueFields

  • getByteArrayValue
  • getTextValue
  • getTextValue2
  • setByteArrayValue
  • getDoubleValue
  • getLongValue
  • getName
  • setDoubleValue
  • setTextValue
  • setTextValue2

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now