You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2007/12/23 21:02:48 UTC

svn commit: r606603 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ClientObjAttribute.java

Author: aadamchik
Date: Sun Dec 23 12:02:47 2007
New Revision: 606603

URL: http://svn.apache.org/viewvc?rev=606603&view=rev
Log:
making client attribute class non-public, just like ClientObjRelationship was

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ClientObjAttribute.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ClientObjAttribute.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ClientObjAttribute.java?rev=606603&r1=606602&r2=606603&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ClientObjAttribute.java (original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/map/ClientObjAttribute.java Sun Dec 23 12:02:47 2007
@@ -25,26 +25,16 @@
  * @since 3.0
  * @author Tore Halset
  */
-public class ClientObjAttribute extends ObjAttribute {
-    
-    protected boolean mandatory;
-    protected int maxLength = -1;
+class ClientObjAttribute extends ObjAttribute {
 
+    boolean mandatory;
+    int maxLength = -1;
 
-    public ClientObjAttribute() {
-        super();
-    }
-
-    public ClientObjAttribute(String name, String type, ObjEntity entity) {
-        super(name, type, entity);
-    }
-
-    public ClientObjAttribute(String name) {
+    ClientObjAttribute(String name) {
         super(name);
     }
 
     /**
-     * 
      * @see DbAttribute#isMandatory()
      */
     public boolean isMandatory() {
@@ -54,9 +44,8 @@
     public void setMandatory(boolean mandatory) {
         this.mandatory = mandatory;
     }
-    
+
     /**
-     * 
      * @see DbAttribute#getMaxLength()
      */
     public int getMaxLength() {