protected ACtxBond(Parcel in) {
    try {
      modelType = CtxModelType.valueOf(in.readString());
    } catch (IllegalArgumentException x) {
      modelType = null;
    }

    type = in.readString();

    try {
      originType = CtxBondOriginType.valueOf(in.readString());
    } catch (IllegalArgumentException x) {
      originType = null;
    }
  }
 public void writeToParcel(Parcel out, int flags) {
   out.writeString((modelType == null) ? "" : modelType.name());
   out.writeString(type);
   out.writeString((originType == null) ? "" : originType.name());
 }