Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/metadata
In directory sc8-pr-cvs1:/tmp/cvs-serv14211/src/net/sf/hibernate/metadata
Modified Files:
ClassMetadata.java CollectionMetadata.java
Log Message:
reformatted code with beautiful, shiny, happy TABS!
improved an exception
Index: ClassMetadata.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/metadata/ClassMetadata.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ClassMetadata.java 1 Jan 2003 13:56:27 -0000 1.1.1.1
--- ClassMetadata.java 4 Jan 2003 11:15:29 -0000 1.2
***************
*** 9,48 ****
/**
* Exposes entity class metadata to the application
! *
* @see net.sf.hibernate.SessionFactory#getClassMetadata(Class)
*/
public interface ClassMetadata {
!
/**
* The persistent class
*/
public Class getMappedClass();
!
/**
* Get the name of the identifier property (or return null)
*/
public String getIdentifierPropertyName();
!
/**
* Get the names of the class' persistent properties
*/
public String[] getPropertyNames();
!
/**
* Get the identifier Hibernate type
*/
public Type getIdentifierType();
!
/**
* Get the Hibernate types of the class properties
*/
public Type[] getPropertyTypes();
!
! /**
* Return the values of the mapped properties of the object
*/
public Object[] getPropertyValues(Object entity) throws HibernateException;
!
! /**
* Set the given values to the mapped properties of the given object
*/
--- 9,48 ----
/**
* Exposes entity class metadata to the application
! *
* @see net.sf.hibernate.SessionFactory#getClassMetadata(Class)
*/
public interface ClassMetadata {
!
/**
* The persistent class
*/
public Class getMappedClass();
!
/**
* Get the name of the identifier property (or return null)
*/
public String getIdentifierPropertyName();
!
/**
* Get the names of the class' persistent properties
*/
public String[] getPropertyNames();
!
/**
* Get the identifier Hibernate type
*/
public Type getIdentifierType();
!
/**
* Get the Hibernate types of the class properties
*/
public Type[] getPropertyTypes();
!
! /**
* Return the values of the mapped properties of the object
*/
public Object[] getPropertyValues(Object entity) throws HibernateException;
!
! /**
* Set the given values to the mapped properties of the given object
*/
***************
*** 58,62 ****
*/
public void setIdentifier(Object object, Serializable id) throws HibernateException;
!
/**
* Does the class implement the <tt>Lifecycle</tt> interface?
--- 58,62 ----
*/
public void setIdentifier(Object object, Serializable id) throws HibernateException;
!
/**
* Does the class implement the <tt>Lifecycle</tt> interface?
***************
*** 84,85 ****
--- 84,88 ----
public boolean isVersioned();
}
+
+
+
Index: CollectionMetadata.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/metadata/CollectionMetadata.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** CollectionMetadata.java 1 Jan 2003 13:56:27 -0000 1.1.1.1
--- CollectionMetadata.java 4 Jan 2003 11:15:29 -0000 1.2
***************
*** 41,42 ****
--- 41,45 ----
public boolean isLazy();
}
+
+
+
|