Package org.jbpm.pvm.internal.wire.descriptor

Examples of org.jbpm.pvm.internal.wire.descriptor.LongDescriptor


  public LongBinding() {
    super("long");
  }

  protected AbstractDescriptor createDescriptor(String value, Element element, Parse parse) {
    LongDescriptor longDescriptor =  new LongDescriptor();
    Long longValue;
    try {
      longValue = new Long(value);
    } catch (NumberFormatException e) {
      parse.addProblem(createValueExceptionMessage("'"+value+"' cannot be parsed to a long", element), element);
      return null;
    }
    longDescriptor.setValue(longValue);
    return longDescriptor;
  }
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.wire.descriptor.LongDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.