Package com.linkedin.restli.internal.server.model

Examples of com.linkedin.restli.internal.server.model.AnnotationSet


        simpleEnumSchema,
        false,
        null,
        Parameter.ParamType.POST,
        true,
        new AnnotationSet(new Annotation[]{})));
    return enumParams;
  }
View Full Code Here


        null,
        false,
        null,
        Parameter.ParamType.CALLBACK,
        false,
        new AnnotationSet(new Annotation[]{}));
    params.add(param);
    return params;
  }
View Full Code Here

        null,
        false,
        null,
        Parameter.ParamType.PARSEQ_CONTEXT_PARAM,
        false,
        new AnnotationSet(new Annotation[]{})));
    return params;
  }
View Full Code Here

        null,
        false,
        null,
        Parameter.ParamType.PARSEQ_CONTEXT,
        false,
        new AnnotationSet(new Annotation[]{}));
    params.add(param);
    return params;
  }
View Full Code Here

        DataTemplateUtil.getSchema(MyComplexKey.class),
        false,
        null,
        Parameter.ParamType.POST,
        false,
        new AnnotationSet(new Annotation[]{}));

    List<Parameter<?>> collectionResourceParams = new ArrayList<Parameter<?>>();
    collectionResourceParams.add(new Parameter<Integer>(
        "myComplexKeyCollectionId",
        Integer.class,
        new IntegerDataSchema(),
        false,
        null,
        Parameter.ParamType.ASSOC_KEY_PARAM,
        false,
        new AnnotationSet(new Annotation[]{})));
    collectionResourceParams.add(myComplexKeyParam);

    List<Parameter<?>> simpleResourceParams = new ArrayList<Parameter<?>>();
    simpleResourceParams.add(myComplexKeyParam);

    List<Parameter<?>> associationResourceParams = new ArrayList<Parameter<?>>();
    associationResourceParams.add(new Parameter<CompoundKey>(
        "myComplexKeyAssociationId",
        CompoundKey.class,
        null,
        false,
        null,
        Parameter.ParamType.ASSOC_KEY_PARAM,
        false,
        new AnnotationSet(new Annotation[]{})));
    associationResourceParams.add(myComplexKeyParam);

    return new Object[][]
        {
            {
View Full Code Here

        List<DependencyDecl> parameterDecls = new ArrayList<DependencyDecl>(parameters.length);

        for (int i = 0; i < parameters.length; ++i)
        {
          Class<?> parameter = parameters[i];
          AnnotationSet annotations = new AnnotationSet(parameterAnnotations[i]);
          Named namedAnno = annotations.get(Named.class);

          parameterDecls.add(new DependencyDecl(parameter,
                                                namedAnno != null ? namedAnno.value() : null));
        }
View Full Code Here

TOP

Related Classes of com.linkedin.restli.internal.server.model.AnnotationSet

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.