Package com.oracle.coherence.cdi
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.coherence.cdi.PofExtractor
PofExtractor.Extractors, PofExtractor.Literal
-
Method Summary
Modifier and TypeMethodDescriptionint[]
index()
The POF indexes to use to extract a value.static PofExtractor.Literal
of
(int... value) Create aPofExtractor.Literal
.static PofExtractor.Literal
Create aPofExtractor.Literal
.static PofExtractor.Literal
Create aPofExtractor.Literal
.path()
Returns a property path to use to extract the value.Class
<?> type()
The type being extracted.Methods inherited from class com.oracle.coherence.cdi.AnnotationLiteral
annotationType, equals, hashCode
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.annotation.Annotation
toString
-
Method Details
-
of
Create aPofExtractor.Literal
.- Parameters:
value
- the POF indexes to use to extract the value- Returns:
- a
PofExtractor.Literal
with the specified value
-
of
Create aPofExtractor.Literal
.- Parameters:
type
- the type to extract property fromvalue
- the POF indexes to use to extract the value- Returns:
- a
PofExtractor.Literal
with the specified value
-
of
Create aPofExtractor.Literal
.- Parameters:
type
- the type to extract property fromsPath
- 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
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 usingPortableTypeGenerator
.- Returns:
- a property path to use to extract the value
-
type
The type being extracted.- Returns:
- the type being extracted
-