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

Uses of Class org.hibernate.EntityMode (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


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 and implementations for the second-level cache and query 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.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.POJO
           
static EntityMode EntityMode.DOM4J
           
static EntityMode EntityMode.MAP
           
 

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
QueryKey(String queryString, QueryParameters queryParameters, Set filters, EntityMode entityMode)
           
FilterKey(String name, Map params, Map types, EntityMode entityMode)
           
CacheKey(Serializable id, Type type, String entityOrRoleName, EntityMode entityMode, SessionFactoryImplementor factory)
          Construct a new key for a collection or entity instance.
 

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
TypedValue(Type type, Object value, EntityMode entityMode)
           
EntityUniqueKey(String entityName, String uniqueKeyName, Object semiResolvedKey, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory)
           
EntityKey(Serializable id, EntityPersister persister, EntityMode entityMode)
          Construct a unique identifier for an entity class instance
CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)
           
 

Uses of EntityMode in org.hibernate.event.def
 

Methods in org.hibernate.event.def with parameters of type EntityMode
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  Serializable DefaultSaveOrUpdateEventListener.getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, EntityMode entityMode)
          Determine the id to use for updating.
 void DefaultFlushEntityEventListener.checkId(Object object, EntityPersister persister, Serializable id, EntityMode entityMode)
          make sure user didn't mangle the id
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 StatelessSessionImpl.getEntityMode()
           
 EntityMode SessionImpl.getEntityMode()
           
 

Methods in org.hibernate.impl with parameters of type EntityMode
 Session SessionImpl.getSession(EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.mapping
 

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

Uses of EntityMode in org.hibernate.metadata
 

Methods in org.hibernate.metadata with parameters of type EntityMode
 Class ClassMetadata.getMappedClass(EntityMode entityMode)
          The persistent class, or null
 Object ClassMetadata.instantiate(Serializable id, EntityMode entityMode)
          Create a class instance initialized with the given identifier
 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.
 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
 Serializable ClassMetadata.getIdentifier(Object entity, EntityMode entityMode)
          Get the identifier of an instance (throw an exception if no identifier property)
 void ClassMetadata.setIdentifier(Object object, Serializable id, EntityMode entityMode)
          Set the identifier of an instance (or do nothing if no identifier property)
 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.getVersion(Object object, EntityMode entityMode)
          Get the version number (or timestamp) from the object's version property (or return null if not versioned)
 

Uses of EntityMode in org.hibernate.persister.entity
 

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

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

Uses of EntityMode in org.hibernate.pretty
 

Methods in org.hibernate.pretty with parameters of type EntityMode
 String Printer.toString(Object entity, EntityMode entityMode)
           
 void Printer.toString(Iterator iter, 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.getTuplizerOrNull(EntityMode entityMode)
          Locate the contained tuplizer responsible for the given entity-mode.
 Tuplizer EntityModeToTuplizerMapping.getTuplizer(EntityMode entityMode)
          Locate the tuplizer contained within this mapping which is responsible for the given entity-mode.
 

Uses of EntityMode in org.hibernate.tuple.entity
 

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

Methods in org.hibernate.tuple.entity with parameters of type EntityMode
 EntityTuplizer EntityMetamodel.getTuplizer(EntityMode entityMode)
           
 EntityTuplizer EntityMetamodel.getTuplizerOrNull(EntityMode entityMode)
           
 

Uses of EntityMode in org.hibernate.type
 

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