@Override
  public void fromData(DataInput in) throws IOException, ClassNotFoundException {
    ID = in.readInt();
    boolean isNull = DataSerializer.readPrimitiveBoolean(in);
    if (!isNull) {
      shortID = DataSerializer.readShort(in);
    }
    pkid = DataSerializer.readString(in);

    position1 = DataSerializer.readObject(in);
    position2 = DataSerializer.readObject(in);
    positions = DataSerializer.readObject(in);
    collectionHolderMap = DataSerializer.readObject(in);
    type = DataSerializer.readString(in);
    status = DataSerializer.readString(in);
    names = DataSerializer.readStringArray(in);
    description = DataSerializer.readString(in);
    createTime = DataSerializer.readPrimitiveLong(in);
    createDate = DataSerializer.readDate(in);
    // Read Position3
    int position3Size = in.readInt();
    if (position3Size != 0) {
      position3 = new Position[position3Size];
      for (int i = 0; i < position3Size; i++) {
        position3[i] = DataSerializer.readObject(in);

      }
    }
    indexKey = in.readInt();
  }
Getter for property type.S

@return Value of property type.
geode-junit/src/main/java/org/apache/geode/cache/query/data/Portfolio.java