Package com.linkedin.restli.common

Examples of com.linkedin.restli.common.TypeSpec


  }

  @SuppressWarnings({"unchecked", "rawtypes"}) // this is dynamic, don't have concrete classes for the TypeSpec
  private TypeSpec<?> toTypeSpec(DataSchema schema)
  {
    return new TypeSpec(toType(schema), schema.getDereferencedDataSchema());
  }
View Full Code Here


  @SuppressWarnings({"unchecked", "rawtypes"}) // this is dynamic, don't have concrete classes for the TypeSpec
  private TypeSpec<? extends RecordTemplate> toRecordTemplateType(DataSchema schema)
  {
    if(schema == null) return null;
    return new TypeSpec(_bindingResolver.resolveTemplateClass(schema), schema);
  }
View Full Code Here

TOP

Related Classes of com.linkedin.restli.common.TypeSpec

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.