当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
ElementPropertyMapping (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.collection
Class ElementPropertyMapping
java.lang.Object
net.sf.hibernate.collection.ElementPropertyMapping
- All Implemented Interfaces:
- PropertyMapping
- public class ElementPropertyMapping
- extends Object
- implements PropertyMapping
- Author:
- Gavin King
Method Summary |
Type |
getType()
Get the type of the thing containing the properties |
String[] |
toColumns(String alias,
String propertyName)
Given a query alias and a property path, return the qualified
column name |
Type |
toType(String propertyName)
Given a component path expression, get the type of the property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementPropertyMapping
public ElementPropertyMapping(String[] elementColumns,
Type type)
throws MappingException
toType
public Type toType(String propertyName)
throws QueryException
- Description copied from interface:
PropertyMapping
- Given a component path expression, get the type of the property
- Specified by:
toType
in interface PropertyMapping
- Throws:
QueryException
toColumns
public String[] toColumns(String alias,
String propertyName)
throws QueryException
- Description copied from interface:
PropertyMapping
- Given a query alias and a property path, return the qualified
column name
- Specified by:
toColumns
in interface PropertyMapping
- Throws:
QueryException
getType
public Type getType()
- Description copied from interface:
PropertyMapping
- Get the type of the thing containing the properties
- Specified by:
getType
in interface PropertyMapping