Class DynamicProperty
- java.lang.Object
-
- org.hibernate.envers.configuration.internal.metadata.reader.DynamicProperty
-
- All Implemented Interfaces:
org.hibernate.annotations.common.reflection.XAnnotatedElement
,org.hibernate.annotations.common.reflection.XMember
,org.hibernate.annotations.common.reflection.XProperty
public class DynamicProperty extends Object implements org.hibernate.annotations.common.reflection.XProperty
This class pretends to be property but in fact it represents entry in the map (for dynamic component)
-
-
Constructor Summary
Constructors Constructor Description DynamicProperty(PersistentPropertiesSource source, String propertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Annotation>
TgetAnnotation(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>
booleanisAnnotationPresent(Class<T> annotationType)
boolean
isArray()
boolean
isCollection()
boolean
isTypeResolved()
void
setAccessible(boolean accessible)
-
-
-
Constructor Detail
-
DynamicProperty
public DynamicProperty(PersistentPropertiesSource source, String propertyName)
-
-
Method Detail
-
getDeclaringClass
public org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
- Specified by:
getDeclaringClass
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
isCollection
public boolean isCollection()
- Specified by:
isCollection
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
isArray
public boolean isArray()
- Specified by:
isArray
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getCollectionClass
public Class<? extends Collection<?>> getCollectionClass()
- Specified by:
getCollectionClass
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getType
public org.hibernate.annotations.common.reflection.XClass getType()
- Specified by:
getType
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getElementClass
public org.hibernate.annotations.common.reflection.XClass getElementClass()
- Specified by:
getElementClass
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getClassOrElementClass
public org.hibernate.annotations.common.reflection.XClass getClassOrElementClass()
- Specified by:
getClassOrElementClass
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getMapKey
public org.hibernate.annotations.common.reflection.XClass getMapKey()
- Specified by:
getMapKey
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
setAccessible
public void setAccessible(boolean accessible)
- Specified by:
setAccessible
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
invoke
public Object invoke(Object target, Object... parameters)
- Specified by:
invoke
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
invoke
public Object invoke(Object target)
- Specified by:
invoke
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
isTypeResolved
public boolean isTypeResolved()
- Specified by:
isTypeResolved
in interfaceorg.hibernate.annotations.common.reflection.XMember
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interfaceorg.hibernate.annotations.common.reflection.XAnnotatedElement
-
isAnnotationPresent
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
- Specified by:
isAnnotationPresent
in interfaceorg.hibernate.annotations.common.reflection.XAnnotatedElement
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interfaceorg.hibernate.annotations.common.reflection.XAnnotatedElement
-
-