站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

CollectionPropertyMapping (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.collection
Class CollectionPropertyMapping

java.lang.Object
  extended bynet.sf.hibernate.collection.CollectionPropertyMapping
All Implemented Interfaces:
PropertyMapping

public class CollectionPropertyMapping
extends Object
implements PropertyMapping

Author:
Gavin King

Field Summary
static String COLLECTION_ELEMENTS
           
static String COLLECTION_INDICES
           
static String COLLECTION_MAX_ELEMENT
           
static String COLLECTION_MAX_INDEX
           
static String COLLECTION_MIN_ELEMENT
           
static String COLLECTION_MIN_INDEX
           
static String COLLECTION_SIZE
           
 
Constructor Summary
CollectionPropertyMapping(QueryableCollection memberPersister)
           
 
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
 

Field Detail

COLLECTION_SIZE

public static final String COLLECTION_SIZE
See Also:
Constant Field Values

COLLECTION_ELEMENTS

public static final String COLLECTION_ELEMENTS
See Also:
Constant Field Values

COLLECTION_INDICES

public static final String COLLECTION_INDICES
See Also:
Constant Field Values

COLLECTION_MAX_INDEX

public static final String COLLECTION_MAX_INDEX
See Also:
Constant Field Values

COLLECTION_MIN_INDEX

public static final String COLLECTION_MIN_INDEX
See Also:
Constant Field Values

COLLECTION_MAX_ELEMENT

public static final String COLLECTION_MAX_ELEMENT
See Also:
Constant Field Values

COLLECTION_MIN_ELEMENT

public static final String COLLECTION_MIN_ELEMENT
See Also:
Constant Field Values
Constructor Detail

CollectionPropertyMapping

public CollectionPropertyMapping(QueryableCollection memberPersister)
Method Detail

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