@Override
  public void toData(PdxWriter out) {
    out.writeInt("ID", ID);
    out.writeShort("shortID", shortID);
    out.writeString("pkid", pkid);
    out.writeObject("position1", position1);
    out.writeObject("position2", position2);
    out.writeObject("positions", positions);
    out.writeObject("collectionHolderMap", collectionHolderMap);
    out.writeString("type", type);
    out.writeString("status", status);
    out.writeStringArray("names", names);
    out.writeString("description", description);
    out.writeLong("createTime", createTime);
    // Write Position3.
    out.writeObjectArray("position3", position3);
    out.writeObject("aDay", aDay);
    // Identity Field.
    out.markIdentityField("ID");
  }
Getter for property type.S

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