Class PofExtractor.Literal

java.lang.Object
com.oracle.coherence.cdi.AnnotationLiteral<PofExtractor>
com.oracle.coherence.cdi.PofExtractor.Literal
All Implemented Interfaces:
Annotation
Enclosing class:
PofExtractor

public static class PofExtractor.Literal extends AnnotationLiteral<PofExtractor> implements PofExtractor
An annotation literal for the PofExtractor annotation.
See Also:
  • Method Details

    • of

      public static PofExtractor.Literal of(int... value)
      Parameters:
      value - the POF indexes to use to extract the value
      Returns:
      a PofExtractor.Literal with the specified value
    • of

      public static PofExtractor.Literal of(Class<?> type, int... value)
      Parameters:
      type - the type to extract property from
      value - the POF indexes to use to extract the value
      Returns:
      a PofExtractor.Literal with the specified value
    • of

      public static PofExtractor.Literal of(Class<?> type, String sPath)
      Parameters:
      type - the type to extract property from
      sPath - the property path to use to extract the value
      Returns:
      a PofExtractor.Literal with the specified value
    • index

      public int[] index()
      The POF indexes to use to extract a value.
      Returns:
      the POF indexes to use to extract a value
    • path

      public String path()
      Returns a property path to use to extract the value.

      This attribute can only be used in combination with the type() attribute, and only if the specified type is annotated with a @PortableType annotation and instrumented using PortableTypeGenerator.

      Returns:
      a property path to use to extract the value
    • type

      public Class<?> type()
      The type being extracted.
      Returns:
      the type being extracted