*
* @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() + ")");
}
}