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.XClassgetClassOrElementClass()Class<? extends Collection<?>>getCollectionClass()org.hibernate.annotations.common.reflection.XClassgetDeclaringClass()org.hibernate.annotations.common.reflection.XClassgetElementClass()org.hibernate.annotations.common.reflection.XClassgetMapKey()intgetModifiers()StringgetName()org.hibernate.annotations.common.reflection.XClassgetType()Objectinvoke(Object target)Objectinvoke(Object target, Object... parameters)<T extends Annotation>
booleanisAnnotationPresent(Class<T> annotationType)booleanisArray()booleanisCollection()booleanisTypeResolved()voidsetAccessible(boolean accessible)
-
-
-
Constructor Detail
-
DynamicProperty
public DynamicProperty(PersistentPropertiesSource source, String propertyName)
-
-
Method Detail
-
getDeclaringClass
public org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
- Specified by:
getDeclaringClassin interfaceorg.hibernate.annotations.common.reflection.XMember
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.hibernate.annotations.common.reflection.XMember
-
isCollection
public boolean isCollection()
- Specified by:
isCollectionin interfaceorg.hibernate.annotations.common.reflection.XMember
-
isArray
public boolean isArray()
- Specified by:
isArrayin interfaceorg.hibernate.annotations.common.reflection.XMember
-
getCollectionClass
public Class<? extends Collection<?>> getCollectionClass()
- Specified by:
getCollectionClassin interfaceorg.hibernate.annotations.common.reflection.XMember
-
getType
public org.hibernate.annotations.common.reflection.XClass getType()
- Specified by:
getTypein interfaceorg.hibernate.annotations.common.reflection.XMember
-
getElementClass
public org.hibernate.annotations.common.reflection.XClass getElementClass()
- Specified by:
getElementClassin interfaceorg.hibernate.annotations.common.reflection.XMember
-
getClassOrElementClass
public org.hibernate.annotations.common.reflection.XClass getClassOrElementClass()
- Specified by:
getClassOrElementClassin interfaceorg.hibernate.annotations.common.reflection.XMember
-
getMapKey
public org.hibernate.annotations.common.reflection.XClass getMapKey()
- Specified by:
getMapKeyin interfaceorg.hibernate.annotations.common.reflection.XMember
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceorg.hibernate.annotations.common.reflection.XMember
-
setAccessible
public void setAccessible(boolean accessible)
- Specified by:
setAccessiblein interfaceorg.hibernate.annotations.common.reflection.XMember
-
invoke
public Object invoke(Object target, Object... parameters)
- Specified by:
invokein interfaceorg.hibernate.annotations.common.reflection.XMember
-
invoke
public Object invoke(Object target)
- Specified by:
invokein interfaceorg.hibernate.annotations.common.reflection.XMember
-
isTypeResolved
public boolean isTypeResolved()
- Specified by:
isTypeResolvedin interfaceorg.hibernate.annotations.common.reflection.XMember
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotationin interfaceorg.hibernate.annotations.common.reflection.XAnnotatedElement
-
isAnnotationPresent
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
- Specified by:
isAnnotationPresentin interfaceorg.hibernate.annotations.common.reflection.XAnnotatedElement
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfaceorg.hibernate.annotations.common.reflection.XAnnotatedElement
-
-