Examples of Registration


Examples of at.fhj.itm.beans.Registration

    this.mockJsfUtil = null;
  }

  @Test
  public void testPhone() {
    Registration registration = new Registration();

    registration.setPhone("+436641234567");

    Assert.assertEquals(registration.getPhone(), "+436641234567");

  }
View Full Code Here

Examples of br.com.visualmidia.business.Registration

    String registrationId = String.valueOf(Integer
        .parseInt(barcodeArray[1]));
    String parcelId = String.valueOf(Integer.parseInt(barcodeArray[2]));

    try {
      Registration registration = (Registration) system
      .query(new GetRegistration(registrationId));
      if (system.getRegisterMachine() != null) {
        windowControl.openRegisterMachineControlCenter();
        new RegisterMachineParcelPayDialog(getParent().getShell(),
            registration, parcelId).open();
      } else {
        windowControl.openRegistrationControlCenter(registration
            .getStudent().getId(), registrationId);
        new RegistrationParcelPaymentDialog(getParent().getShell(),
            registrationId, parcelId).open();
      }
    } catch (Exception e) {
View Full Code Here

Examples of com.airhacks.workshops.business.registrations.entity.Registration

    public static final String CONFIRMATION_ID = "confirmation-id";

    public JsonObject register(Registration request) {
        tracer.info("registration arrived: " + request);
        Registration registration = em.merge(request);
        tracer.info("registration stored: " + request);
        registration.setCalculator(priceCalculator::calculateTotal);
        tracer.info("price computed: " + registration.getTotalPrice());
        return convert(registration);
    }
View Full Code Here

Examples of com.almende.eve.entity.Registration

      @Name("email") @Required(false) String email) throws Exception {
    // remove any existing registration
    unregister(agent, email);
   
    // create a new registration
    Registration registration = new Registration();
    registration.setDirectoryAgent(getFirstUrl());
    registration.setAgent(agent);
    registration.setType(type);
    registration.setUsername(username);
    registration.setEmail(email);
   
    // store the registration
    ObjectDatastore datastore = new AnnotationObjectDatastore();
    datastore.store(registration);
   
View Full Code Here

Examples of com.esotericsoftware.kryo.Registration

    if (registration.getType().isPrimitive()) classToRegistration.put(getWrapperClass(registration.getType()), registration);
    return registration;
  }

  public Registration registerImplicit (Class type) {
    return register(new Registration(type, kryo.getDefaultSerializer(type), NAME));
  }
View Full Code Here

Examples of com.esotericsoftware.kryo.Registration

    return register(new Registration(type, kryo.getDefaultSerializer(type), NAME));
  }

  public Registration getRegistration (Class type) {
    if (type == memoizedClass) return memoizedClassValue;
    Registration registration = classToRegistration.get(type);
    if (registration != null) {
      memoizedClass = type;
      memoizedClassValue = registration;
    }
    return registration;
View Full Code Here

Examples of com.esotericsoftware.kryo.Registration

    if (type == null) {
      if (TRACE || (DEBUG && kryo.getDepth() == 1)) log("Write", null);
      output.writeVarInt(Kryo.NULL, true);
      return null;
    }
    Registration registration = kryo.getRegistration(type);
    if (registration.getId() == NAME)
      writeName(output, type, registration);
    else {
      if (TRACE) trace("kryo", "Write class " + registration.getId() + ": " + className(type));
      output.writeVarInt(registration.getId() + 2, true);
    }
    return registration;
  }
View Full Code Here

Examples of com.esotericsoftware.kryo.Registration

      return null;
    case NAME + 2: // Offset for NAME and NULL.
      return readName(input);
    }
    if (classID == memoizedClassId) return memoizedClassIdValue;
    Registration registration = idToRegistration.get(classID - 2);
    if (registration == null) throw new KryoException("Encountered unregistered class ID: " + (classID - 2));
    if (TRACE) trace("kryo", "Read class " + (classID - 2) + ": " + className(registration.getType()));
    memoizedClassId = classID;
    memoizedClassIdValue = registration;
    return registration;
  }
View Full Code Here

Examples of com.esotericsoftware.kryo.Registration

        // The concrete type of the field is unknown, write the class first.
        if (value == null) {
          kryo.writeClass(output, null);
          return;
        }
        Registration registration = kryo.writeClass(output, value.getClass());
        if (serializer == null) serializer = registration.getSerializer();
        // if (generics != null)
        serializer.setGenerics(kryo, generics);
        kryo.writeObject(output, value, serializer);
      } else {
        // The concrete type of the field is known, always use the same serializer.
View Full Code Here

Examples of com.esotericsoftware.kryo.Registration

      Object value;

      Class concreteType = valueClass;
      Serializer serializer = this.serializer;
      if (concreteType == null) {
        Registration registration = kryo.readClass(input);
        if (registration == null)
          value = null;
        else {
          if (serializer == null) serializer = registration.getSerializer();
          // if (generics != null)
          serializer.setGenerics(kryo, generics);
          value = kryo.readObject(input, registration.getType(), serializer);
        }
      } else {
        if (serializer == null) this.serializer = serializer = kryo.getSerializer(valueClass);
        // if (generics != null)
        serializer.setGenerics(kryo, generics);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.