db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/odmg/states ModificationState.java StateTransient.java
Date Sun, 04 Dec 2005 02:36:48 GMT
arminw      2005/12/03 18:36:48

  Modified:    src/java/org/apache/ojb/odmg/states Tag: OJB_1_0_RELEASE
                        ModificationState.java StateTransient.java
  Log:
  add new method
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.12.2.2  +6 -1      db-ojb/src/java/org/apache/ojb/odmg/states/ModificationState.java
  
  Index: ModificationState.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/states/ModificationState.java,v
  retrieving revision 1.12.2.1
  retrieving revision 1.12.2.2
  diff -u -r1.12.2.1 -r1.12.2.2
  --- ModificationState.java	16 Nov 2004 17:45:35 -0000	1.12.2.1
  +++ ModificationState.java	4 Dec 2005 02:36:48 -0000	1.12.2.2
  @@ -23,7 +23,7 @@
   /**
    * Describes an objects transactional state regarding commiting and rollbacking
    */
  -public abstract class ModificationState extends Object implements Serializable
  +public abstract class ModificationState implements Serializable
   {
   	static final long serialVersionUID = 4182870857709997816L;
       public ModificationState()
  @@ -108,4 +108,9 @@
       {
           return false;
       }
  +
  +    public boolean isTransient()
  +    {
  +        return false;
  +    }
   }
  
  
  
  1.1.2.2   +5 -0      db-ojb/src/java/org/apache/ojb/odmg/states/StateTransient.java
  
  Index: StateTransient.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/states/StateTransient.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- StateTransient.java	4 Jun 2005 14:38:13 -0000	1.1.2.1
  +++ StateTransient.java	4 Dec 2005 02:36:48 -0000	1.1.2.2
  @@ -109,4 +109,9 @@
       public void rollback(ObjectEnvelope mod)
       {
       }
  +
  +    public boolean isTransient()
  +    {
  +        return true;
  +    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message