Examples of formalDefinition()


Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

  private static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations) {
    for (Annotation annotation : theAnnotations) {
      if (annotation instanceof Description) {
        Description desc = (Description) annotation;
        if (isNotBlank(desc.formalDefinition())) {
          theParameter.setDescription(desc.formalDefinition());
        } else {
          theParameter.setDescription(desc.shortDefinition());
        }
      }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

  private static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations) {
    for (Annotation annotation : theAnnotations) {
      if (annotation instanceof Description) {
        Description desc = (Description) annotation;
        if (isNotBlank(desc.formalDefinition())) {
          theParameter.setDescription(desc.formalDefinition());
        } else {
          theParameter.setDescription(desc.shortDefinition());
        }
      }
    }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

    this.myQueryName = StringUtils.defaultIfBlank(theQueryName, null);
    this.myDeclaredResourceType = (Class<? extends IResource>) theMethod.getReturnType();

    Description desc = theMethod.getAnnotation(Description.class);
    if (desc != null) {
      if (isNotBlank(desc.formalDefinition())) {
        myDescription = StringUtils.defaultIfBlank(desc.formalDefinition(), null);
      } else {
        myDescription = StringUtils.defaultIfBlank(desc.shortDefinition(), null);
      }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

    this.myDeclaredResourceType = (Class<? extends IResource>) theMethod.getReturnType();

    Description desc = theMethod.getAnnotation(Description.class);
    if (desc != null) {
      if (isNotBlank(desc.formalDefinition())) {
        myDescription = StringUtils.defaultIfBlank(desc.formalDefinition(), null);
      } else {
        myDescription = StringUtils.defaultIfBlank(desc.shortDefinition(), null);
      }

    }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

    this.myDeclaredResourceType = (Class<? extends IResource>) theMethod.getReturnType();
    this.myIdParamIndex = MethodUtil.findIdParameterIndex(theMethod);

    Description desc = theMethod.getAnnotation(Description.class);
    if (desc != null) {
      if (isNotBlank(desc.formalDefinition())) {
        myDescription = StringUtils.defaultIfBlank(desc.formalDefinition(), null);
      } else {
        myDescription = StringUtils.defaultIfBlank(desc.shortDefinition(), null);
      }
    }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

    this.myIdParamIndex = MethodUtil.findIdParameterIndex(theMethod);

    Description desc = theMethod.getAnnotation(Description.class);
    if (desc != null) {
      if (isNotBlank(desc.formalDefinition())) {
        myDescription = StringUtils.defaultIfBlank(desc.formalDefinition(), null);
      } else {
        myDescription = StringUtils.defaultIfBlank(desc.shortDefinition(), null);
      }
    }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

  public static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations) {
    for (Annotation annotation : theAnnotations) {
      if (annotation instanceof Description) {
        Description desc = (Description) annotation;
        if (isNotBlank(desc.formalDefinition())) {
          theParameter.setDescription(desc.formalDefinition());
        } else {
          theParameter.setDescription(desc.shortDefinition());
        }
      }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

  public static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations) {
    for (Annotation annotation : theAnnotations) {
      if (annotation instanceof Description) {
        Description desc = (Description) annotation;
        if (isNotBlank(desc.formalDefinition())) {
          theParameter.setDescription(desc.formalDefinition());
        } else {
          theParameter.setDescription(desc.shortDefinition());
        }
      }
    }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

  private static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations) {
    for (Annotation annotation : theAnnotations) {
      if (annotation instanceof Description) {
        Description desc = (Description) annotation;
        if (isNotBlank(desc.formalDefinition())) {
          theParameter.setDescription(desc.formalDefinition());
        } else {
          theParameter.setDescription(desc.shortDefinition());
        }
      }
View Full Code Here

Examples of ca.uhn.fhir.model.api.annotation.Description.formalDefinition()

  private static void extractDescription(SearchParameter theParameter, Annotation[] theAnnotations) {
    for (Annotation annotation : theAnnotations) {
      if (annotation instanceof Description) {
        Description desc = (Description) annotation;
        if (isNotBlank(desc.formalDefinition())) {
          theParameter.setDescription(desc.formalDefinition());
        } else {
          theParameter.setDescription(desc.shortDefinition());
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.