directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r189641 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java
Date Wed, 08 Jun 2005 21:27:37 GMT
Author: elecharny
Date: Wed Jun  8 14:27:36 2005
New Revision: 189641

URL: http://svn.apache.org/viewcvs?rev=189641&view=rev
Log:
Renammed Asn1POJO to Asn1Object. It also aggregate the AbstractPOJO class, so there is no
more interface.

Added:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java
      - copied, changed from r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/AbstractPOJO.java

Copied: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java (from
r178677, directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/AbstractPOJO.java)
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java?p2=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java&p1=directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/AbstractPOJO.java&r1=178677&r2=189641&rev=189641&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/AbstractPOJO.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java Wed Jun
 8 14:27:36 2005
@@ -18,11 +18,11 @@
 
 
 /**
- * An abstract POJO that extend PoolObject.
+ * An abstract class which implements basic TLV operations.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public abstract class AbstractPOJO implements Asn1POJO
+public abstract class Asn1Object
 {
     //~ Instance fields ----------------------------------------------------------------------------
 
@@ -32,8 +32,8 @@
     /** The object's expected length. It is used while decoding PDUs */
     private int expectedLength;
 
-    /** The encapsulating POJO */
-    protected AbstractPOJO father;
+    /** The encapsulating Object */
+    protected Asn1Object parent;
 
     //~ Methods ------------------------------------------------------------------------------------
 
@@ -93,16 +93,16 @@
     }
     
     /**
-     * @return Returns the father.
+     * @return Returns the parent.
      */
-    public AbstractPOJO getFather() {
-        return father;
+    public Asn1Object getParent() {
+        return parent;
     }
     
     /**
-     * @param father The father to set.
+     * @param parent The parent to set.
      */
-    public void setFather(AbstractPOJO father) {
-        this.father = father;
+    public void setParent(Asn1Object parent) {
+        this.parent = parent;
     }
 }



Mime
View raw message