Uses of Class
org.hibernate.EntityMode

Packages that use EntityMode
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.cache This package defines APIs/SPIs and implementations for the Hibernate second-level cache. 
org.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel. 
org.hibernate.collection This package defines a framework for collection wrappers. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.event.def This package defines a default set of event listeners that implements the default behaviors of Hibernate. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
org.hibernate.mapping This package defines the Hibernate configuration-time metamodel. 
org.hibernate.metadata This package defines an API for accessing the Hibernate runtime metamodel. 
org.hibernate.persister.entity This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel. 
org.hibernate.pretty Classes for pretty printing things for exception and log messages. 
org.hibernate.property This package abstracts the notion of a "property" of an entity. 
org.hibernate.tuple This package defines a runtime metamodel for entities at the object level and abstracts the differences between the various entity modes. 
org.hibernate.tuple.component   
org.hibernate.tuple.entity   
org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. 
 

Uses of EntityMode in org.hibernate
 

Fields in org.hibernate declared as EntityMode
static EntityMode EntityMode.DOM4J
           
static EntityMode EntityMode.MAP
           
static EntityMode EntityMode.POJO
           
 

Methods in org.hibernate that return EntityMode
 EntityMode Session.getEntityMode()
          Retrieve the entity mode in effect for this session.
static EntityMode EntityMode.parse(String name)
           
 

Methods in org.hibernate with parameters of type EntityMode
 Session Session.getSession(EntityMode entityMode)
          Starts a new Session with the given entity mode in effect.
 Object Interceptor.instantiate(String entityName, EntityMode entityMode, Serializable id)
          Instantiate the entity class.
 Object EmptyInterceptor.instantiate(String entityName, EntityMode entityMode, Serializable id)
           
 

Uses of EntityMode in org.hibernate.cache
 

Methods in org.hibernate.cache with parameters of type EntityMode
static Set FilterKey.createFilterKeys(Map enabledFilters, EntityMode entityMode)
           
 

Constructors in org.hibernate.cache with parameters of type EntityMode
CacheKey(Serializable id, Type type, String entityOrRoleName, EntityMode entityMode, SessionFactoryImplementor factory)
          Construct a new key for a collection or entity instance.
FilterKey(String name, Map params, Map types, EntityMode entityMode)
           
QueryKey(String queryString, QueryParameters queryParameters, Set filters, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.cfg
 

Methods in org.hibernate.cfg that return EntityMode
 EntityMode Settings.getDefaultEntityMode()
           
 

Uses of EntityMode in org.hibernate.collection
 

Methods in org.hibernate.collection with parameters of type EntityMode
protected  Serializable PersistentSortedSet.snapshot(BasicCollectionPersister persister, EntityMode entityMode)
           
protected  Serializable PersistentSortedMap.snapshot(BasicCollectionPersister persister, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.engine
 

Methods in org.hibernate.engine that return EntityMode
 EntityMode SessionImplementor.getEntityMode()
           
 

Methods in org.hibernate.engine with parameters of type EntityMode
 Serializable[] BatchFetchQueue.getCollectionBatch(CollectionPersister collectionPersister, Serializable id, int batchSize, EntityMode entityMode)
          Get a batch of uninitialized collection keys for a given role
 Serializable[] BatchFetchQueue.getEntityBatch(EntityPersister persister, Serializable id, int batchSize, EntityMode entityMode)
          Get a batch of unloaded identifiers for this class, using a slightly complex algorithm that tries to grab keys registered immediately after the given key.
 

Constructors in org.hibernate.engine with parameters of type EntityMode
CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)
           
EntityKey(Serializable id, EntityPersister persister, EntityMode entityMode)
          Construct a unique identifier for an entity class instance
EntityUniqueKey(String entityName, String uniqueKeyName, Object semiResolvedKey, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory)
           
TypedValue(Type type, Object value, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.event.def
 

Methods in org.hibernate.event.def with parameters of type EntityMode
 void DefaultFlushEntityEventListener.checkId(Object object, EntityPersister persister, Serializable id, EntityMode entityMode)
          make sure user didn't mangle the id
protected  Serializable DefaultSaveOrUpdateEventListener.getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, EntityMode entityMode)
          Determine the id to use for updating.
protected  Serializable DefaultUpdateEventListener.getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, EntityMode entityMode)
          If the user specified an id, assign it to the instance and use that, otherwise use the id already assigned to the instance
