/*
* DO NOT EDIT!
*
* This file was generated by the Breeze XML Studio code generator.
*
* Project: DDJ
* Class Name: News
* Date: Mon Oct 28 15:40:42 BST 2002
* Breeze Version: 3.0.0 build 345
*
* IMPORTANT: Please see your Breeze license for more information on
* where and how this generated code may be used.
*
*/
package com.ddj.wsstruts.valueobject;
import com.tbf.xml.*;
import com.tbf.util.*;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Vector;
/**
* News class.
*
*/
public class News
implements com.tbf.xml.XmlObject,
java.io.Serializable {
/**
* Constant for "newsTypeOther" node name.
*/
public static final String $NEWS_TYPE_OTHER = "newsTypeOther";
/**
* Constant for "activeLN" node name.
*/
public static final String $ACTIVE_LN = "activeLN";
/**
* Constant for "approvedBy" node name.
*/
public static final String $APPROVED_BY = "approvedBy";
/**
* Constant for "newsContent" node name.
*/
public static final String $NEWS_CONTENT = "newsContent";
/**
* Constant for "dateApproved" node name.
*/
public static final String $DATE_APPROVED = "dateApproved";
/**
* Constant for "activeCD" node name.
*/
public static final String $ACTIVE_CD = "activeCD";
/**
* Constant for "userName" node name.
*/
public static final String $USER_NAME = "userName";
/**
* Constant for "columnNo" node name.
*/
public static final String $COLUMN_NO = "columnNo";
/**
* Constant for "durationLN" node name.
*/
public static final String $DURATION_LN = "durationLN";
/**
* Constant for "notes" node name.
*/
public static final String $NOTES = "notes";
/**
* Constant for "orderBy" node name.
*/
public static final String $ORDER_BY = "orderBy";
/**
* Constant for "newsID" node name.
*/
public static final String $NEWS_ID = "newsID";
/**
* Constant for "News" node name.
*/
public static final String $NEWS = "News";
/**
* Constant for "approvedLN" node name.
*/
public static final String $APPROVED_LN = "approvedLN";
/**
* Constant for "durationCD" node name.
*/
public static final String $DURATION_CD = "durationCD";
/**
* Constant for "newsTypeLN" node name.
*/
public static final String $NEWS_TYPE_LN = "newsTypeLN";
/**
* Constant for "validationErrors" node name.
*/
public static final String $VALIDATION_ERRORS = "validationErrors";
/**
* Constant for "approvedCD" node name.
*/
public static final String $APPROVED_CD = "approvedCD";
/**
* Constant for "contentTypeLN" node name.
*/
public static final String $CONTENT_TYPE_LN = "contentTypeLN";
/**
* Constant for "newsTypeCD" node name.
*/
public static final String $NEWS_TYPE_CD = "newsTypeCD";
/**
* Constant for "newsHeading" node name.
*/
public static final String $NEWS_HEADING = "newsHeading";
/**
* Constant for "dateSubmitted" node name.
*/
public static final String $DATE_SUBMITTED = "dateSubmitted";
/**
* Constant for "contentTypeCD" node name.
*/
public static final String $CONTENT_TYPE_CD = "contentTypeCD";
/**
* Declarations for the XML related fields.
*/
protected String _newsID = null;
protected String _activeCD = null;
protected String _approvedCD = null;
protected String _approvedBy = null;
protected String _dateApproved = null;
protected String _dateSubmitted = null;
protected String _durationCD = null;
protected String _contentTypeCD = null;
protected String _newsContent = null;
protected String _newsHeading = null;
protected String _newsTypeCD = null;
protected String _newsTypeOther = null;
protected String _notes = null;
protected String _userName = null;
protected java.util.Vector _validationErrors = new java.util.Vector(4, 0);
protected String _approvedLN = null;
protected String _activeLN = null;
protected String _durationLN = null;
protected String _contentTypeLN = null;
protected String _newsTypeLN = null;
protected String _orderBy = null;
protected String _columnNo = null;
/**
* Holds the parent object of this object.
*/
XmlObject _parent_ = null;
/**
* Default no args constructor.
*/
public News () {
}
/**
* Creates and populates an instance from the provided parse tree.
*
* @param xml the parse tree
*/
public News (XmlElement xml) {
unmarshal(xml);
}
/**
* Creates and populates an instance from the provided parse tree.
*
* @param xml the parse tree
* @param parent the containibg XmlObject
*/
public News (XmlElement xml, XmlObject parent) {
_parent_ = parent;
unmarshal(xml);
}
/**
* Get the newsID property.
*/
public String getNewsID () {
return (_newsID);
}
/**
* Set the newsID property.
*/
public void setNewsID (String newValue) {
_newsID = newValue;
}
/**
* Checks for whether NewsID is set or not.
*
* @return true if NewsID is set, false if not
*/
public boolean hasNewsID () {
return (_newsID != null);
}
/**
* Discards NewsID's value.
*/
public void deleteNewsID () {
_newsID = null;
}
/**
* Get the activeCD property.
*
*
*/
public String getActiveCD () {
return (_activeCD);
}
/**
* Set the activeCD property.
*
*
*/
public void setActiveCD (String newValue) {
_activeCD = newValue;
}
/**
* Checks for whether ActiveCD is set or not.
*
* @return true if ActiveCD is set, false if not
*/
public boolean hasActiveCD () {
return (_activeCD != null);
}
/**
* Discards ActiveCD's value.
*/
public void deleteActiveCD () {
_activeCD = null;
}
/**
* Get the approvedCD property.
*
*
*/
public String getApprovedCD () {
return (_approvedCD);
}
/**
* Set the approvedCD property.
*
*
*/
public void setApprovedCD (String newValue) {
_approvedCD = newValue;
}
/**
* Checks for whether ApprovedCD is set or not.
*
* @return true if ApprovedCD is set, false if not
*/
public boolean hasApprovedCD () {
return (_approvedCD != null);
}
/**
* Discards ApprovedCD's value.
*/
public void deleteApprovedCD () {
_approvedCD = null;
}
/**
* Get the approvedBy property.
*
*
*/
public String getApprovedBy () {
return (_approvedBy);
}
/**
* Set the approvedBy property.
*
*
*/
public void setApprovedBy (String newValue) {
_approvedBy = newValue;
}
/**
* Checks for whether ApprovedBy is set or not.
*
* @return true if ApprovedBy is set, false if not
*/
public boolean hasApprovedBy () {
return (_approvedBy != null);
}
/**
* Discards ApprovedBy's value.
*/
public void deleteApprovedBy () {
_approvedBy = null;
}
/**
* Get the dateApproved property.
*/
public String getDateApproved () {
return (_dateApproved);
}
/**
* Set the dateApproved property.
*/
public void setDateApproved (String newValue) {
_dateApproved = newValue;
}
/**
* Checks for whether DateApproved is set or not.
*
* @return true if DateApproved is set, false if not
*/
public boolean hasDateApproved () {
return (_dateApproved != null);
}
/**
* Discards DateApproved's value.
*/
public void deleteDateApproved () {
_dateApproved = null;
}
/**
* Get the dateSubmitted property.
*/
public String getDateSubmitted () {
return (_dateSubmitted);
}
/**
* Set the dateSubmitted property.
*/
public void setDateSubmitted (String newValue) {
_dateSubmitted = newValue;
}
/**
* Checks for whether DateSubmitted is set or not.
*
* @return true if DateSubmitted is set, f
没有合适的资源?快使用搜索试试~ 我知道了~
为Web服务构建Struts应用程序例程源码
共38个文件
java:13个
tld:6个
gif:6个
需积分: 50 166 下载量 147 浏览量
2005-02-28
10:31:14
上传
评论 1
收藏 0B ZIP 举报
温馨提示
这个例子举例说明了一个简单的新闻 Portal。新闻内容是从数据源(这里称为 DataSource )传送到 JSP 页,同时信息内容也要作为一个 Web 服务发布出来。这个 Portal 也可以从 StockQuote Web 服务中检索最新的股票报价并显示在同一个 JSP 页中。 这个 zip 文件包含了所有的源代码和 DataSource 的 SQL 脚本。它还包含有 Struts Action 和 ActionForm 类、模型服务类以及用来为发布者与订购者显示结果及其源代码的 JSP 页。它同时还包含有 WSDL 文件以及客户端源代码来访问已发布的 NewsContent Web 服务。
资源推荐
资源详情
资源评论
收起资源包目录
20050228103362.zip (38个子文件)
为 Web 服务构建 Struts 应用程序.htm 36KB
Output
WEB-INF
web.warContent 623B
web.webj2eeri 306B
log4j.dtd 5KB
struts-config_1_0.dtd 18KB
classes
ws-application.xml 2KB
com
ddj
wsstruts
action
constant
valueobject
actionform
ms
util
wsmanager
publisher
subscriber
lib
struts-config.xml 2KB
web.xml 3KB
error.jsp 1KB
NewsDetailsDDJ.jsp 5KB
Tags
struts-bean.tld 8KB
struts-html.tld 45KB
struts-template.tld 2KB
struts-logic.tld 12KB
struts-form.tld 37KB
struts.tld 52KB
为 Web 服务构建 Struts 应用程序.files
bg-gold.gif 36B
spinbox.js 3KB
fig4.gif 19KB
fig1.gif 2KB
c.gif 43B
fig2.gif 10KB
fig3.gif 7KB
style.js 970B
Source
com
ddj
wsstruts
action
NewsAction.java 10KB
constant
SystemConstants.java 1KB
valueobject
StockValue.java 711B
News.java 28KB
ValidationError.java 8KB
ObjectFactory.java 10KB
NewsSearchResult.java 26KB
actionform
NewsForm.java 2KB
ms
NewsMs.java 3KB
AbstractMs.java 1KB
util
DatabaseManager.java 15KB
wsmanager
publisher
NewsWSManager.java 3KB
subscriber
StocksWSManager.java 6KB
DomConfigurator.xml 609B
共 38 条
- 1
资源评论
microrain
- 粉丝: 1021
- 资源: 598
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功