com.googlecode.genericdao.search.hibernate
Class HibernateNonEntityMetadata
java.lang.Object
com.googlecode.genericdao.search.hibernate.HibernateNonEntityMetadata
- All Implemented Interfaces:
- Metadata
public class HibernateNonEntityMetadata
- extends Object
- implements Metadata
Implementation of Metadata for a non-entity type in Hibernate.
- Author:
- dwolverton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateNonEntityMetadata
public HibernateNonEntityMetadata(org.hibernate.SessionFactory sessionFactory,
org.hibernate.type.Type type,
Class<?> collectionType)
getIdProperty
public String getIdProperty()
- Specified by:
getIdProperty in interface Metadata
getIdType
public Metadata getIdType()
- Specified by:
getIdType in interface Metadata
getIdValue
public Serializable getIdValue(Object object)
- Specified by:
getIdValue in interface Metadata
getJavaClass
public Class<?> getJavaClass()
- Specified by:
getJavaClass in interface Metadata
getEntityName
public String getEntityName()
- Specified by:
getEntityName in interface Metadata
getProperties
public String[] getProperties()
- Specified by:
getProperties in interface Metadata
getPropertyType
public Metadata getPropertyType(String property)
- Specified by:
getPropertyType in interface Metadata
getPropertyValue
public Object getPropertyValue(Object object,
String property)
- Specified by:
getPropertyValue in interface Metadata
isCollection
public boolean isCollection()
- Specified by:
isCollection in interface Metadata
getCollectionClass
public Class<?> getCollectionClass()
- Specified by:
getCollectionClass in interface Metadata
isEmeddable
public boolean isEmeddable()
- Specified by:
isEmeddable in interface Metadata
isEntity
public boolean isEntity()
- Specified by:
isEntity in interface Metadata
isNumeric
public boolean isNumeric()
- Specified by:
isNumeric in interface Metadata
isString
public boolean isString()
- Specified by:
isString in interface Metadata
Copyright © 2008-2011. All Rights Reserved.