protected  void DefaultFlushEntityEventListener.validate(Object entity, EntityPersister persister, Status status, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.impl
 

Methods in org.hibernate.impl that return EntityMode
 EntityMode SessionImpl.getEntityMode()
           
 EntityMode StatelessSessionImpl.getEntityMode()
           
 

Methods in org.hibernate.impl with parameters of type EntityMode
 Session SessionImpl.getSession(EntityMode entityMode)
           
 Iterator SessionFactoryImpl.iterateEntityNameResolvers(EntityMode entityMode)
           
 void SessionFactoryImpl.registerEntityNameResolver(EntityNameResolver resolver, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.mapping
 

Methods in org.hibernate.mapping with parameters of type EntityMode
 void Component.addTuplizer(EntityMode entityMode, String implClassName)
           
 void PersistentClass.addTuplizer(EntityMode entityMode, String implClassName)
           
 String Property.getAccessorPropertyName(EntityMode mode)
           
 String Component.getTuplizerImplClassName(EntityMode mode)
           
 String PersistentClass.getTuplizerImplClassName(EntityMode mode)
           
 String Subclass.getTuplizerImplClassName(EntityMode mode)
           
 

Uses of EntityMode in org.hibernate.metadata
 

Methods in org.hibernate.metadata with parameters of type EntityMode
 Serializable ClassMetadata.getIdentifier(Object entity, EntityMode entityMode)
          Get the identifier of an instance (throw an exception if no identifier property)
 Class ClassMetadata.getMappedClass(EntityMode entityMode)
          The persistent class, or null
 Object ClassMetadata.getPropertyValue(Object object, String propertyName, EntityMode entityMode)
          Get the value of a particular (named) property
 Object[] ClassMetadata.getPropertyValues(Object entity, EntityMode entityMode)
          Extract the property values from the given entity.
 Object ClassMetadata.getVersion(Object object, EntityMode entityMode)
          Get the version number (or timestamp) from the object's version property (or return null if not versioned)
 boolean ClassMetadata.implementsLifecycle(EntityMode entityMode)
          Does the class implement the Lifecycle interface?
 boolean ClassMetadata.implementsValidatable(EntityMode entityMode)
          Does the class implement the Validatable interface?
 Object ClassMetadata.instantiate(Serializable id, EntityMode entityMode)
          Create a class instance initialized with the given identifier
 void ClassMetadata.setIdentifier(Object object, Serializable id, EntityMode entityMode)
          Set the identifier of an instance (or do nothing if no identifier property)
 void ClassMetadata.setPropertyValue(Object object, String propertyName, Object value, EntityMode entityMode)
          Set the value of a particular (named) property
 void ClassMetadata.setPropertyValues(Object object, Object[] values, EntityMode entityMode)
          Set the given values to the mapped properties of the given object
 

Uses of EntityMode in org.hibernate.persister.entity
 

Methods in org.hibernate.persister.entity that return EntityMode
 EntityMode AbstractEntityPersister.guessEntityMode(Object object)
           
 EntityMode EntityPersister.guessEntityMode(Object object)
          Try to discover the entity mode from the entity instance
 

Methods in org.hibernate.persister.entity with parameters of type EntityMode
 Class AbstractEntityPersister.getConcreteProxyClass(EntityMode entityMode)
           
 Class EntityPersister.getConcreteProxyClass(EntityMode entityMode)
          Get the proxy interface that instances of this concrete class will be cast to (optional operation).
 Serializable AbstractEntityPersister.getIdentifier(Object object, EntityMode entityMode)
           
 Serializable EntityPersister.getIdentifier(Object object, EntityMode entityMode)
          Get the identifier of an instance (throw an exception if no identifier property)
 Class AbstractEntityPersister.getMappedClass(EntityMode entityMode)
           
 Class EntityPersister.getMappedClass(EntityMode entityMode)
          The persistent class, or null
protected  boolean[] AbstractEntityPersister.getPropertyUpdateability(Object entity, EntityMode entityMode)
          Which properties appear in the SQL update? (Initialized, updateable ones!)
 Object AbstractEntityPersister.getPropertyValue(Object object, int i, EntityMode entityMode)
           
 Object EntityPersister.getPropertyValue(Object object, int i, EntityMode entityMode)
          Get the value of a particular property
 Object AbstractEntityPersister.getPropertyValue(Object object, String propertyName, EntityMode entityMode)
           
 Object EntityPersister.getPropertyValue(Object object, String propertyName, EntityMode entityMode)
          Get the value of a particular property
 Object[] AbstractEntityPersister.getPropertyValues(Object object, EntityMode entityMode)
           
 Object[] EntityPersister.getPropertyValues(Object object, EntityMode entityMode)
          Return the (loaded) values of the mapped properties of the object (not including backrefs)
 EntityPersister AbstractEntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory, EntityMode entityMode)
           
 EntityPersister EntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory, EntityMode entityMode)
          A request has already identified the entity-name of this persister as the mapping for the given instance.
