public static class PofExtractor.Literal extends java.lang.Object implements PofExtractor
PofExtractor
annotation.PofExtractor.Extractors, PofExtractor.Literal| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Method returns the type of the annotation literal.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
int[] |
index()
The POF indexes to use to extract a value.
|
static PofExtractor.Literal |
of(java.lang.Class<?> type,
int... value)
Create a
PofExtractor.Extractors.Literal. |
static PofExtractor.Literal |
of(java.lang.Class<?> type,
java.lang.String path)
Create a
PofExtractor.Extractors.Literal. |
static PofExtractor.Literal |
of(int... value)
Create a
PofExtractor.Extractors.Literal. |
java.lang.String |
path()
Returns a property path to use to extract the value.
|
java.lang.Class<?> |
type()
The type being extracted.
|
public static PofExtractor.Literal of(int... value)
PofExtractor.Extractors.Literal.value - the POF indexes to use to extract the valuePofExtractor.Extractors.Literal with the specified valuepublic static PofExtractor.Literal of(java.lang.Class<?> type, int... value)
PofExtractor.Extractors.Literal.type - the type of the extracted valuevalue - the POF indexes to use to extract the valuePofExtractor.Extractors.Literal with the specified valuepublic static PofExtractor.Literal of(java.lang.Class<?> type, java.lang.String path)
PofExtractor.Extractors.Literal.type - the type of the extracted valuepath - the POF indexes to use to extract the valuePofExtractor.Extractors.Literal with the specified valuepublic int[] index()
public java.lang.String path()
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
com.tangosol.io.pof.generator.PortableTypeGenerator.
public java.lang.Class<?> type()
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
annotationType in interface java.lang.annotation.Annotationpublic boolean equals(java.lang.Object other)
equals in interface java.lang.annotation.Annotationequals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.lang.annotation.AnnotationhashCode in class java.lang.Object