类 ElementPropertyMapping
- java.lang.Object
-
- org.hibernate.persister.collection.ElementPropertyMapping
-
- 所有已实现的接口:
PropertyMapping
public class ElementPropertyMapping extends Object implements PropertyMapping
- 作者:
- Gavin King
-
-
构造器概要
构造器 构造器 说明 ElementPropertyMapping(String[] elementColumns, Type type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TypegetType()Get the type of the thing containing the propertiesString[]toColumns(String propertyName)Given a property path, return the corresponding column name(s).String[]toColumns(String alias, String propertyName)Obtain aliased column/formula fragments for the specified property path.TypetoType(String propertyName)Given a component path expression, get the type of the property
-
-
-
构造器详细资料
-
ElementPropertyMapping
public ElementPropertyMapping(String[] elementColumns, Type type) throws MappingException
- 抛出:
MappingException
-
-
方法详细资料
-
toType
public Type toType(String propertyName) throws QueryException
从接口复制的说明:PropertyMappingGiven a component path expression, get the type of the property- 指定者:
toType在接口中PropertyMapping- 抛出:
QueryException
-
toColumns
public String[] toColumns(String alias, String propertyName) throws QueryException
从接口复制的说明:PropertyMappingObtain aliased column/formula fragments for the specified property path.- 指定者:
toColumns在接口中PropertyMapping- 抛出:
QueryException
-
toColumns
public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException
Given a property path, return the corresponding column name(s).- 指定者:
toColumns在接口中PropertyMapping- 抛出:
QueryExceptionUnsupportedOperationException
-
getType
public Type getType()
从接口复制的说明:PropertyMappingGet the type of the thing containing the properties- 指定者:
getType在接口中PropertyMapping
-
-