protected  EntityTuplizer AbstractEntityPersister.getTuplizer(EntityMode entityMode)
           
 Object AbstractEntityPersister.getVersion(Object object, EntityMode entityMode)
           
 Object EntityPersister.getVersion(Object object, EntityMode entityMode)
          Get the version number (or timestamp) from the object's version property (or return null if not versioned)
 boolean AbstractEntityPersister.hasUninitializedLazyProperties(Object object, EntityMode entityMode)
           
 boolean EntityPersister.hasUninitializedLazyProperties(Object object, EntityMode entityMode)
          Does the given instance have any uninitialized lazy properties?
 boolean AbstractEntityPersister.implementsLifecycle(EntityMode entityMode)
           
 boolean EntityPersister.implementsLifecycle(EntityMode entityMode)
          Does the class implement the Lifecycle interface.
 boolean AbstractEntityPersister.implementsValidatable(EntityMode entityMode)
           
 boolean EntityPersister.implementsValidatable(EntityMode entityMode)
          Does the class implement the Validatable interface.
 Object AbstractEntityPersister.instantiate(Serializable id, EntityMode entityMode)
           
 Object EntityPersister.instantiate(Serializable id, EntityMode entityMode)
          Create a class instance initialized with the given identifier
 boolean AbstractEntityPersister.isInstance(Object object, EntityMode entityMode)
           
 boolean EntityPersister.isInstance(Object object, EntityMode entityMode)
          Is the given object an instance of this entity?
 boolean AbstractEntityPersister.isInstrumented(EntityMode entityMode)
           
 boolean EntityPersister.isInstrumented(EntityMode entityMode)
          Has the class actually been bytecode instrumented?
 void AbstractEntityPersister.resetIdentifier(Object entity, Serializable currentId, Object currentVersion, EntityMode entityMode)
           
 void EntityPersister.resetIdentifier(Object entity, Serializable currentId, Object currentVersion, EntityMode entityMode)
          Set the identifier and version of the given instance back to its "unsaved" value.
 void AbstractEntityPersister.setIdentifier(Object object, Serializable id, EntityMode entityMode)
           
 void EntityPersister.setIdentifier(Object object, Serializable id, EntityMode entityMode)
          Set the identifier of an instance (or do nothing if no identifier property)
 void AbstractEntityPersister.setPropertyValue(Object object, int i, Object value, EntityMode entityMode)
           
 void EntityPersister.setPropertyValue(Object object, int i, Object value, EntityMode entityMode)
          Set the value of a particular property
 void AbstractEntityPersister.setPropertyValue(Object object, String propertyName, Object value, EntityMode entityMode)
           
 void AbstractEntityPersister.setPropertyValues(Object object, Object[] values, EntityMode entityMode)
           
 void EntityPersister.setPropertyValues(Object object, Object[] values, EntityMode entityMode)
          Set the given values to the mapped properties of the given object
 

Uses of EntityMode in org.hibernate.pretty
 

