Result (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.template.directive, class: Result

# Class Result

java.lang.Object
org.apache.cayenne.template.directive.Result

All Implemented Interfaces:
  `Directive`

public class Result extends Object implements Directive

Since:
  4.1

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final Result`
  `INSTANCE`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Result()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `apply(Context context, ASTExpression... expressions)`
  `protected String`
  `guessType(String type)`
  Converts "short" type notation to the fully qualified class name.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### INSTANCE

    public static final Result INSTANCE

- ## Constructor Details

  - ### Result

    public Result()

- ## Method Details

  - ### apply

    public void apply(Context context, ASTExpression... expressions)
    Specified by:
      `apply` in interface `Directive`

  - ### guessType

    protected String guessType(String type)
    Converts "short" type notation to the fully qualified class name. Right now supports all major standard SQL types, including primitives. All other types are expected to be fully qualified, and are not converted.