Package org.yaac.shared.egql

Examples of org.yaac.shared.egql.ResultCell$ResultCellFactory


    return "BooleanPropertyInfo [payload=" + payload + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.BOOL);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(payload.toString()));
    return cell;
  }
View Full Code Here


    return "IMHandlePropertyInfo [protocol=" + protocol + ", address=" + address + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.IM_HANDLE);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(protocol, address));
    return cell;
  }
View Full Code Here

    return "PhoneNumberPropertyInfo [payload=" + payload + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.PHONE_NO);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(payload));
    return cell;
  }
View Full Code Here

        + keyString + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.KEY);
    cell.setParent(this.parent == null ? null : this.parent.populateResultCell(factory));
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(kind, name, id.toString(), keyString));
    return cell;
  }
View Full Code Here

    return "PostalAddressPropertyInfo [payload=" + payload + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.POSTTAL_ADDRESS);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(payload));
    return cell;
  }
View Full Code Here

        + federatedIdentity + ", userId=" + userId + ", nickname=" + nickname + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.USER);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(authDomain, email, federatedIdentity, userId, nickname));
    return cell;
  }
View Full Code Here

    return "DatePropertyInfo [payload=" + payload + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.TIMESTAMP);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(Long.valueOf(payload.getTime()).toString()));
    return cell;
  }
View Full Code Here

    return "CategoryPropertyInfo [payload=" + payload + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.CATEGORY);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(payload));
    return cell;
  }
View Full Code Here

    return "LinkPropertyInfo [payload=" + payload + "]";
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.LINK);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(payload));
    return cell;
  }
View Full Code Here

    return true;
  }

  @Override
  public ResultCell populateResultCell(ResultCellFactory factory) {
    ResultCell cell = super.populateResultCell(factory);
    cell.setType(PropertyType.BLOB_KEY);
    cell.setParent(null);
    cell.setChildren(null);
    cell.setPayload(Arrays.asList(blobKey));
    return cell;
  }
View Full Code Here

TOP

Related Classes of org.yaac.shared.egql.ResultCell$ResultCellFactory

Copyright © 2018 www.massapicom. 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.