Methods in org.hibernate.pretty with parameters of type EntityMode
 void Printer.toString(Iterator iter, EntityMode entityMode)
           
 String Printer.toString(Object entity, EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.property
 

Methods in org.hibernate.property with parameters of type EntityMode
static PropertyAccessor PropertyAccessorFactory.getPropertyAccessor(Property property, EntityMode mode)
          Retrieves a PropertyAccessor instance based on the given property definition and entity mode.
 

Uses of EntityMode in org.hibernate.tuple
 

Methods in org.hibernate.tuple that return EntityMode
 EntityMode EntityModeToTuplizerMapping.guessEntityMode(Object object)
          Given a supposed instance of an entity/component, guess its entity mode.
 

Methods in org.hibernate.tuple with parameters of type EntityMode
protected  void EntityModeToTuplizerMapping.addTuplizer(EntityMode entityMode, Tuplizer tuplizer)
           
 Tuplizer EntityModeToTuplizerMapping.getTuplizer(EntityMode entityMode)
          Locate the tuplizer contained within this mapping which is responsible for the given entity-mode.
 Tuplizer EntityModeToTuplizerMapping.getTuplizerOrNull(EntityMode entityMode)
          Locate the contained tuplizer responsible for the given entity-mode.
 

Uses of EntityMode in org.hibernate.tuple.component
 

Methods in org.hibernate.tuple.component with parameters of type EntityMode
 ComponentTuplizer ComponentTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode, Component metadata)
          Construct am instance of the default tuplizer for the given entity-mode.
 void ComponentTuplizerFactory.registerDefaultTuplizerClass(EntityMode entityMode, Class tuplizerClass)
          Method allowing registration of the tuplizer class to use as default for a particular entity-mode.
 

Uses of EntityMode in org.hibernate.tuple.entity
 

Methods in org.hibernate.tuple.entity that return EntityMode
 EntityMode Dom4jEntityTuplizer.getEntityMode()
          Return the entity-mode handled by this tuplizer instance.
 EntityMode DynamicMapEntityTuplizer.getEntityMode()
          Return the entity-mode handled by this tuplizer instance.
 EntityMode EntityTuplizer.getEntityMode()
          Return the entity-mode handled by this tuplizer instance.
 EntityMode PojoEntityTuplizer.getEntityMode()
          Return the entity-mode handled by this tuplizer instance.
 EntityMode EntityMetamodel.guessEntityMode(Object object)
           
 

Methods in org.hibernate.tuple.entity with parameters of type EntityMode
 EntityTuplizer EntityTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode, EntityMetamodel metamodel, PersistentClass persistentClass)
          Construct am instance of the default tuplizer for the given entity-mode.
 EntityTuplizer EntityMetamodel.getTuplizer(EntityMode entityMode)
           
 EntityTuplizer EntityMetamodel.getTuplizerOrNull(EntityMode entityMode)
           
 void EntityTuplizerFactory.registerDefaultTuplizerClass(EntityMode entityMode, Class tuplizerClass)
          Method allowing registration of the tuplizer class to use as default for a particular entity-mode.
 

Uses of EntityMode in org.hibernate.type
 

