接口 PropertyData
-
public interface PropertyData
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 org.hibernate.annotations.common.reflection.XClassgetClassOrElement()Returns the returned class itself or the element type if an arrayStringgetClassOrElementName()Returns the returned class name itself or the element type if an arrayorg.hibernate.annotations.common.reflection.XClassgetDeclaringClass()Return the Class the property is declared on If the property is declared on a @MappedSuperclass, this class will be different than the PersistentClass's classAccessTypegetDefaultAccess()org.hibernate.annotations.common.reflection.XPropertygetProperty()Return the Hibernate mapping propertyorg.hibernate.annotations.common.reflection.XClassgetPropertyClass()Return the class itselfStringgetPropertyName()StringgetTypeName()Returns the returned class name itself
-
-
-
方法详细资料
-
getDefaultAccess
AccessType getDefaultAccess()
- 返回:
- default member access (whether field or property)
- 抛出:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getPropertyName
String getPropertyName() throws MappingException
- 返回:
- property name
- 抛出:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getClassOrElement
org.hibernate.annotations.common.reflection.XClass getClassOrElement() throws MappingExceptionReturns the returned class itself or the element type if an array- 抛出:
MappingException
-
getPropertyClass
org.hibernate.annotations.common.reflection.XClass getPropertyClass() throws MappingExceptionReturn the class itself- 抛出:
MappingException
-
getClassOrElementName
String getClassOrElementName() throws MappingException
Returns the returned class name itself or the element type if an array- 抛出:
MappingException
-
getTypeName
String getTypeName() throws MappingException
Returns the returned class name itself- 抛出:
MappingException
-
getProperty
org.hibernate.annotations.common.reflection.XProperty getProperty()
Return the Hibernate mapping property
-
getDeclaringClass
org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
Return the Class the property is declared on If the property is declared on a @MappedSuperclass, this class will be different than the PersistentClass's class
-
-