exercises/java/encryption-context-start/src/main/java/sfw/example/esdkworkshop/datamodel/PointerItem.java [144:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static PointerItem fromItem(Map<String, AttributeValue> item) {
    UuidKey partitionKey = new UuidKey(item.remove(partitionKeyName()).getS());
    String sortKey = item.remove(sortKeyName()).getS();
    if (!sortKey.equals(TARGET)) {
      throw new DataModelException(
          String.format("Unexpected sortKey value (%s) for PointerItem!", sortKey));
    }
    return new PointerItem(partitionKey, item);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



exercises/java/multi-cmk-start/src/main/java/sfw/example/esdkworkshop/datamodel/PointerItem.java [144:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static PointerItem fromItem(Map<String, AttributeValue> item) {
    UuidKey partitionKey = new UuidKey(item.remove(partitionKeyName()).getS());
    String sortKey = item.remove(sortKeyName()).getS();
    if (!sortKey.equals(TARGET)) {
      throw new DataModelException(
          String.format("Unexpected sortKey value (%s) for PointerItem!", sortKey));
    }
    return new PointerItem(partitionKey, item);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



exercises/java/encryption-context-complete/src/main/java/sfw/example/esdkworkshop/datamodel/PointerItem.java [144:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static PointerItem fromItem(Map<String, AttributeValue> item) {
    UuidKey partitionKey = new UuidKey(item.remove(partitionKeyName()).getS());
    String sortKey = item.remove(sortKeyName()).getS();
    if (!sortKey.equals(TARGET)) {
      throw new DataModelException(
          String.format("Unexpected sortKey value (%s) for PointerItem!", sortKey));
    }
    return new PointerItem(partitionKey, item);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



exercises/java/add-esdk-start/src/main/java/sfw/example/esdkworkshop/datamodel/PointerItem.java [144:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static PointerItem fromItem(Map<String, AttributeValue> item) {
    UuidKey partitionKey = new UuidKey(item.remove(partitionKeyName()).getS());
    String sortKey = item.remove(sortKeyName()).getS();
    if (!sortKey.equals(TARGET)) {
      throw new DataModelException(
          String.format("Unexpected sortKey value (%s) for PointerItem!", sortKey));
    }
    return new PointerItem(partitionKey, item);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



exercises/java/multi-cmk-complete/src/main/java/sfw/example/esdkworkshop/datamodel/PointerItem.java [144:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static PointerItem fromItem(Map<String, AttributeValue> item) {
    UuidKey partitionKey = new UuidKey(item.remove(partitionKeyName()).getS());
    String sortKey = item.remove(sortKeyName()).getS();
    if (!sortKey.equals(TARGET)) {
      throw new DataModelException(
          String.format("Unexpected sortKey value (%s) for PointerItem!", sortKey));
    }
    return new PointerItem(partitionKey, item);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



exercises/java/add-esdk-complete/src/main/java/sfw/example/esdkworkshop/datamodel/PointerItem.java [144:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public static PointerItem fromItem(Map<String, AttributeValue> item) {
    UuidKey partitionKey = new UuidKey(item.remove(partitionKeyName()).getS());
    String sortKey = item.remove(sortKeyName()).getS();
    if (!sortKey.equals(TARGET)) {
      throw new DataModelException(
          String.format("Unexpected sortKey value (%s) for PointerItem!", sortKey));
    }
    return new PointerItem(partitionKey, item);
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



