public class RepeatableAnnotationMapping extends Object implements RepeatableMapping
RepeatableMapping的基本实现| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Annotation> |
getContainerType()
获取容器注解类型
|
Annotation[] |
getElementsFromContainer(Annotation containerAnnotation)
从容器注解中获取元素注解
|
Class<? extends Annotation> |
getElementType()
获取元素注解类型
|
boolean |
hasContainer()
当元素注解是否存在容器注解
|
public Annotation[] getElementsFromContainer(Annotation containerAnnotation)
RepeatableMappinggetElementsFromContainer 在接口中 RepeatableMappingcontainerAnnotation - 容器注解对象public Class<? extends Annotation> getElementType()
RepeatableMappinggetElementType 在接口中 RepeatableMappingpublic Class<? extends Annotation> getContainerType()
RepeatableMappinggetContainerType 在接口中 RepeatableMappingpublic boolean hasContainer()
RepeatableMappinghasContainer 在接口中 RepeatableMappingCopyright © 2022. All rights reserved.