Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-castor/src/test/java/org/xdoclet/plugin/castor/complete
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14471
Added Files:
AlternateRequest.java AnotherRequest.java
ExtendsNoMapping.java NoMappingRequest.java OtherRequest.java
Request.java
Log Message:
Initial ersion of castor plugin
--- NEW FILE: AlternateRequest.java ---
/*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.castor.complete;
/**
* @castor.class extends="alternate-depends" depends="depends-test-value"
auto-complete="true"
* identity="identity-test-value" access="exclusive"
key-generator="key-generator-test-value"
* description="description-test-value" table="table-test-value"
xml="xml-test-value"
* ns-uri="ns-uri-test-value" ns-prefix="ns-prefix-test-value"
ldap-dn="ldap-dn-test-value"
* ldap-oc="ldap-oc-test-value" cache-type="count-limited"
* cache-capacity="100" verify-constructable="false"
*/
public class AlternateRequest {
/**
* @castor.field type="type-test-value" required="true" direct="true"
lazy="true" transient="true"
* set-method="set-method-test-value"
get-method="get-method-test-value"
* create-method="create-method-test-value" collection="set"
handler="handler-test-value"
* @castor.field-xml name="name-test-value" auto-naming="deriveByField"
type="type-test-value"
* location="location-test-value" qname-prefix="qname-test-value"
reference="true"
* matches="matches-test-value" node="element" transient="true"
*/
private String altField0;
private String altField1;
/**
* Creates a new AlternateRequest object.
*/
public AlternateRequest() {
// Empty
}
public String getAltField0() {
return this.altField0;
}
public void setAltField0(String altField0) {
this.altField0 = altField0;
}
public String getAltField1() {
return this.altField1;
}
/**
* @castor.field required="true" direct="false" lazy="false"
transient="true"
* set-method="set-method-test-value"
get-method="get-method-test-value"
* create-method="create-method-test-value" collection="set"
handler="handler-test-value"
* @castor.field-xml name="name-test-value" auto-naming="deriveByClass"
type="type-test-value"
* location="location-test-value" qname-prefix="qname-test-value"
reference="false"
* matches="matches-test-value" node="text" transient="false"
*/
public void setAltField1(String altField1) {
this.altField1 = altField1;
}
}
--- NEW FILE: Request.java ---
/*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.castor.complete;
/**
* @castor.class xml="MyRequest" auto-complete="false"
*/
public class Request {
/**
* @castor.field
*/
public Integer name5;
/**
* @castor.field type="string"
*/
public String name2;
public String name3;
/**
* @castor.field
*/
public Integer[] name6;
/**
* @castor.field
*/
public int name4;
/**
* @castor.field type="string"
* @castor.field-xml name="TheName"
*/
private String name;
/**
* Creates a new Request object.
*/
public Request() {
// Empty
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getName2() {
return this.name2;
}
public void setName2(String name2) {
this.name2 = name2;
}
public String getName3() {
return this.name3;
}
/**
* @castor.field type="string"
*/
public void setName3(String name3) {
this.name3 = name3;
}
}
--- NEW FILE: OtherRequest.java ---
/*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.castor.complete;
/**
* @castor.class
*/
public class OtherRequest extends Request {
/**
* @castor.field
*/
public String name7;
public OtherRequest() {
// Empty
}
public String getName7() {
return this.name7;
}
public void setName7(String name7) {
this.name7 = name7;
}
}
--- NEW FILE: AnotherRequest.java ---
/*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.castor.complete;
import java.math.BigDecimal;
/**
* @castor.class
*/
public class AnotherRequest extends Request {
/** @castor.field */
private Object obj1;
/** @castor.field */
private BigDecimal obj2;
public AnotherRequest() {
// Empty
}
public Object getObj1() {
return this.obj1;
}
public void setObj1(Object obj1) {
this.obj1 = obj1;
}
public BigDecimal getObj2() {
return this.obj2;
}
public void setObj2(BigDecimal obj2) {
this.obj2 = obj2;
}
}
--- NEW FILE: ExtendsNoMapping.java ---
/*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.castor.complete;
/**
* @castor.class
*/
public class ExtendsNoMapping extends NoMappingRequest {
/**
* @castor.field
*/
public String name10;
public String getName10() {
return this.name10;
}
public void setName10(String name10) {
this.name10 = name10;
}
}
--- NEW FILE: NoMappingRequest.java ---
/*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.castor.complete;
/**
* Deliberate left castor tag out
*/
public class NoMappingRequest extends Request {
/**
* @castor.field
*/
public String name8;
/**
* @castor.field
*/
public String name9;
public String getName8() {
return this.name8;
}
public void setName8(String name8) {
this.name8 = name8;
}
public String getName9() {
return this.name9;
}
public void setName9(String name9) {
this.name9 = name9;
}
}
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits