Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.persister.entity
Interface PropertyMapping  view PropertyMapping download PropertyMapping.java

All Known Subinterfaces:
Queryable
All Known Implementing Classes:
AbstractEntityPersister, AbstractPropertyMapping, BasicEntityPersister

public interface PropertyMapping

Abstraction of all mappings that define properties: entities, collection elements.


Method Summary
 org.hibernate.type.Type getType()
          Get the type of the thing containing the properties
 java.lang.String[] toColumns(java.lang.String propertyName)
          Given a property path, return the corresponding column name(s).
 java.lang.String[] toColumns(java.lang.String alias, java.lang.String propertyName)
          Given a query alias and a property path, return the qualified column name
 org.hibernate.type.Type toType(java.lang.String propertyName)
          Given a component path expression, get the type of the property
 

Method Detail

toType

public org.hibernate.type.Type toType(java.lang.String propertyName)
                               throws org.hibernate.QueryException
Given a component path expression, get the type of the property


toColumns

public java.lang.String[] toColumns(java.lang.String alias,
                                    java.lang.String propertyName)
                             throws org.hibernate.QueryException
Given a query alias and a property path, return the qualified column name


toColumns

public java.lang.String[] toColumns(java.lang.String propertyName)
                             throws org.hibernate.QueryException,
                                    java.lang.UnsupportedOperationException
Given a property path, return the corresponding column name(s).


getType

public org.hibernate.type.Type getType()
Get the type of the thing containing the properties