Creo™ Schematics 4.0 Help Center > Customizing Creo Schematics Using Java APIs > About Calling Java from Reports
  
About Calling Java from Reports
Calling Java From Report Columns
You can call Java from reports using Add <Label> Column in the Format report dialog box. When a Java method is called from a report, an artifact is passed as the first parameter to the method and a String is returned. Subsequent parameters specified in the method call are passed as Strings. A Java method is specified in the report in a manner that is similar to internal functions, except that curly brackets, { }, are used instead of square brackets, [ ].
Calling a Custom Java Method for Filtering Criteria
You can use a Java function as criteria for filtering report results. You can create a Java method that returns a string representing a Boolean. The first parameter in the method is either PropertySet or Artifact. Subsequent parameters specified in the method call are passed as Strings. A Java method is specified in the report in a manner that is similar to internal functions, except that curly brackets, { }, are used instead of square brackets, [ ].