Codota Logo
JBPMMessages$Variable.getName
Code IndexAdd Codota to your IDE (free)

How to use
getName
method
in
org.jbpm.marshalling.impl.JBPMMessages$Variable

Best Java code snippets using org.jbpm.marshalling.impl.JBPMMessages$Variable.getName (Showing top 14 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: kiegroup/jbpm

public static Map<String, Object> unmarshallVariableContainerValue(MarshallerReaderContext context, JBPMMessages.VariableContainer _variableContiner)
    throws IOException, ClassNotFoundException {
  Map<String, Object> variables = new HashMap<String, Object>();
  if (_variableContiner.getVariableCount() == 0) {
    return variables;
  }
  
  for (Variable _variable : _variableContiner.getVariableList()) {
  
    Object value = ProtobufProcessMarshaller.unmarshallVariableValue(context, _variable);
    
    variables.put(_variable.getName(), value);
  }
  return variables;
}
origin: kiegroup/jbpm

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptor().hashCode();
 if (hasName()) {
  hash = (37 * hash) + NAME_FIELD_NUMBER;
  hash = (53 * hash) + getName().hashCode();
 }
 if (hasStrategyIndex()) {
  hash = (37 * hash) + STRATEGY_INDEX_FIELD_NUMBER;
  hash = (53 * hash) + getStrategyIndex();
 }
 if (hasValue()) {
  hash = (37 * hash) + VALUE_FIELD_NUMBER;
  hash = (53 * hash) + getValue().hashCode();
 }
 hash = (29 * hash) + unknownFields.hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: kiegroup/jbpm

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.Variable)) {
  return super.equals(obj);
 }
 org.jbpm.marshalling.impl.JBPMMessages.Variable other = (org.jbpm.marshalling.impl.JBPMMessages.Variable) obj;
 boolean result = true;
 result = result && (hasName() == other.hasName());
 if (hasName()) {
  result = result && getName()
    .equals(other.getName());
 }
 result = result && (hasStrategyIndex() == other.hasStrategyIndex());
 if (hasStrategyIndex()) {
  result = result && (getStrategyIndex()
    == other.getStrategyIndex());
 }
 result = result && (hasValue() == other.hasValue());
 if (hasValue()) {
  result = result && getValue()
    .equals(other.getValue());
 }
 result = result && unknownFields.equals(other.unknownFields);
 return result;
}
origin: kiegroup/jbpm

public static WorkItem readWorkItem(MarshallerReaderContext context,
                  JBPMMessages.WorkItem _workItem,
                  boolean includeVariables) throws IOException {
  WorkItemImpl workItem = new WorkItemImpl();
  workItem.setId( _workItem.getId() );
  workItem.setProcessInstanceId( _workItem.getProcessInstancesId() );
  workItem.setName( _workItem.getName() );
  workItem.setState( _workItem.getState() );
  workItem.setDeploymentId(_workItem.getDeploymentId());
  workItem.setNodeId(_workItem.getNodeId());
  workItem.setNodeInstanceId(_workItem.getNodeInstanceId());
  if ( includeVariables ) {
    for ( JBPMMessages.Variable _variable : _workItem.getVariableList() ) {
      try {
        Object value = unmarshallVariableValue( context, _variable );
        workItem.setParameter( _variable.getName(),
                    value );
      } catch ( ClassNotFoundException e ) {
        throw new IllegalArgumentException( "Could not reload parameter " + _variable.getName() + " for work item " + _workItem );
      }
    }
  }
  return workItem;
}
origin: kiegroup/jbpm

try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), 
                        _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
origin: kiegroup/jbpm

try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
origin: org.jbpm/jbpm-flow

public static Map<String, Object> unmarshallVariableContainerValue(MarshallerReaderContext context, JBPMMessages.VariableContainer _variableContiner)
    throws IOException, ClassNotFoundException {
  Map<String, Object> variables = new HashMap<String, Object>();
  if (_variableContiner.getVariableCount() == 0) {
    return variables;
  }
  
  for (Variable _variable : _variableContiner.getVariableList()) {
  
    Object value = ProtobufProcessMarshaller.unmarshallVariableValue(context, _variable);
    
    variables.put(_variable.getName(), value);
  }
  return variables;
}
origin: org.jbpm/jbpm-flow

