Codota Logo
ReturnAttribute.name
Code IndexAdd Codota to your IDE (free)

How to use
name
method
in
org.wso2.siddhi.annotation.ReturnAttribute

Best Java code snippets using org.wso2.siddhi.annotation.ReturnAttribute.name (Showing top 13 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: wso2/siddhi

  @Override
  public void returnAttributesValidation(ReturnAttribute[] returnAttributes) throws AnnotationValidationException {
    for (ReturnAttribute returnAttribute : returnAttributes) {
      String returnAttributeName = returnAttribute.name();
      //Check if the @ReturnAttributes name is empty.
      if (returnAttributeName.isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
            "@ReturnAttribute -> name annotated in class {0} is null or empty.", extensionClassFullName));
      } else if (!CAMEL_CASE_PATTERN.matcher(returnAttributeName).find()) {
        //Check if the @Extension -> @ReturnAttribute -> name is in a correct camelCase
        // format using regex pattern.
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name {0} annotated in class {1} is not in camelCase format.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes description is empty.
      if (returnAttribute.description().isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0}  -> description annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes type is empty.
      if (returnAttribute.type().length == 0) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0} -> type annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
    }
  }
}
origin: wso2/siddhi

  @Override
  public void returnAttributesValidation(ReturnAttribute[] returnAttributes) throws AnnotationValidationException {
    for (ReturnAttribute returnAttribute : returnAttributes) {
      String returnAttributeName = returnAttribute.name();
      //Check if the @ReturnAttributes name is empty.
      if (returnAttributeName.isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
            "@ReturnAttribute -> name annotated in class {0} is null or empty.", extensionClassFullName));
      } else if (!CAMEL_CASE_PATTERN.matcher(returnAttributeName).find()) {
        //Check if the @Extension -> @ReturnAttribute -> name is in a correct camelCase
        // format using regex pattern.
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name {0} annotated in class {1} is not in camelCase format.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes description is empty.
      if (returnAttribute.description().isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0}  -> description annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes type is empty.
      if (returnAttribute.type().length == 0) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0} -> type annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
    }
  }
}
origin: wso2/siddhi

String returnAttributeName = returnAttribute.name();
origin: wso2/siddhi

      "@ReturnAttribute annotated in class {0} is null or empty.", extensionClassFullName));
} else if (returnAttributes.length == 1) {
  String returnAttributeName = returnAttributes[0].name();
origin: wso2/siddhi

      "@ReturnAttribute annotated in class {0} is null or empty.", extensionClassFullName));
} else if (returnAttributes.length == 1) {
  String returnAttributeName = returnAttributes[0].name();
origin: wso2/siddhi

      "annotated in class {0} is null or empty.", extensionClassFullName));
} else if (returnAttributes.length == 1) {
  String returnAttributeName = returnAttributes[0].name();
origin: org.wso2.siddhi/siddhi-annotations

  @Override
  public void returnAttributesValidation(ReturnAttribute[] returnAttributes) throws AnnotationValidationException {
    for (ReturnAttribute returnAttribute : returnAttributes) {
      String returnAttributeName = returnAttribute.name();
      //Check if the @ReturnAttributes name is empty.
      if (returnAttributeName.isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
            "@ReturnAttribute -> name annotated in class {0} is null or empty.", extensionClassFullName));
      } else if (!CAMEL_CASE_PATTERN.matcher(returnAttributeName).find()) {
        //Check if the @Extension -> @ReturnAttribute -> name is in a correct camelCase
        // format using regex pattern.
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name {0} annotated in class {1} is not in camelCase format.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes description is empty.
      if (returnAttribute.description().isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0}  -> description annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes type is empty.
      if (returnAttribute.type().length == 0) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0} -> type annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
    }
  }
}
origin: org.wso2.siddhi/siddhi-annotations

  @Override
  public void returnAttributesValidation(ReturnAttribute[] returnAttributes) throws AnnotationValidationException {
    for (ReturnAttribute returnAttribute : returnAttributes) {
      String returnAttributeName = returnAttribute.name();
      //Check if the @ReturnAttributes name is empty.
      if (returnAttributeName.isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
            "@ReturnAttribute -> name annotated in class {0} is null or empty.", extensionClassFullName));
      } else if (!CAMEL_CASE_PATTERN.matcher(returnAttributeName).find()) {
        //Check if the @Extension -> @ReturnAttribute -> name is in a correct camelCase
        // format using regex pattern.
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name {0} annotated in class {1} is not in camelCase format.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes description is empty.
      if (returnAttribute.description().isEmpty()) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0}  -> description annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
      //Check if the @ReturnAttributes type is empty.
      if (returnAttribute.type().length == 0) {
        throw new AnnotationValidationException(MessageFormat.format("The @Extension -> " +
                "@ReturnAttribute -> name:{0} -> type annotated in class {1} is null or empty.",
            returnAttributeName, extensionClassFullName));
      }
    }
  }
}
origin: org.wso2.siddhi/siddhi-annotations

String returnAttributeName = returnAttribute.name();
origin: org.wso2.siddhi/siddhi-annotations

      "@ReturnAttribute annotated in class {0} is null or empty.", extensionClassFullName));
} else if (returnAttributes.length == 1) {
  String returnAttributeName = returnAttributes[0].name();
origin: org.wso2.siddhi/siddhi-annotations

      "annotated in class {0} is null or empty.", extensionClassFullName));
} else if (returnAttributes.length == 1) {
  String returnAttributeName = returnAttributes[0].name();
origin: org.wso2.siddhi/siddhi-annotations

      "@ReturnAttribute annotated in class {0} is null or empty.", extensionClassFullName));
} else if (returnAttributes.length == 1) {
  String returnAttributeName = returnAttributes[0].name();
origin: org.wso2.carbon.analytics/org.wso2.carbon.siddhi.editor.core

for (ReturnAttribute additionalAttribute : extensionAnnotation.returnAttributes()) {
  AttributeMetaData attributeMetaData = new AttributeMetaData();
  attributeMetaData.setName(additionalAttribute.name());
  attributeMetaData.setType(Arrays.asList(additionalAttribute.type()));
  attributeMetaData.setDescription(additionalAttribute.description());
org.wso2.siddhi.annotationReturnAttributename

Popular methods of ReturnAttribute

  • <init>
  • description
  • type

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now