类 PropertyPreloadedData
- java.lang.Object
-
- org.hibernate.cfg.PropertyPreloadedData
-
- 所有已实现的接口:
PropertyData
public class PropertyPreloadedData extends Object implements PropertyData
-
-
构造器概要
构造器 构造器 说明 PropertyPreloadedData(AccessType defaultAccess, String propertyName, org.hibernate.annotations.common.reflection.XClass returnedClass)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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
-
-
-
构造器详细资料
-
PropertyPreloadedData
public PropertyPreloadedData(AccessType defaultAccess, String propertyName, org.hibernate.annotations.common.reflection.XClass returnedClass)
-
-
方法详细资料
-
getDefaultAccess
public AccessType getDefaultAccess() throws MappingException
- 指定者:
getDefaultAccess在接口中PropertyData- 返回:
- default member access (whether field or property)
- 抛出:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getPropertyName
public String getPropertyName() throws MappingException
- 指定者:
getPropertyName在接口中PropertyData- 返回:
- property name
- 抛出:
MappingException- No getter or field found or wrong JavaBean spec usage
-
getClassOrElement
public org.hibernate.annotations.common.reflection.XClass getClassOrElement() throws MappingException从接口复制的说明:PropertyDataReturns the returned class itself or the element type if an array- 指定者:
getClassOrElement在接口中PropertyData- 抛出:
MappingException
-
getPropertyClass
public org.hibernate.annotations.common.reflection.XClass getPropertyClass() throws MappingException从接口复制的说明:PropertyDataReturn the class itself- 指定者:
getPropertyClass在接口中PropertyData- 抛出:
MappingException
-
getClassOrElementName
public String getClassOrElementName() throws MappingException
从接口复制的说明:PropertyDataReturns the returned class name itself or the element type if an array- 指定者:
getClassOrElementName在接口中PropertyData- 抛出:
MappingException
-
getTypeName
public String getTypeName() throws MappingException
从接口复制的说明:PropertyDataReturns the returned class name itself- 指定者:
getTypeName在接口中PropertyData- 抛出:
MappingException
-
getProperty
public org.hibernate.annotations.common.reflection.XProperty getProperty()
从接口复制的说明:PropertyDataReturn the Hibernate mapping property- 指定者:
getProperty在接口中PropertyData
-
getDeclaringClass
public org.hibernate.annotations.common.reflection.XClass getDeclaringClass()
从接口复制的说明:PropertyDataReturn 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- 指定者:
getDeclaringClass在接口中PropertyData
-
-