Package com.google.feedserver.metadata

Examples of com.google.feedserver.metadata.EntityInfo



  public static List<ColumnDescription> getColumnDescriptionsFromFeedInfo(FeedInfo feedInfo)
  throws FeedServerAdapterException {
    List<ColumnDescription> columnDescriptions = new ArrayList<ColumnDescription>();
    EntityInfo entityInfo = feedInfo.getEntityInfo();
    Collection<PropertyInfo> properties = entityInfo.getProperityInfo();
    for (PropertyInfo property : properties) {
      Set<String> set = new HashSet<String>();
      if (GVizTypeConverter.isRecursiveType(
          entityInfo,
          entityInfo.getType(property.getTypeName()),
          set)) {
        throw new FeedServerAdapterException(
            FeedServerAdapterException.Reason.INVALID_INPUT,
            "recursive type " + property.getTypeName());
      }
View Full Code Here

TOP

Related Classes of com.google.feedserver.metadata.EntityInfo

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.