public abstract class AbstractType<X> extends Object implements javax.persistence.metamodel.Type<X>, Serializable
Type hierarchy of interfaces.| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractType(Class<X> javaType)
Instantiates the type based on the given Java type.
|
protected |
AbstractType(Class<X> javaType,
String typeName)
Instantiates the type based on the given Java type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Class<X> |
getJavaType()
IMPL NOTE : The Hibernate version may return
null here in the case of either dynamic models or
entity classes mapped multiple times using entity-name. |
String |
getTypeName()
Obtains the type name.
|
protected AbstractType(Class<X> javaType)
javaType - The Java type of the JPA model type.public Class<X> getJavaType()
null here in the case of either dynamic models or
entity classes mapped multiple times using entity-name. In these cases, the getTypeName() value
should be used.getJavaType 在接口中 javax.persistence.metamodel.Type<X>public String getTypeName()
getJavaType() for detailsCopyright © 2019. All rights reserved.