Examples of fromData()


Examples of com.gemstone.gemfire.pdx.PdxSerializer.fromData()

        }
       
        PdxSerializer customSerializer = getCustomSerializer(persistentProperty.getType());
        Object value = null;
        if (customSerializer != null) {
          value = customSerializer.fromData(persistentProperty.getType(), reader);
        } else {
          value = reader.readField(persistentProperty.getName());
        }
        try {
          wrapper.setProperty(persistentProperty, value);
View Full Code Here

Examples of forestry.core.network.ClassMap.fromData()

      ClassMap.classMappers.put(this.getClass(), new ClassMap(this.getClass()));

    ClassMap classmap = ClassMap.classMappers.get(this.getClass());

    try {
      classmap.fromData(this, payload.intPayload, payload.floatPayload, payload.stringPayload, new IndexInPayload(0, 0, 0));
    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }
View Full Code Here

Examples of forestry.core.network.ClassMap.fromData()

      ClassMap.classMappers.put(this.getClass(), new ClassMap(this.getClass()));

    ClassMap classmap = ClassMap.classMappers.get(this.getClass());

    try {
      classmap.fromData(this, payload.intPayload, payload.floatPayload, payload.stringPayload, new IndexInPayload(0, 0, 0));
    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }
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.