@java.lang.Override
public int hashCode() {
 if (memoizedHashCode != 0) {
  return memoizedHashCode;
 }
 int hash = 41;
 hash = (19 * hash) + getDescriptor().hashCode();
 if (hasName()) {
  hash = (37 * hash) + NAME_FIELD_NUMBER;
  hash = (53 * hash) + getName().hashCode();
 }
 if (hasStrategyIndex()) {
  hash = (37 * hash) + STRATEGY_INDEX_FIELD_NUMBER;
  hash = (53 * hash) + getStrategyIndex();
 }
 if (hasValue()) {
  hash = (37 * hash) + VALUE_FIELD_NUMBER;
  hash = (53 * hash) + getValue().hashCode();
 }
 hash = (29 * hash) + unknownFields.hashCode();
 memoizedHashCode = hash;
 return hash;
}
origin: org.jbpm/jbpm-flow

public static WorkItem readWorkItem(MarshallerReaderContext context,
                  JBPMMessages.WorkItem _workItem,
                  boolean includeVariables) throws IOException {
  WorkItemImpl workItem = new WorkItemImpl();
  workItem.setId( _workItem.getId() );
  workItem.setProcessInstanceId( _workItem.getProcessInstancesId() );
  workItem.setName( _workItem.getName() );
  workItem.setState( _workItem.getState() );
  workItem.setDeploymentId(_workItem.getDeploymentId());
  workItem.setNodeId(_workItem.getNodeId());
  workItem.setNodeInstanceId(_workItem.getNodeInstanceId());
  if ( includeVariables ) {
    for ( JBPMMessages.Variable _variable : _workItem.getVariableList() ) {
      try {
        Object value = unmarshallVariableValue( context, _variable );
        workItem.setParameter( _variable.getName(),
                    value );
      } catch ( ClassNotFoundException e ) {
        throw new IllegalArgumentException( "Could not reload parameter " + _variable.getName() + " for work item " + _workItem );
      }
    }
  }
  return workItem;
}
origin: org.jbpm/jbpm-flow

@java.lang.Override
public boolean equals(final java.lang.Object obj) {
 if (obj == this) {
  return true;
 }
 if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.Variable)) {
  return super.equals(obj);
 }
 org.jbpm.marshalling.impl.JBPMMessages.Variable other = (org.jbpm.marshalling.impl.JBPMMessages.Variable) obj;
 boolean result = true;
 result = result && (hasName() == other.hasName());
 if (hasName()) {
  result = result && getName()
    .equals(other.getName());
 }
 result = result && (hasStrategyIndex() == other.hasStrategyIndex());
 if (hasStrategyIndex()) {
  result = result && (getStrategyIndex()
    == other.getStrategyIndex());
 }
 result = result && (hasValue() == other.hasValue());
 if (hasValue()) {
  result = result && getValue()
    .equals(other.getValue());
 }
 result = result && unknownFields.equals(other.unknownFields);
 return result;
}
origin: org.jbpm/jbpm-flow

try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), 
                        _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
origin: kiegroup/jbpm

/**
 * <code>optional string name = 1;</code>
 */
public Builder clearName() {
 bitField0_ = (bitField0_ & ~0x00000001);
 name_ = getDefaultInstance().getName();
 onChanged();
 return this;
}
/**
origin: org.jbpm/jbpm-flow

try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
try {
  Object _value = ProtobufProcessMarshaller.unmarshallVariableValue( context, _variable );
  variableScopeInstance.internalSetVariable( _variable.getName(), _value );
} catch ( ClassNotFoundException e ) {
  throw new IllegalArgumentException( "Could not reload variable " + _variable.getName() );
origin: org.jbpm/jbpm-flow

/**
 * <code>optional string name = 1;</code>
 */
public Builder clearName() {
 bitField0_ = (bitField0_ & ~0x00000001);
 name_ = getDefaultInstance().getName();
 onChanged();
 return this;
}
/**
org.jbpm.marshalling.implJBPMMessages$VariablegetName

Javadoc

optional string name = 1;

Popular methods of JBPMMessages$Variable

  • parseFrom
  • <init>
  • getDefaultInstance
  • getDescriptor
  • getStrategyIndex
    the actual object reference optional int32 strategy_index = 2;
  • getValue
    optional bytes value = 3;
  • hasName
    optional string name = 1;
  • hasStrategyIndex
    the actual object reference optional int32 strategy_index = 2;
  • hasValue
    optional bytes value = 3;
  • isInitialized
  • makeExtensionsImmutable
  • newBuilder
  • makeExtensionsImmutable,
  • newBuilder,
  • parseUnknownField,
  • toBuilder

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JComboBox (javax.swing)
  • JFileChooser (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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