Tabnine Logo
AbstractTypedValue
Code IndexAdd Tabnine to your IDE (free)

How to use
AbstractTypedValue
in
org.camunda.bpm.engine.variable.impl.value

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

origin: camunda/camunda-bpm-platform

@Override
public SerializableValueType getType() {
 return (SerializableValueType) super.getType();
}
origin: camunda/camunda-bpm-platform

@Override
public Object getValue() {
 if(isDeserialized) {
  return super.getValue();
 }
 else {
  throw new IllegalStateException("Object is not deserialized.");
 }
}
origin: camunda/camunda-bpm-platform

@Override
public TypedValueBuilder<T> setTransient(boolean isTransient) {
 ((AbstractTypedValue<?>) variableValue).setTransient(isTransient);
 return this;
}
origin: org.camunda.bpm.extension.mockito/camunda-bpm-mockito

public DelegateCaseVariableInstanceFake withValue(Object value) {
 return withValue(new AbstractTypedValue<>(value, null));
}
origin: camunda/camunda-bpm-platform

@Override
public PrimitiveValueType getType() {
 return (PrimitiveValueType) super.getType();
}
origin: camunda/camunda-bpm-platform

/**
 * Creates an untyped value, i.e. {@link TypedValue#getType()} returns <code>null</code>
 * for the returned instance.
 */
public static TypedValue untypedValue(Object value, boolean isTransient) {
 if(value == null) {
  return untypedNullValue(isTransient);
 } else if (value instanceof TypedValueBuilder<?>) {
  return ((TypedValueBuilder<?>) value).setTransient(isTransient).create();
 } else if (value instanceof TypedValue) {
  TypedValue transientValue = (TypedValue) value;
  if (value instanceof NullValueImpl) {
   transientValue = untypedNullValue(isTransient);
  } else if (value instanceof FileValue) {
   ((FileValueImpl) transientValue).setTransient(isTransient);
  } else if (value instanceof AbstractTypedValue<?>) {
   ((AbstractTypedValue<?>) transientValue).setTransient(isTransient);
  }
  return transientValue;
 }
 else {
  // unknown value
  return new UntypedValueImpl(value, isTransient);
 }
}
origin: camunda/camunda-bpm-platform

public Spin<?> getValue() {
 if(isDeserialized) {
  return super.getValue();
 }
 else {
  // deserialize the serialized value by using
  // the given data format
  value = S(getValueSerialized(), getSerializationDataFormat());
  isDeserialized = true;
  setValueSerialized(null);
  return value;
 }
}
origin: camunda/camunda-bpm-platform

public SpinValueType getType() {
 return (SpinValueType) super.getType();
}
origin: org.camunda.bpm/camunda-engine-plugin-spin

@Override
public TypedValueBuilder<T> setTransient(boolean isTransient) {
 ((AbstractTypedValue<?>) variableValue).setTransient(isTransient);
 return this;
}
origin: org.camunda.commons/camunda-commons-typed-values

@Override
public Object getValue() {
 if(isDeserialized) {
  return super.getValue();
 }
 else {
  throw new IllegalStateException("Object is not deserialized.");
 }
}
origin: org.camunda.commons/camunda-commons-typed-values

@Override
public PrimitiveValueType getType() {
 return (PrimitiveValueType) super.getType();
}
origin: org.camunda.commons/camunda-commons-typed-values

/**
 * Creates an untyped value, i.e. {@link TypedValue#getType()} returns <code>null</code>
 * for the returned instance.
 */
public static TypedValue untypedValue(Object value, boolean isTransient) {
 if(value == null) {
  return untypedNullValue(isTransient);
 } else if (value instanceof TypedValueBuilder<?>) {
  return ((TypedValueBuilder<?>) value).setTransient(isTransient).create();
 } else if (value instanceof TypedValue) {
  TypedValue transientValue = (TypedValue) value;
  if (value instanceof NullValueImpl) {
   transientValue = untypedNullValue(isTransient);
  } else if (value instanceof FileValue) {
   ((FileValueImpl) transientValue).setTransient(isTransient);
  } else if (value instanceof AbstractTypedValue<?>) {
   ((AbstractTypedValue<?>) transientValue).setTransient(isTransient);
  }
  return transientValue;
 }
 else {
  // unknown value
  return new UntypedValueImpl(value, isTransient);
 }
}
origin: org.camunda.bpm/camunda-engine-plugin-spin

public Spin<?> getValue() {
 if(isDeserialized) {
  return super.getValue();
 }
 else {
  // deserialize the serialized value by using
  // the given data format
  value = S(getValueSerialized(), getSerializationDataFormat());
  isDeserialized = true;
  setValueSerialized(null);
  return value;
 }
}
origin: org.camunda.commons/camunda-commons-typed-values

@Override
public SerializableValueType getType() {
 return (SerializableValueType) super.getType();
}
origin: org.camunda.bpm/camunda-engine-plugin-spin

public SpinValueType getType() {
 return (SpinValueType) super.getType();
}
org.camunda.bpm.engine.variable.impl.valueAbstractTypedValue

Most used methods

  • getType
  • getValue
  • setTransient
  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now