T
- The pojo typepublic interface PojoRawTypeModel<T> extends PojoTypeModel<T>, MappableTypeModel
PojoTypeModel
representing a raw type, fully defined by its Class
.
This excludes in particular parameterized types such as ArrayList<Integer>
,
because we cannot tell the difference between instances of such types and instances of the same type
with different parameters, such as ArrayList<String>
.
Thus the mapper would be unable to find which mapping to use when indexing such an instance,
and it would be impossible to target the index from the Class
only.
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
getAnnotationByType(Class<A> annotationType) |
Stream<? extends Annotation> |
getAnnotationsByMetaAnnotationType(Class<? extends Annotation> metaAnnotationType) |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
Stream<? extends PojoRawTypeModel<? super T>> |
getAscendingSuperTypes() |
PojoCaster<T> |
getCaster() |
Stream<PojoPropertyModel<?>> |
getDeclaredProperties() |
Stream<? extends PojoRawTypeModel<? super T>> |
getDescendingSuperTypes() |
Class<T> |
getJavaClass() |
boolean |
isSubTypeOf(Class<?> other) |
getName, getProperty, getRawType
equals, getName, hashCode, isAbstract, isSubTypeOf, toString
Stream<? extends PojoRawTypeModel<? super T>> getAscendingSuperTypes()
getAscendingSuperTypes
in interface MappableTypeModel
Stream<? extends PojoRawTypeModel<? super T>> getDescendingSuperTypes()
getDescendingSuperTypes
in interface MappableTypeModel
boolean isSubTypeOf(Class<?> other)
<A extends Annotation> Optional<A> getAnnotationByType(Class<A> annotationType)
<A extends Annotation> Stream<A> getAnnotationsByType(Class<A> annotationType)
Stream<? extends Annotation> getAnnotationsByMetaAnnotationType(Class<? extends Annotation> metaAnnotationType)
Stream<PojoPropertyModel<?>> getDeclaredProperties()
PojoCaster<T> getCaster()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.