Package org.apache.bval.jsr.metadata
Class ContainerElementKey
- java.lang.Object
-
- org.apache.bval.jsr.metadata.ContainerElementKey
-
- All Implemented Interfaces:
Comparable<ContainerElementKey>
public class ContainerElementKey extends Object implements Comparable<ContainerElementKey>
-
-
Field Summary
Fields Modifier and Type Field Description static Comparator<ContainerElementKey>
COMPARATOR
-
Constructor Summary
Constructors Constructor Description ContainerElementKey(Class<?> containerClass, Integer typeArgumentIndex)
ContainerElementKey(AnnotatedType containerType, Integer typeArgumentIndex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ContainerElementKey o)
boolean
equals(Object obj)
static ContainerElementKey
forTypeVariable(TypeVariable<?> var)
static ContainerElementKey
forValueExtractor(jakarta.validation.valueextraction.ValueExtractor<?> extractor)
AnnotatedType
getAnnotatedType()
Set<ContainerElementKey>
getAssignableKeys()
Class<?>
getContainerClass()
Integer
getTypeArgumentIndex()
int
hashCode()
boolean
represents(TypeVariable<?> var)
String
toString()
-
-
-
Field Detail
-
COMPARATOR
public static final Comparator<ContainerElementKey> COMPARATOR
-
-
Constructor Detail
-
ContainerElementKey
public ContainerElementKey(AnnotatedType containerType, Integer typeArgumentIndex)
-
-
Method Detail
-
forValueExtractor
public static ContainerElementKey forValueExtractor(jakarta.validation.valueextraction.ValueExtractor<?> extractor)
-
forTypeVariable
public static ContainerElementKey forTypeVariable(TypeVariable<?> var)
-
getContainerClass
public Class<?> getContainerClass()
-
getTypeArgumentIndex
public Integer getTypeArgumentIndex()
-
getAnnotatedType
public AnnotatedType getAnnotatedType()
-
compareTo
public int compareTo(ContainerElementKey o)
- Specified by:
compareTo
in interfaceComparable<ContainerElementKey>
-
getAssignableKeys
public Set<ContainerElementKey> getAssignableKeys()
-
represents
public boolean represents(TypeVariable<?> var)
-
-