minor change, correct javadoc spell

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18332 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2009-12-28 09:18:55 +00:00
parent ec8421b32d
commit 7cc0baf32b
1 changed files with 8 additions and 8 deletions

View File

@ -68,7 +68,7 @@ public interface EntityPersister extends OptimisticCacheSource {
* Called only once per {@link org.hibernate.SessionFactory} lifecycle, * Called only once per {@link org.hibernate.SessionFactory} lifecycle,
* after all entity persisters have been instantiated. * after all entity persisters have been instantiated.
* *
* @throws org.hibernate.MappingException Indicates an issue in the metdata. * @throws org.hibernate.MappingException Indicates an issue in the metadata.
*/ */
public void postInstantiate() throws MappingException; public void postInstantiate() throws MappingException;
@ -172,7 +172,7 @@ public interface EntityPersister extends OptimisticCacheSource {
/** /**
* Determine whether this entity has any non-none cascading. * Determine whether this entity has any non-none cascading.
* *
* @return True if the entity has any properties with a cscade other than NONE; * @return True if the entity has any properties with a cascade other than NONE;
* false otherwise (aka, no cascading). * false otherwise (aka, no cascading).
*/ */
public boolean hasCascades(); public boolean hasCascades();
@ -205,7 +205,7 @@ public interface EntityPersister extends OptimisticCacheSource {
* Get the type of a particular property by name. * Get the type of a particular property by name.
* *
* @param propertyName The name of the property for which to retrieve * @param propertyName The name of the property for which to retrieve
* the typpe. * the type.
* @return The type. * @return The type.
* @throws org.hibernate.MappingException Typically indicates an unknown * @throws org.hibernate.MappingException Typically indicates an unknown
* property name. * property name.
@ -245,10 +245,10 @@ public interface EntityPersister extends OptimisticCacheSource {
public boolean hasIdentifierProperty(); public boolean hasIdentifierProperty();
/** /**
* Determine whether detahced instances of this entity carry their own * Determine whether detached instances of this entity carry their own
* identifier value. * identifier value.
* <p/> * <p/>
* The other option is the deperecated feature where users could supply * The other option is the deprecated feature where users could supply
* the id during session calls. * the id during session calls.
* *
* @return True if either (1) {@link #hasIdentifierProperty()} or * @return True if either (1) {@link #hasIdentifierProperty()} or
@ -300,7 +300,7 @@ public interface EntityPersister extends OptimisticCacheSource {
/** /**
* Retrieve the current state of the natural-id properties from the database. * Retrieve the current state of the natural-id properties from the database.
* *
* @param id The identifier of the entity for which to retrieve the naturak-id values. * @param id The identifier of the entity for which to retrieve the natural-id values.
* @param session The session from which the request originated. * @param session The session from which the request originated.
* @return The natural-id snapshot. * @return The natural-id snapshot.
*/ */
@ -430,7 +430,7 @@ public interface EntityPersister extends OptimisticCacheSource {
public boolean[] getPropertyVersionability(); public boolean[] getPropertyVersionability();
public boolean[] getPropertyLaziness(); public boolean[] getPropertyLaziness();
/** /**
* Get the cascade styles of the propertes (optional operation) * Get the cascade styles of the properties (optional operation)
*/ */
public CascadeStyle[] getPropertyCascadeStyles(); public CascadeStyle[] getPropertyCascadeStyles();
@ -700,7 +700,7 @@ public interface EntityPersister extends OptimisticCacheSource {
* <tt>Animal</tt> persister is being asked to return the persister specific to <tt>Cat</tt>. * <tt>Animal</tt> persister is being asked to return the persister specific to <tt>Cat</tt>.
* <p/> * <p/>
* It is also possible that the instance is actually an <tt>Animal</tt> instance in the above example in which * It is also possible that the instance is actually an <tt>Animal</tt> instance in the above example in which
* case we would retrn <tt>this</tt> from this method. * case we would return <tt>this</tt> from this method.
* *
* @param instance The entity instance * @param instance The entity instance
* @param factory Reference to the SessionFactory * @param factory Reference to the SessionFactory