public class DynamicProperty extends Object implements org.hibernate.annotations.common.reflection.XProperty
Constructor and Description |
---|
DynamicProperty(AuditedPropertiesReader.DynamicComponentSource source,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Annotation[] |
getAnnotations() |
org.hibernate.annotations.common.reflection.XClass |
getClassOrElementClass() |
Class<? extends Collection> |
getCollectionClass() |
org.hibernate.annotations.common.reflection.XClass |
getDeclaringClass() |
org.hibernate.annotations.common.reflection.XClass |
getElementClass() |
org.hibernate.annotations.common.reflection.XClass |
getMapKey() |
int |
getModifiers() |
String |
getName() |
org.hibernate.annotations.common.reflection.XClass |
getType() |
Object |
invoke(Object target) |
Object |
invoke(Object target,
Object... parameters) |
<T extends Annotation> |
isAnnotationPresent(Class<T> annotationType) |
boolean |
isArray() |
boolean |
isCollection() |
boolean |
isTypeResolved() |
void |
setAccessible(boolean accessible) |
public DynamicProperty(AuditedPropertiesReader.DynamicComponentSource source, String propertyName)
public org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
getDeclaringClass
in interface org.hibernate.annotations.common.reflection.XMember
public String getName()
getName
in interface org.hibernate.annotations.common.reflection.XMember
public boolean isCollection()
isCollection
in interface org.hibernate.annotations.common.reflection.XMember
public boolean isArray()
isArray
in interface org.hibernate.annotations.common.reflection.XMember
public Class<? extends Collection> getCollectionClass()
getCollectionClass
in interface org.hibernate.annotations.common.reflection.XMember
public org.hibernate.annotations.common.reflection.XClass getType()
getType
in interface org.hibernate.annotations.common.reflection.XMember
public org.hibernate.annotations.common.reflection.XClass getElementClass()
getElementClass
in interface org.hibernate.annotations.common.reflection.XMember
public org.hibernate.annotations.common.reflection.XClass getClassOrElementClass()
getClassOrElementClass
in interface org.hibernate.annotations.common.reflection.XMember
public org.hibernate.annotations.common.reflection.XClass getMapKey()
getMapKey
in interface org.hibernate.annotations.common.reflection.XMember
public int getModifiers()
getModifiers
in interface org.hibernate.annotations.common.reflection.XMember
public void setAccessible(boolean accessible)
setAccessible
in interface org.hibernate.annotations.common.reflection.XMember
public Object invoke(Object target, Object... parameters)
invoke
in interface org.hibernate.annotations.common.reflection.XMember
public Object invoke(Object target)
invoke
in interface org.hibernate.annotations.common.reflection.XMember
public boolean isTypeResolved()
isTypeResolved
in interface org.hibernate.annotations.common.reflection.XMember
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
isAnnotationPresent
in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface org.hibernate.annotations.common.reflection.XAnnotatedElement
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.