Methods in org.hibernate.type with parameters of type EntityMode
 int EntityType.compare(Object x, Object y, EntityMode entityMode)
          compare two instances of the type
 int ComponentType.compare(Object x, Object y, EntityMode entityMode)
           
 int AbstractType.compare(Object x, Object y, EntityMode entityMode)
           
 int CollectionType.compare(Object x, Object y, EntityMode entityMode)
           
 int Type.compare(Object x, Object y, EntityMode entityMode)
          compare two instances of the type
 int AbstractBynaryType.compare(Object x, Object y, EntityMode entityMode)
           
 int LocaleType.compare(Object x, Object y, EntityMode entityMode)
           
 int AnyType.compare(Object x, Object y, EntityMode entityMode)
           
 int TimeZoneType.compare(Object x, Object y, EntityMode entityMode)
           
 int BlobType.compare(Object x, Object y, EntityMode entityMode)
           
 int ClobType.compare(Object x, Object y, EntityMode entityMode)
           
 int CalendarType.compare(Object x, Object y, EntityMode entityMode)
           
 int AdaptedImmutableType.compare(Object x, Object y, EntityMode entityMode)
           
 int CalendarDateType.compare(Object x, Object y, EntityMode entityMode)
           
 Object EntityType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
          Return a deep copy of the persistent state, stopping at entities and at collections.
 Object ComponentType.deepCopy(Object component, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object ImmutableType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object CustomType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object CompositeCustomType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object CollectionType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object Type.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
          Return a deep copy of the persistent state, stopping at entities and at collections.
 Object AnyType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object BlobType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object MetaType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object ClobType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 Object MutableType.deepCopy(Object value, EntityMode entityMode, SessionFactoryImplementor factory)
           
 int TimeType.getHashCode(Object x, EntityMode entityMode)
           
 int ComponentType.getHashCode(Object x, EntityMode entityMode)
           
 int AbstractType.getHashCode(Object x, EntityMode entityMode)
           
 int TimestampType.getHashCode(Object x, EntityMode entityMode)
           
 int CustomType.getHashCode(Object x, EntityMode entityMode)
           
 int SerializableType.getHashCode(Object x, EntityMode entityMode)
           
 int CompositeCustomType.getHashCode(Object x, EntityMode entityMode)
           
 int CollectionType.getHashCode(Object x, EntityMode entityMode)
           
 int Type.getHashCode(Object x, EntityMode entityMode)
          Get a hashcode, consistent with persistence "equality"
 int AbstractBynaryType.getHashCode(Object x, EntityMode entityMode)
           
 int BlobType.getHashCode(Object x, EntityMode entityMode)
           
 int BigIntegerType.getHashCode(Object x, EntityMode entityMode)
           
 int ClobType.getHashCode(Object x, EntityMode entityMode)
           
 int CalendarType.getHashCode(Object x, EntityMode entityMode)
           
 int BigDecimalType.getHashCode(Object x, EntityMode entityMode)
           
 int AdaptedImmutableType.getHashCode(Object x, EntityMode entityMode)
           
 int DateType.getHashCode(Object x, EntityMode entityMode)
           
 int CalendarDateType.getHashCode(Object x, EntityMode entityMode)
           
 int EntityType.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
          Get a hashcode, consistent with persistence "equality"
 int ComponentType.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
           
 int AbstractType.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
           
 int Type.getHashCode(Object x, EntityMode entityMode, SessionFactoryImplementor factory)
          Get a hashcode, consistent with persistence "equality"
 Object ComponentType.getPropertyValue(Object component, int i, EntityMode entityMode)
           
 Object[] ComponentType.getPropertyValues(Object component, EntityMode entityMode)
           
 Object[] AbstractComponentType.getPropertyValues(Object component, EntityMode entityMode)
          Optional operation
 Object[] CompositeCustomType.getPropertyValues(Object component, EntityMode entityMode)
           
 Object[] AnyType.getPropertyValues(Object component, EntityMode entityMode)
           
 boolean CollectionType.hasHolder(EntityMode entityMode)
           
 boolean ArrayType.hasHolder(EntityMode entityMode)
           
protected  boolean CollectionType.initializeImmediately(EntityMode entityMode)
           
protected  boolean ArrayType.initializeImmediately(EntityMode entityMode)
           
 Object ComponentType.instantiate(EntityMode entityMode)
          This method does not populate the component parent
 boolean ComponentType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean AbstractType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean CustomType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean CompositeCustomType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean CollectionType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean Type.isEqual(Object x, Object y, EntityMode entityMode)
          Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
 boolean BlobType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean ClobType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean NullableType.isEqual(Object x, Object y, EntityMode entityMode)
           
 boolean EntityType.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
          Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
 boolean ComponentType.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
           
 boolean AbstractType.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
           
 boolean Type.isEqual(Object x, Object y, EntityMode entityMode, SessionFactoryImplementor factory)
          Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state.
 boolean EntityType.isSame(Object x, Object y, EntityMode entityMode)
          Two entities are considered the same when their instances are the same.
 boolean ComponentType.isSame(Object x, Object y, EntityMode entityMode)
           
 boolean AbstractType.isSame(Object x, Object y, EntityMode entityMode)
           
 boolean Type.isSame(Object x, Object y, EntityMode entityMode)
          Compare two instances of the class mapped by this type for persistence "equality" - equality of persistent state - taking a shortcut for entity references.
 boolean AnyType.isSame(Object x, Object y, EntityMode entityMode)
           
 void ComponentType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)
           
 void AbstractComponentType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)
          Optional operation
 void CompositeCustomType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)
           
 void AnyType.setPropertyValues(Object component, Object[] values, EntityMode entityMode)
           
 



Copyright © 2009 Hibernate.org. All Rights Reserved.