You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(81) |
Nov
|
Dec
|
|---|
|
From: <me...@us...> - 2002-10-02 04:42:33
|
Update of /cvsroot/cayenne/cayenne/xdocs/userguide/quickstart
In directory usw-pr-cvs1:/tmp/cvs-serv24389/xdocs/userguide/quickstart
Modified Files:
comline.xml
Log Message:
fixed formatting issues
Index: comline.xml
===================================================================
RCS file: /cvsroot/cayenne/cayenne/xdocs/userguide/quickstart/comline.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- comline.xml 2 Oct 2002 04:11:44 -0000 1.16
+++ comline.xml 2 Oct 2002 04:42:31 -0000 1.17
@@ -16,8 +16,7 @@
Cayenne Applications"</a> section.</p>
<panel name="Note:">
- Full tutorial source code is included in Cayenne distribution under
- <code>src/tutorials</code> folder.
+ Full tutorial source code is included in Cayenne distribution in "src/tutorials" folder.
</panel>
|
|
From: <me...@us...> - 2002-10-02 04:27:51
|
Update of /cvsroot/cayenne/cayenne/xdocs/stylesheets
In directory usw-pr-cvs1:/tmp/cvs-serv20911/xdocs/stylesheets
Modified Files:
cayenne.vsl
Log Message:
changed the look of panels and source insets in the docs
Index: cayenne.vsl
===================================================================
RCS file: /cvsroot/cayenne/cayenne/xdocs/stylesheets/cayenne.vsl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- cayenne.vsl 12 May 2002 01:48:46 -0000 1.13
+++ cayenne.vsl 2 Oct 2002 04:27:48 -0000 1.14
@@ -15,7 +15,7 @@
#set ($subbannerfg = "#ffffff")
#set ($tablethbg = "#cccccc")
#set ($tabletdbg = "#eeeeee")
- #set ($panelbg = "#ffff99")
+ #set ($panelbg = "#becece")
#set ($spacer = $project.getChild("spacer").getAttributeValue("href"))
#set ($logo = $project.getChild("logo").getAttributeValue("href"))
@@ -117,13 +117,14 @@
#macro ( panel $panel)
<div align="center">
<p>
- <table cellpadding="2" cellspacing="0" border="0" width="80%">
+ <table cellpadding="1" cellspacing="0" border="0" width="85%" bgcolor="#000000">
+ <tr><td><table bgcolor="$panelbg" cellpadding="2" cellspacing="0" border="0" width="100%">
<tr>
#if ($panel.getAttributeValue("name"))
<td colspan="2" bgcolor="$panelbg" align="left"><strong>$panel.getAttributeValue("name")</strong></td></tr>
<tr><td bgcolor="$panelbg" width="20" align="left"> </td>
#end
- <td bgcolor="$panelbg" align="left">$panel.getText()</td></tr></table>
+ <td bgcolor="$panelbg" align="left">$panel.getText()</td></tr></table></td></tr></table>
</p>
</div>
#end
@@ -219,9 +220,10 @@
#macro ( source $value)
<div align="left">
<p>
- <table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="$tabletdbg">
+ <table cellpadding="1" cellspacing="0" border="0" width="85%" bgcolor="#000000">
+ <tr><td><table cellpadding="2" cellspacing="0" border="0" width="100%"><tr><td bgcolor="$tabletdbg">
<pre>$value.getText()</pre>
- </td></tr></table>
+ </td></tr></table></td></tr></table>
</p>
</div>
#end
|
|
From: <me...@us...> - 2002-10-02 04:13:52
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/WEB-INF/classes In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/WEB-INF/classes Removed Files: ApplicationResources.properties Log Message: removed files from old tutorial location they are in src/tutorials now --- ApplicationResources.properties DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:13:52
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/WEB-INF/classes/formbean In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/WEB-INF/classes/formbean Removed Files: ArtistForm.java GalleryForm.java PaintingForm.java Log Message: removed files from old tutorial location they are in src/tutorials now --- ArtistForm.java DELETED --- --- GalleryForm.java DELETED --- --- PaintingForm.java DELETED --- |
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/WEB-INF/classes/test In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/WEB-INF/classes/test Removed Files: Artist.java CustomConfiguration.java Gallery.java Painting.java _Artist.java _Gallery.java _Painting.java Log Message: removed files from old tutorial location they are in src/tutorials now --- Artist.java DELETED --- --- CustomConfiguration.java DELETED --- --- Gallery.java DELETED --- --- Painting.java DELETED --- --- _Artist.java DELETED --- --- _Gallery.java DELETED --- --- _Painting.java DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:13:52
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/WEB-INF/lib In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/WEB-INF/lib Removed Files: README-lib.txt Log Message: removed files from old tutorial location they are in src/tutorials now --- README-lib.txt DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:13:52
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/WEB-INF In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/WEB-INF Removed Files: cayenne.xml datamap.xml driverinfo.xml struts-config.xml web.xml Log Message: removed files from old tutorial location they are in src/tutorials now --- cayenne.xml DELETED --- --- datamap.xml DELETED --- --- driverinfo.xml DELETED --- --- struts-config.xml DELETED --- --- web.xml DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:13:51
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/META-INF In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/META-INF Removed Files: MANIFEST.MF Log Message: removed files from old tutorial location they are in src/tutorials now --- MANIFEST.MF DELETED --- |
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/WEB-INF/classes/action In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/WEB-INF/classes/action Removed Files: AddArtistAction.java AddGalleryAction.java AddPaintingAction.java AddPaintingToGalleryAction.java ArtistPageAction.java GalleryPageAction.java RemovePaintingFromGalleryAction.java SaveArtistAction.java SaveGalleryAction.java SavePaintingAction.java SubmitPaintingToGalleryAction.java Log Message: removed files from old tutorial location they are in src/tutorials now --- AddArtistAction.java DELETED --- --- AddGalleryAction.java DELETED --- --- AddPaintingAction.java DELETED --- --- AddPaintingToGalleryAction.java DELETED --- --- ArtistPageAction.java DELETED --- --- GalleryPageAction.java DELETED --- --- RemovePaintingFromGalleryAction.java DELETED --- --- SaveArtistAction.java DELETED --- --- SaveGalleryAction.java DELETED --- --- SavePaintingAction.java DELETED --- --- SubmitPaintingToGalleryAction.java DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:13:51
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app/images In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app/images Removed Files: cayenne_logo.gif delete.gif edit.gif Log Message: removed files from old tutorial location they are in src/tutorials now --- cayenne_logo.gif DELETED --- --- delete.gif DELETED --- --- edit.gif DELETED --- |
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-cmd-app/test In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-cmd-app/test Removed Files: Artist.java Gallery.java Main.java Painting.java _Artist.java _Gallery.java _Painting.java Log Message: removed files from old tutorial location they are in src/tutorials now --- Artist.java DELETED --- --- Gallery.java DELETED --- --- Main.java DELETED --- --- Painting.java DELETED --- --- _Artist.java DELETED --- --- _Gallery.java DELETED --- --- _Painting.java DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:13:50
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-cmd-app In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-cmd-app Removed Files: cayenne.xml datamap.xml driverinfo.xml tutorialdb.sql Log Message: removed files from old tutorial location they are in src/tutorials now --- cayenne.xml DELETED --- --- datamap.xml DELETED --- --- driverinfo.xml DELETED --- --- tutorialdb.sql DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:13:50
|
Update of /cvsroot/cayenne/cayenne/doc/tutorial/cayenne-web-app In directory usw-pr-cvs1:/tmp/cvs-serv17767/doc/tutorial/cayenne-web-app Removed Files: addArtistPage.jsp addGalleryPage.jsp addPaintingPage.jsp artistBrowsePage.jsp artistDetailPage.jsp chooseGalleryPage.jsp galleryBrowsePage.jsp index.jsp navi.html styles.css tutorialdb.sql Log Message: removed files from old tutorial location they are in src/tutorials now --- addArtistPage.jsp DELETED --- --- addGalleryPage.jsp DELETED --- --- addPaintingPage.jsp DELETED --- --- artistBrowsePage.jsp DELETED --- --- artistDetailPage.jsp DELETED --- --- chooseGalleryPage.jsp DELETED --- --- galleryBrowsePage.jsp DELETED --- --- index.jsp DELETED --- --- navi.html DELETED --- --- styles.css DELETED --- --- tutorialdb.sql DELETED --- |
|
From: <me...@us...> - 2002-10-02 04:11:46
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app/java/test
In directory usw-pr-cvs1:/tmp/cvs-serv17421/src/tutorials/cayenne-cmd-app/java/test
Modified Files:
_Artist.java _Gallery.java _Painting.java
Log Message:
fixed documentation and code for command line tutorial
Index: _Artist.java
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app/java/test/_Artist.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- _Artist.java 1 Oct 2002 05:12:26 -0000 1.1
+++ _Artist.java 2 Oct 2002 04:11:43 -0000 1.2
@@ -10,26 +10,26 @@
*/
public class _Artist extends CayenneDataObject {
- public void setDateOfBirth(java.sql.Time dateOfBirth) {
- writeProperty("dateOfBirth", dateOfBirth);
+ public void setArtistName(String artistName) {
+ writeProperty("artistName", artistName);
}
- public java.sql.Time getDateOfBirth() {
- return (java.sql.Time)readProperty("dateOfBirth");
+ public String getArtistName() {
+ return (String)readProperty("artistName");
}
- public void setArtistName(java.lang.String artistName) {
- writeProperty("artistName", artistName);
+ public void setDateOfBirth(java.sql.Date dateOfBirth) {
+ writeProperty("dateOfBirth", dateOfBirth);
}
- public java.lang.String getArtistName() {
- return (java.lang.String)readProperty("artistName");
+ public java.sql.Date getDateOfBirth() {
+ return (java.sql.Date)readProperty("dateOfBirth");
}
- public void addToPaintingArray(test.Painting obj) {
+ public void addToPaintingArray(Painting obj) {
addToManyTarget("paintingArray", obj, true);
}
- public void removeFromPaintingArray(test.Painting obj) {
+ public void removeFromPaintingArray(Painting obj) {
removeToManyTarget("paintingArray", obj, true);
}
public List getPaintingArray() {
Index: _Gallery.java
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app/java/test/_Gallery.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- _Gallery.java 1 Oct 2002 05:12:26 -0000 1.1
+++ _Gallery.java 2 Oct 2002 04:11:43 -0000 1.2
@@ -10,18 +10,18 @@
*/
public class _Gallery extends CayenneDataObject {
- public void setGalleryName(java.lang.String galleryName) {
+ public void setGalleryName(String galleryName) {
writeProperty("galleryName", galleryName);
}
- public java.lang.String getGalleryName() {
- return (java.lang.String)readProperty("galleryName");
+ public String getGalleryName() {
+ return (String)readProperty("galleryName");
}
- public void addToPaintingArray(test.Painting obj) {
+ public void addToPaintingArray(Painting obj) {
addToManyTarget("paintingArray", obj, true);
}
- public void removeFromPaintingArray(test.Painting obj) {
+ public void removeFromPaintingArray(Painting obj) {
removeToManyTarget("paintingArray", obj, true);
}
public List getPaintingArray() {
Index: _Painting.java
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app/java/test/_Painting.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- _Painting.java 1 Oct 2002 05:12:26 -0000 1.1
+++ _Painting.java 2 Oct 2002 04:11:43 -0000 1.2
@@ -18,29 +18,29 @@
}
- public void setPaintingTitle(java.lang.String paintingTitle) {
+ public void setPaintingTitle(String paintingTitle) {
writeProperty("paintingTitle", paintingTitle);
}
- public java.lang.String getPaintingTitle() {
- return (java.lang.String)readProperty("paintingTitle");
+ public String getPaintingTitle() {
+ return (String)readProperty("paintingTitle");
}
- public void setToGallery(test.Gallery toGallery) {
- setToOneTarget("toGallery", toGallery, true);
+ public void setToArtist(Artist toArtist) {
+ setToOneTarget("toArtist", toArtist, true);
}
- public test.Gallery getToGallery() {
- return (test.Gallery)readProperty("toGallery");
+ public Artist getToArtist() {
+ return (Artist)readProperty("toArtist");
}
- public void setToArtist(test.Artist toArtist) {
- setToOneTarget("toArtist", toArtist, true);
+ public void setToGallery(Gallery toGallery) {
+ setToOneTarget("toGallery", toGallery, true);
}
- public test.Artist getToArtist() {
- return (test.Artist)readProperty("toArtist");
+ public Gallery getToGallery() {
+ return (Gallery)readProperty("toGallery");
}
|
|
From: <me...@us...> - 2002-10-02 04:11:46
|
Update of /cvsroot/cayenne/cayenne/xdocs/userguide/quickstart
In directory usw-pr-cvs1:/tmp/cvs-serv17421/xdocs/userguide/quickstart
Modified Files:
comline.xml
Log Message:
fixed documentation and code for command line tutorial
Index: comline.xml
===================================================================
RCS file: /cvsroot/cayenne/cayenne/xdocs/userguide/quickstart/comline.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- comline.xml 16 Jul 2002 20:32:49 -0000 1.15
+++ comline.xml 2 Oct 2002 04:11:44 -0000 1.16
@@ -15,11 +15,10 @@
using Cayenne. For a more detailed discussion read <a href="../appguide/index.html">"Writing
Cayenne Applications"</a> section.</p>
- <ul>
- <li><strong><a href=
- "http://objectstyle.org/cayenne/tutorial/cayenne-cmd-app.tar.gz">Download
- full tutorial source</a></strong></li>
- </ul>
+ <panel name="Note:">
+ Full tutorial source code is included in Cayenne distribution under
+ <code>src/tutorials</code> folder.
+ </panel>
<p>Tutorial steps:</p>
@@ -43,14 +42,16 @@
put it in JRE extendsions directory - eventually this will lead to
ClassNotFoundException problems.</p>
- <p>- Unpack downloaded tutorial file (<code>cayenne-cmd-app.tar.gz</code>)
- anywhere in the filesystem. A new directory named <code>cayenne-cmd-app</code>
- will be created. This directory is referred to as "project directory" further in
- this tutorial.</p>
+ <p>- Create a new folder named <code>cayenne-cmd-app</code>
+ anywhere in the filesystem. This directory is referred to as
+ "project directory" further in this chapter. Note that when you
+ are finished going through all the steps below, project directory
+ will become a mirror of this tutorial source folder distributed
+ with Cayenne.</p>
</subsection>
<subsection name="3.2.2 Prepare Tutorial Database" anchor="2">
- <p>Run <a href="../../tutorial/cayenne-cmd-app/tutorialdb.sql"><code>tutorialdb.sql</code></a>
+ <p>Run <a href="../../tutorials/cayenne-cmd-app/tutorialdb.sql"><code>tutorialdb.sql</code></a>
script located in the project directory to create test tables.
This script is tested on MySQL, but it should be easy to port to any other RDBMS.</p>
</subsection>
@@ -59,9 +60,9 @@
<p>Configuration files included in this tutorial are:
<ul>
- <li><a href="../../tutorial/cayenne-cmd-app/cayenne.xml">cayenne.xml</a></li>
- <li><a href="../../tutorial/cayenne-cmd-app/datamap.xml">datamap.xml</a></li>
- <li><a href="../../tutorial/cayenne-cmd-app/driverinfo.xml">driverinfo.xml</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/cayenne.xml">cayenne.xml</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/datamap.xml">datamap.xml</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/driverinfo.xml">driverinfo.xml</a></li>
</ul>
Open <code>cayenne.xml</code>
@@ -84,45 +85,48 @@
</subsection>
<subsection name="3.2.5 Generate Java Code for DataObjects" anchor="5">
- <p>Use CayenneModeler to generate Java classes for DataObjects by going to
- <strong>"Tools -> Generate Classes"</strong> and selecting the project directory
- in the opened popup:</p>
+ <p>Create "<code>java</code>" subdirectory in the project directory.
+ Use CayenneModeler to generate Java classes for DataObjects by going to
+ <strong>"Tools -> Generate Classes"</strong> and selecting the newly created
+ "java" directory in the opened popup:</p>
<img src="/images/classgen.gif" width="546" height="489" border="0" align="middle"
alt="Generate Classes Dialog"/>
<p>After the generation
- is done, the following files should appear in the <code>test</code> subdirectory of the
+ is done, the following files should appear in the <code>java/test</code> subdirectory of the
project directory:
<ul>
- <li><a href="../../tutorial/cayenne-cmd-app/test/_Artist.java">_Artist.java</a></li>
- <li><a href="../../tutorial/cayenne-cmd-app/test/Artist.java">Artist.java</a></li>
- <li><a href="../../tutorial/cayenne-cmd-app/test/_Painting.java">_Painting.java</a></li>
- <li><a href="../../tutorial/cayenne-cmd-app/test/Painting.java">Painting.java</a></li>
- <li><a href="../../tutorial/cayenne-cmd-app/test/_Gallery.java">_Gallery.java</a></li>
- <li><a href="../../tutorial/cayenne-cmd-app/test/Gallery.java">Gallery.java</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/java/test/_Artist.java">_Artist.java</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/java/test/Artist.java">Artist.java</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/java/test/_Painting.java">_Painting.java</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/java/test/Painting.java">Painting.java</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/java/test/_Gallery.java">_Gallery.java</a></li>
+ <li><a href="../../tutorials/cayenne-cmd-app/java/test/Gallery.java">Gallery.java</a></li>
</ul>
</p>
</subsection>
<subsection name="3.2.6 Application Code" anchor="6">
<p>A simple application that uses Cayenne is located in
- <a href="../../tutorial/cayenne-cmd-app/test/Main.java">Main.java</a>.
+ <a href="../../tutorials/cayenne-cmd-app/java/test/Main.java">Main.java</a>.
+ Copy the source file to the java/test project subdirectory.
</p>
</subsection>
<subsection name="3.2.7 Compile and Run the Application" anchor="7">
- <p>Compile the source code (assume that JAVA_HOME variable points to the JSDK 1.4 installation).
+ <p>Compile the source code
+ (assume that JAVA_HOME variable points to the JSDK 1.4 installation).
On Windows:</p>
<source>
projectdir> set CLASSPATH=%CLASSPATH%;%CAYENNE_HOME%\lib\cayenne.jar
-projectdir> %JAVA_HOME%\bin\javac test\*.java
+projectdir> %JAVA_HOME%\bin\javac java\test\*.java
</source>
<p>On UNIX:</p>
<source>
projectdir# export CLASSPATH=$CLASSPATH:$CAYENNE_HOME/lib/cayenne.jar
-projectdir# $JAVA_HOME/bin/javac test/*.java
+projectdir# $JAVA_HOME/bin/javac java/test/*.java
</source>
@@ -132,7 +136,7 @@
to the found gallery. To run the tutorial do something like this (example given for Windows):
</p>
<source>
-projectdir> set CLASSPATH=%CLASSPATH%;.
+projectdir> set CLASSPATH=%CLASSPATH%;java
projectdir> %JAVA_HOME%\bin\java test.Main metro
</source>
|
|
From: <me...@us...> - 2002-10-02 04:11:46
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app In directory usw-pr-cvs1:/tmp/cvs-serv17421/src/tutorials/cayenne-cmd-app Modified Files: cayenne.xml datamap.xml Log Message: fixed documentation and code for command line tutorial Index: cayenne.xml =================================================================== RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app/cayenne.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- cayenne.xml 1 Oct 2002 05:12:26 -0000 1.1 +++ cayenne.xml 2 Oct 2002 04:11:43 -0000 1.2 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <domains> <domain name="DefaultDomain"> - <map name="datamap" location="datamap.xml"/> + <map name="datamap" location="datamap.xml"/> <node name="datanode" datasource="driverinfo.xml" adapter="org.objectstyle.cayenne.dba.mysql.MySQLAdapter" Index: datamap.xml =================================================================== RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app/datamap.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- datamap.xml 1 Oct 2002 05:12:26 -0000 1.1 +++ datamap.xml 2 Oct 2002 04:11:43 -0000 1.2 @@ -1,24 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> <data-map> - <db-entity name="ARTIST" schema=""> - <db-attribute name="DATE_OF_BIRTH" type="TIME" length="8"/> + <db-entity name="ARTIST"> <db-attribute name="ARTIST_ID" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="11"/> <db-attribute name="ARTIST_NAME" type="CHAR" isMandatory="true" length="255"/> + <db-attribute name="DATE_OF_BIRTH" type="DATE" length="8"/> </db-entity> - <db-entity name="GALLERY" schema=""> + <db-entity name="GALLERY"> <db-attribute name="GALLERY_ID" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="11"/> <db-attribute name="GALLERY_NAME" type="VARCHAR" isMandatory="true" length="100"/> </db-entity> - <db-entity name="PAINTING" schema=""> - <db-attribute name="PAINTING_TITLE" type="VARCHAR" isMandatory="true" length="255"/> - <db-attribute name="GALLERY_ID" type="INTEGER" length="11"/> + <db-entity name="PAINTING"> + <db-attribute name="ARTIST_ID" type="INTEGER" length="11"/> <db-attribute name="ESTIMATED_PRICE" type="DECIMAL" length="10"/> + <db-attribute name="GALLERY_ID" type="INTEGER" length="11"/> <db-attribute name="PAINTING_ID" type="INTEGER" isPrimaryKey="true" isMandatory="true" length="11"/> - <db-attribute name="ARTIST_ID" type="INTEGER" length="11"/> + <db-attribute name="PAINTING_TITLE" type="VARCHAR" isMandatory="true" length="255"/> </db-entity> <obj-entity name="Artist" className="test.Artist" dbEntityName="ARTIST"> - <obj-attribute name="dateOfBirth" type="java.sql.Time" db-attribute-name="DATE_OF_BIRTH"/> <obj-attribute name="artistName" type="java.lang.String" db-attribute-name="ARTIST_NAME"/> + <obj-attribute name="dateOfBirth" type="java.sql.Date" db-attribute-name="DATE_OF_BIRTH"/> </obj-entity> <obj-entity name="Gallery" className="test.Gallery" dbEntityName="GALLERY"> <obj-attribute name="galleryName" type="java.lang.String" db-attribute-name="GALLERY_NAME"/> @@ -33,22 +33,22 @@ <db-relationship name="paintingArray" source="GALLERY" target="PAINTING" toDependentPK="false" toMany="true"> <db-attribute-pair source="GALLERY_ID" target="GALLERY_ID"/> </db-relationship> - <db-relationship name="toGallery" source="PAINTING" target="GALLERY" toDependentPK="false" toMany="false"> - <db-attribute-pair source="GALLERY_ID" target="GALLERY_ID"/> - </db-relationship> <db-relationship name="toArtist" source="PAINTING" target="ARTIST" toDependentPK="false" toMany="false"> <db-attribute-pair source="ARTIST_ID" target="ARTIST_ID"/> </db-relationship> + <db-relationship name="toGallery" source="PAINTING" target="GALLERY" toDependentPK="false" toMany="false"> + <db-attribute-pair source="GALLERY_ID" target="GALLERY_ID"/> + </db-relationship> <obj-relationship name="paintingArray" source="Artist" target="Painting" toMany="true"> <db-relationship-ref source="ARTIST" target="PAINTING" name="paintingArray"/> </obj-relationship> <obj-relationship name="paintingArray" source="Gallery" target="Painting" toMany="true"> <db-relationship-ref source="GALLERY" target="PAINTING" name="paintingArray"/> </obj-relationship> - <obj-relationship name="toGallery" source="Painting" target="Gallery" toMany="false"> - <db-relationship-ref source="PAINTING" target="GALLERY" name="toGallery"/> - </obj-relationship> <obj-relationship name="toArtist" source="Painting" target="Artist" toMany="false"> <db-relationship-ref source="PAINTING" target="ARTIST" name="toArtist"/> + </obj-relationship> + <obj-relationship name="toGallery" source="Painting" target="Gallery" toMany="false"> + <db-relationship-ref source="PAINTING" target="GALLERY" name="toGallery"/> </obj-relationship> </data-map> |
|
From: <me...@us...> - 2002-10-02 03:50:04
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app
In directory usw-pr-cvs1:/tmp/cvs-serv13010/src/tutorials/cayenne-cmd-app
Modified Files:
build.xml
Log Message:
fixed build scripts to use new tutorial source folders
Index: build.xml
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-cmd-app/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- build.xml 1 Oct 2002 05:12:26 -0000 1.1
+++ build.xml 2 Oct 2002 03:50:00 -0000 1.2
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
-
<!-- =============================================== -->
<!-- cayenne-cmd-app tutorial buildfile. -->
<!-- =============================================== -->
@@ -8,6 +7,7 @@
<property name="tutorial.subpath" value="tutorials/cayenne-cmd-app"/>
<property name="tutorial.build" value="${build}/${tutorial.subpath}/classes"/>
<property name="tutorial.src" value="src/${tutorial.subpath}/java"/>
+ <property name="tutorial.dist" value="${dist}/src/${tutorial.subpath}"/>
<path id="classpath">
@@ -20,23 +20,24 @@
<target name="prepare">
<mkdir dir="${tutorial.build}"/>
+ <mkdir dir="${tutorial.dist}"/>
</target>
<target name="compile" depends="prepare">
- <javac srcdir="${tutorial.src}"
- destdir="${tutorial.build}"
- debug="on"
- deprecation="on">
+ <javac srcdir="${tutorial.src}"
+ destdir="${tutorial.build}"
+ debug="on"
+ deprecation="on">
<classpath refid="classpath"/>
</javac>
</target>
- <target name="dist-src">
-
- </target>
-
- <target name="dist-bin" depends="compile">
-
+ <target name="dist-src" depends="prepare">
+ <copy todir="${tutorial.dist}">
+ <fileset dir="src/${tutorial.subpath}">
+ <exclude name="build.xml"/>
+ </fileset>
+ </copy>
</target>
</project>
|
|
From: <me...@us...> - 2002-10-02 03:50:04
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-web-app/WEB-INF/classes/action
In directory usw-pr-cvs1:/tmp/cvs-serv13010/src/tutorials/cayenne-web-app/WEB-INF/classes/action
Modified Files:
SubmitPaintingToGalleryAction.java
Log Message:
fixed build scripts to use new tutorial source folders
Index: SubmitPaintingToGalleryAction.java
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-web-app/WEB-INF/classes/action/SubmitPaintingToGalleryAction.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- SubmitPaintingToGalleryAction.java 1 Oct 2002 05:12:27 -0000 1.1
+++ SubmitPaintingToGalleryAction.java 2 Oct 2002 03:50:01 -0000 1.2
@@ -46,8 +46,6 @@
List paintings = ctxt.performQuery(query);
Painting painting = (Painting) paintings.get(0);
- System.err.println("painting: " + painting);
-
qual =
ExpressionFactory.binaryPathExp(
Expression.EQUAL_TO,
|
|
From: <me...@us...> - 2002-10-02 03:50:04
|
Update of /cvsroot/cayenne/cayenne
In directory usw-pr-cvs1:/tmp/cvs-serv13010
Modified Files:
build-doc.xml build-tutorials.xml build.xml
Log Message:
fixed build scripts to use new tutorial source folders
Index: build-doc.xml
===================================================================
RCS file: /cvsroot/cayenne/cayenne/build-doc.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- build-doc.xml 9 Sep 2002 01:17:37 -0000 1.7
+++ build-doc.xml 2 Oct 2002 03:50:00 -0000 1.8
@@ -18,16 +18,7 @@
<!-- ============================================= -->
<target name="release-site" depends="nositedir,prepare,doc,api">
<delete dir="${site.dir}/cayenne"/>
- <mkdir dir="${site.dir}/cayenne"/>
-
- <!-- copy tutorial distros -->
- <antcall target="tutorial-dist">
- <param name="tutorial.name" value="cayenne-cmd-app"/>
- </antcall>
- <antcall target="tutorial-dist">
- <param name="tutorial.name" value="cayenne-web-app"/>
- </antcall>
-
+ <mkdir dir="${site.dir}/cayenne"/>
<!-- copy all but HTML -->
<copy todir="${site.dir}/cayenne">
@@ -57,7 +48,6 @@
<mkdir dir="${dist}/doc"/>
<mkdir dir="${dist}/doc/api"/>
<mkdir dir="${dist}/doc/dtd"/>
- <mkdir dir="${dist}/doc/tutorial"/>
</target>
@@ -71,7 +61,7 @@
<!-- ========================================== -->
<!-- Creates a fulldocumentation build. -->
<!-- ========================================== -->
- <target name="dist-src" depends="doc,api,tutorials"/>
+ <target name="dist-src" depends="doc,api"/>
<!-- ========================================== -->
@@ -109,51 +99,7 @@
<include name="**/*.dtd"/>
</fileset>
</copy>
- </target>
-
-
- <!-- ========================================== -->
- <!-- Distributes Cayenne tutorials. -->
- <!-- ========================================== -->
- <target name="tutorials" depends="prepare">
- <antcall target="tutorial-src">
- <param name="tutorial.name" value="cayenne-cmd-app"/>
- </antcall>
- <antcall target="tutorial-src">
- <param name="tutorial.name" value="cayenne-web-app"/>
- </antcall>
- </target>
-
-
- <!-- ========================================== -->
- <!-- Distributes a single Cayenne tutorial. -->
- <!-- ========================================== -->
- <target name="tutorial-src" if="tutorial.name">
- <!-- copy unpacked tutorial files -->
- <copy todir="${dist}/doc/tutorial" filtering="no">
- <fileset dir="doc/tutorial">
- <include name="${tutorial.name}/**"/>
- </fileset>
- </copy>
- </target>
-
- <target name="tutorial-dist" if="tutorial.name">
- <!-- package tutorial files for single click download -->
- <tar tarfile="${dist}/doc/tutorial/${tutorial.name}.tar">
- <tarfileset dir="${dist}/doc/tutorial">
- <include name="${tutorial.name}/**"/>
-
- <!-- exclude files that should be autogenerated by Cayenne -->
- <exclude name="**/*Artist.java"/>
- <exclude name="**/*Painting.java"/>
- <exclude name="**/*Gallery.java"/>
- </tarfileset>
- </tar>
- <gzip src="${dist}/doc/tutorial/${tutorial.name}.tar"
- zipfile="${dist}/doc/tutorial/${tutorial.name}.tar.gz"/>
- <delete file="${dist}/doc/tutorial/${tutorial.name}.tar"/>
- </target>
-
+ </target>
<!-- ========================================== -->
<!-- Copies documentation images in the target -->
Index: build-tutorials.xml
===================================================================
RCS file: /cvsroot/cayenne/cayenne/build-tutorials.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- build-tutorials.xml 1 Oct 2002 05:12:26 -0000 1.1
+++ build-tutorials.xml 2 Oct 2002 03:50:00 -0000 1.2
@@ -17,10 +17,30 @@
<ant antfile="src/tutorials/cayenne-cmd-app/build.xml" target="dist-src"/>
<ant antfile="src/tutorials/cayenne-web-app/build.xml" target="dist-src"/>
</target>
-
- <target name="dist-bin">
- <ant antfile="src/tutorials/cayenne-cmd-app/build.xml" target="dist-bin"/>
- <ant antfile="src/tutorials/cayenne-web-app/build.xml" target="dist-bin"/>
+
+ <target name="release-site" depends="nositedir,dist-src">
+ <mkdir dir="${site.dir}/cayenne/tutorials"/>
+
+ <copy todir="${site.dir}/cayenne/tutorials">
+ <fileset dir="${dist}/src/tutorials"/>
+ </copy>
+ </target>
+
+ <target name="doc" depends="dist-src">
+ <mkdir dir="${dist}/doc/tutorials"/>
+
+ <copy todir="${dist}/doc/tutorials">
+ <fileset dir="${dist}/src/tutorials"/>
+ </copy>
</target>
+
+
+ <!-- Simply calls compile task. Exists in the project -->
+ <!-- for consistency with other subproject buildfiles. -->
+ <target name="dist-bin" depends="compile"/>
+
+ <target name="nositedir" unless="site.dir">
+ <fail>"site.dir" must be defined.</fail>
+ </target>
</project>
Index: build.xml
===================================================================
RCS file: /cvsroot/cayenne/cayenne/build.xml,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- build.xml 1 Oct 2002 05:12:26 -0000 1.40
+++ build.xml 2 Oct 2002 03:50:00 -0000 1.41
@@ -57,9 +57,10 @@
<!-- Creates a full release of Cayenne. -->
<!-- ============================================= -->
<target name="release">
- <ant antfile="build-doc.xml" target="dist-src"/>
<ant antfile="build-cayenne.xml" target="dist-src"/>
<ant antfile="build-tests.xml" target="dist-src"/>
+ <ant antfile="build-tutorials.xml" target="dist-src"/>
+ <ant antfile="build-doc.xml" target="dist-src"/>
<copy todir="${dist}" file="doc/release-notes/RELEASE-NOTES-${project.version}.txt"/>
@@ -68,6 +69,7 @@
<include name="${project.name}-${project.version}/**"/>
</tarfileset>
</tar>
+
<gzip src="${dist.base}/${project.name}-src-${project.version}.tar"
zipfile="${dist.base}/${project.name}-src-${project.version}.tar.gz"/>
<delete file="${dist.base}/${project.name}-src-${project.version}.tar"/>
@@ -81,12 +83,13 @@
<target name="release-site">
<ant antfile="build-cayenne.xml" target="dist-src"/>
<ant antfile="build-tests.xml" target="dist-src"/>
+ <ant antfile="build-tutorials.xml" target="release-site"/>
<ant antfile="build-doc.xml" target="release-site"/>
</target>
<!-- ========================================== -->
- <!-- Builds all Cayenne Java subprojects. -->
+ <!-- Builds all Cayenne Java subproject JARS. -->
<!-- ========================================== -->
<target name="build">
<ant antfile="build-cayenne.xml" target="dist-bin"/>
@@ -129,6 +132,7 @@
<!-- ========================================== -->
<target name="doc">
<ant antfile="build-doc.xml" target="doc"/>
+ <ant antfile="build-tutorials.xml" target="doc"/>
</target>
|
|
From: <me...@us...> - 2002-10-02 03:50:03
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-web-app
In directory usw-pr-cvs1:/tmp/cvs-serv13010/src/tutorials/cayenne-web-app
Modified Files:
build.xml
Log Message:
fixed build scripts to use new tutorial source folders
Index: build.xml
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/tutorials/cayenne-web-app/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- build.xml 1 Oct 2002 05:12:26 -0000 1.1
+++ build.xml 2 Oct 2002 03:50:00 -0000 1.2
@@ -8,7 +8,7 @@
<property name="tutorial.subpath" value="tutorials/cayenne-web-app"/>
<property name="tutorial.build" value="${build}/${tutorial.subpath}/classes"/>
<property name="tutorial.src" value="src/${tutorial.subpath}/WEB-INF/classes"/>
-
+ <property name="tutorial.dist" value="${dist}/src/${tutorial.subpath}"/>
<path id="classpath">
<fileset dir="otherlib">
@@ -32,11 +32,11 @@
</javac>
</target>
- <target name="dist-src">
-
- </target>
-
- <target name="dist-bin" depends="compile">
-
+ <target name="dist-src" depends="prepare">
+ <copy todir="${tutorial.dist}">
+ <fileset dir="src/${tutorial.subpath}">
+ <exclude name="build.xml"/>
+ </fileset>
+ </copy>
</target>
</project>
|
|
From: <me...@us...> - 2002-10-01 06:07:34
|
Update of /cvsroot/cayenne/cayenne/src/tests/java/org/objectstyle/cayenne/access
In directory usw-pr-cvs1:/tmp/cvs-serv5239/src/tests/java/org/objectstyle/cayenne/access
Modified Files:
DataContextTst.java
Log Message:
fixed oracle adapter broken as a result of recent
translator changes.
Unit testing rules !!!
Index: DataContextTst.java
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/tests/java/org/objectstyle/cayenne/access/DataContextTst.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- DataContextTst.java 21 Sep 2002 14:36:02 -0000 1.4
+++ DataContextTst.java 1 Oct 2002 06:07:31 -0000 1.5
@@ -268,7 +268,7 @@
q.andQualifier(
ExpressionFactory.matchDbExp("toArtist.ARTIST_NAME", artistName(2)));
q.addPrefetch("toArtist");
- q.setLoggingLevel(Level.INFO);
+ // q.setLoggingLevel(Level.INFO);
List results = ctxt.performQuery(q);
assertEquals(1, results.size());
@@ -283,7 +283,7 @@
SelectQuery q = new SelectQuery("Painting");
q.andQualifier(ExpressionFactory.matchExp("toArtist.artistName", artistName(2)));
q.addPrefetch("toArtist");
- q.setLoggingLevel(Level.INFO);
+ // q.setLoggingLevel(Level.INFO);
List results = ctxt.performQuery(q);
assertEquals(1, results.size());
@@ -522,7 +522,7 @@
/** Give each artist a single painting. */
public void populatePaintings() throws Exception {
String insertPaint =
- "INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (?,?,?, ?)";
+ "INSERT INTO PAINTING (PAINTING_ID, PAINTING_TITLE, ARTIST_ID, ESTIMATED_PRICE) VALUES (?, ?, ?, ?)";
Connection conn = getSharedConnection();
|
|
From: <me...@us...> - 2002-10-01 06:07:34
|
Update of /cvsroot/cayenne/cayenne/src/cayenne/java/org/objectstyle/cayenne/dba/oracle
In directory usw-pr-cvs1:/tmp/cvs-serv5239/src/cayenne/java/org/objectstyle/cayenne/dba/oracle
Modified Files:
OracleQualifierTranslator.java
Log Message:
fixed oracle adapter broken as a result of recent
translator changes.
Unit testing rules !!!
Index: OracleQualifierTranslator.java
===================================================================
RCS file: /cvsroot/cayenne/cayenne/src/cayenne/java/org/objectstyle/cayenne/dba/oracle/OracleQualifierTranslator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- OracleQualifierTranslator.java 8 Sep 2002 22:46:47 -0000 1.1
+++ OracleQualifierTranslator.java 1 Oct 2002 06:07:31 -0000 1.2
@@ -61,6 +61,7 @@
import org.objectstyle.cayenne.access.trans.QualifierTranslator;
import org.objectstyle.cayenne.map.DbAttribute;
import org.objectstyle.cayenne.map.DbEntity;
+import org.objectstyle.cayenne.map.DbRelationship;
/**
* Sequence-based primary key generator implementation for Oracle.
@@ -82,14 +83,34 @@
*/
public class OracleQualifierTranslator extends QualifierTranslator {
+ /**
+ * Adds special handling of CHAR columns.
+ */
protected void processColumn(StringBuffer buf, DbAttribute dbAttr) {
if (dbAttr.getType() == Types.CHAR) {
buf.append("TRIM(TRAILING FROM ");
super.processColumn(buf, dbAttr);
buf.append(')');
- }
- else {
+ } else {
super.processColumn(buf, dbAttr);
+ }
+ }
+
+ /**
+ * Adds special handling of CHAR columns.
+ *
+ * @see org.objectstyle.cayenne.access.trans.QueryAssemblerHelper#processColumn(StringBuffer, DbAttribute, DbRelationship)
+ */
+ protected void processColumn(
+ StringBuffer buf,
+ DbAttribute dbAttr,
+ DbRelationship rel) {
+ if (dbAttr.getType() == Types.CHAR) {
+ buf.append("TRIM(TRAILING FROM ");
+ super.processColumn(buf, dbAttr, rel);
+ buf.append(')');
+ } else {
+ super.processColumn(buf, dbAttr, rel);
}
}
}
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-web-app/WEB-INF/classes/webtest
In directory usw-pr-cvs1:/tmp/cvs-serv26389/src/tutorials/cayenne-web-app/WEB-INF/classes/webtest
Added Files:
Artist.java CustomConfiguration.java Gallery.java
Painting.java _Artist.java _Gallery.java _Painting.java
Log Message:
relocated tutorials to a subproject
(old tutorials are still around but will be deleted soon)
--- NEW FILE: Artist.java ---
package webtest;
public class Artist extends _Artist {
}
--- NEW FILE: CustomConfiguration.java ---
package webtest;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.objectstyle.cayenne.conf.ServletConfiguration;
/**
* Special subclass of ServletConfiguration that enables
* logging of Cayenne queries and can also perform some
* custom tasks on servlet container startup.
*/
public class CustomConfiguration extends ServletConfiguration {
static Logger logObj = Logger.getLogger(CustomConfiguration.class);
public CustomConfiguration() {
super();
configureLogging();
}
private void configureLogging() {
// debug configuration
setLoggingLevel(Level.WARN);
}
}
--- NEW FILE: Gallery.java ---
package webtest;
public class Gallery extends _Gallery {
}
--- NEW FILE: Painting.java ---
package webtest;
public class Painting extends _Painting {
}
--- NEW FILE: _Artist.java ---
package webtest;
import java.util.List;
import org.objectstyle.cayenne.CayenneDataObject;
/** Class _Artist was generated by Cayenne.
* It is probably a good idea to avoid changing this class manually,
* since it may be overwritten next time code is regenerated.
* If you need to make any customizations, please use subclass.
*/
public class _Artist extends CayenneDataObject {
public void setDateOfBirth(java.sql.Date dateOfBirth) {
writeProperty("dateOfBirth", dateOfBirth);
}
public java.sql.Date getDateOfBirth() {
return (java.sql.Date)readProperty("dateOfBirth");
}
public void setArtistName(java.lang.String artistName) {
writeProperty("artistName", artistName);
}
public java.lang.String getArtistName() {
return (String)readProperty("artistName");
}
public void addToPaintingArray(webtest.Painting obj) {
addToManyTarget("paintingArray", obj, true);
}
public void removeFromPaintingArray(webtest.Painting obj) {
removeToManyTarget("paintingArray", obj, true);
}
public List getPaintingArray() {
return (List)readProperty("paintingArray");
}
}
--- NEW FILE: _Gallery.java ---
package webtest;
import java.util.List;
import org.objectstyle.cayenne.CayenneDataObject;
/** Class _Gallery was generated by Cayenne.
* It is probably a good idea to avoid changing this class manually,
* since it may be overwritten next time code is regenerated.
* If you need to make any customizations, please use subclass.
*/
public class _Gallery extends CayenneDataObject {
public void setGalleryName(String galleryName) {
writeProperty("galleryName", galleryName);
}
public java.lang.String getGalleryName() {
return (String)readProperty("galleryName");
}
public void addToPaintingArray(webtest.Painting obj) {
addToManyTarget("paintingArray", obj, true);
}
public void removeFromPaintingArray(webtest.Painting obj) {
removeToManyTarget("paintingArray", obj, true);
}
public List getPaintingArray() {
return (List)readProperty("paintingArray");
}
}
--- NEW FILE: _Painting.java ---
package webtest;
import org.objectstyle.cayenne.CayenneDataObject;
/** Class _Painting was generated by Cayenne.
* It is probably a good idea to avoid changing this class manually,
* since it may be overwritten next time code is regenerated.
* If you need to make any customizations, please use subclass.
*/
public class _Painting extends CayenneDataObject {
public void setEstimatedPrice(java.math.BigDecimal estimatedPrice) {
writeProperty("estimatedPrice", estimatedPrice);
}
public java.math.BigDecimal getEstimatedPrice() {
return (java.math.BigDecimal)readProperty("estimatedPrice");
}
public void setPaintingTitle(String paintingTitle) {
writeProperty("paintingTitle", paintingTitle);
}
public java.lang.String getPaintingTitle() {
return (String)readProperty("paintingTitle");
}
public void setToGallery(webtest.Gallery toGallery) {
setToOneTarget("toGallery", toGallery, true);
}
public webtest.Gallery getToGallery() {
return (webtest.Gallery)readProperty("toGallery");
}
public void setToArtist(webtest.Artist toArtist) {
setToOneTarget("toArtist", toArtist, true);
}
public webtest.Artist getToArtist() {
return (webtest.Artist)readProperty("toArtist");
}
}
|
|
From: <me...@us...> - 2002-10-01 05:12:31
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-web-app/images In directory usw-pr-cvs1:/tmp/cvs-serv26389/src/tutorials/cayenne-web-app/images Added Files: cayenne_logo.gif delete.gif edit.gif Log Message: relocated tutorials to a subproject (old tutorials are still around but will be deleted soon) --- NEW FILE: cayenne_logo.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: delete.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: edit.gif --- (This appears to be a binary file; contents omitted.) |
|
From: <me...@us...> - 2002-10-01 05:12:31
|
Update of /cvsroot/cayenne/cayenne/src/tutorials/cayenne-web-app/WEB-INF/lib In directory usw-pr-cvs1:/tmp/cvs-serv26389/src/tutorials/cayenne-web-app/WEB-INF/lib Added Files: README-lib.txt Log Message: relocated tutorials to a subproject (old tutorials are still around but will be deleted soon) --- NEW FILE: README-lib.txt --- Copy cayenne.jar and struts.jar in this directory |