Package com.google.api.gbase.client

Examples of com.google.api.gbase.client.ItemTypeDescription


   *
   * @param entry a Google Base data API itemtype entry
   */
  private static void printItemTypeEntry(GoogleBaseEntry entry) {
    MetadataEntryExtension metadata = entry.getGoogleBaseMetadata();
    ItemTypeDescription itemTypeDescription = metadata.getItemTypeDescription();
    System.out.println(itemTypeDescription.getName() + " - " + entry.getId());
    for (GoogleBaseAttributeId attrId : itemTypeDescription.getAttributeIds()) {
      System.out.println(attrId.getName() +
          " (" + attrId.getType().getName() + ")");
    }
  }
View Full Code Here

TOP

Related Classes of com.google.api.gbase.client.ItemTypeDescription

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.