Examples of deserializeFields()


Examples of com.orientechnologies.orient.core.record.impl.ODocument.deserializeFields()

      preLoadedFieldsArray = new String[preLoadedFields.size()];
      preLoadedFields.toArray(preLoadedFieldsArray);
    }

    // UNMARSHALL THE SINGLE FIELD
    if (doc.deserializeFields(preLoadedFieldsArray)) {
      final Object v = ODocumentHelper.getFieldValue(doc, name);

      collate = getCollateForField(doc, name);

      return transformValue(iRecord, iContext, v);
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ODocument.deserializeFields()

  }

  protected void checkClass() {
    // FORCE EARLY UNMARSHALLING
    final ODocument doc = getRecord();
    doc.deserializeFields();

    final OClass cls = doc.getSchemaClass();

    if (cls == null || !cls.isSubClassOf(getBaseClassName()))
      throw new IllegalArgumentException("The document received is not a " + getElementType() + ". Found class '" + cls + "'");
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ODocument.deserializeFields()

  }

  protected void checkClass() {
    // FORCE EARLY UNMARSHALLING
    final ODocument doc = getRecord();
    doc.deserializeFields();

    final OClass cls = doc.getSchemaClass();

    if (cls == null || !cls.isSubClassOf(getBaseClassName()))
      throw new IllegalArgumentException(
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.