📄 newssearchresult.java
字号:
/*
* DO NOT EDIT!
*
* This file was generated by the Breeze XML Studio code generator.
*
* Project: DDJ
* Class Name: NewsSearchResult
* Date: Mon Oct 28 15:40:43 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;
/**
* NewsSearchResult class.
*
*/
public class NewsSearchResult implements com.tbf.xml.XmlObject, java.io.Serializable {
/**
* Constant for "approvedToDate" node name.
*/
public static final String $APPROVED_TO_DATE = "approvedToDate";
/**
* Constant for "newsTypeOther" node name.
*/
public static final String $NEWS_TYPE_OTHER = "newsTypeOther";
/**
* Constant for "submittedBy" node name.
*/
public static final String $SUBMITTED_BY = "submittedBy";
/**
* Constant for "approvedFromDate" node name.
*/
public static final String $APPROVED_FROM_DATE = "approvedFromDate";
/**
* Constant for "submittedToDate" node name.
*/
public static final String $SUBMITTED_TO_DATE = "submittedToDate";
/**
* Constant for "approvedDate" node name.
*/
public static final String $APPROVED_DATE = "approvedDate";
/**
* 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 "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 "notes" node name.
*/
public static final String $NOTES = "notes";
/**
* Constant for "orderBy" node name.
*/
public static final String $ORDER_BY = "orderBy";
/**
* Constant for "submittedDate" node name.
*/
public static final String $SUBMITTED_DATE = "submittedDate";
/**
* Constant for "durationCD" node name.
*/
public static final String $DURATION_CD = "durationCD";
/**
* Constant for "approvedCD" node name.
*/
public static final String $APPROVED_CD = "approvedCD";
/**
* 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 "NewsSearchResult" node name.
*/
public static final String $NEWS_SEARCH = "NewsSearchResult";
/**
* Constant for "newsId" node name.
*/
public static final String $NEWS_ID = "newsId";
/**
* Constant for "submittedFromDate" node name.
*/
public static final String $SUBMITTED_FROM_DATE = "submittedFromDate";
/**
* Constant for "contentTypeCD" node name.
*/
public static final String $CONTENT_TYPE_CD = "contentTypeCD";
/**
* Declarations for the XML related fields.
*/
protected String _approvedFromDate = null;
protected String _approvedToDate = null;
protected String _orderBy = null;
protected String _columnNo = null;
protected String _approvedBy = null;
protected String _activeCD = null;
protected String _approvedCD = null;
protected String _durationCD = null;
protected String _contentTypeCD = null;
protected String _newsTypeCD = null;
protected String _userName = null;
protected String _newsHeading = null;
protected String _submittedFromDate = null;
protected String _submittedToDate = null;
protected String _submittedBy = null;
protected String _approvedDate = null;
protected String _submittedDate = null;
protected String _notes = null;
protected String _newsContent = null;
protected String _newsTypeOther = null;
protected String _newsId = null;
/**
* Holds the parent object of this object.
*/
XmlObject _parent_ = null;
/**
* Default no args constructor.
*/
public NewsSearchResult() {
}
/**
* Creates and populates an instance from the provided parse tree.
*
* @param xml the parse tree
*/
public NewsSearchResult(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 NewsSearchResult(XmlElement xml, XmlObject parent) {
_parent_ = parent;
unmarshal(xml);
}
/**
* Get the approvedFromDate property.
*
*
*/
public String getApprovedFromDate () {
return (_approvedFromDate);
}
/**
* Set the approvedFromDate property.
*
*
*/
public void setApprovedFromDate (String newValue) {
_approvedFromDate = newValue;
}
/**
* Checks for whether ApprovedFromDate is set or not.
*
* @return true if ApprovedFromDate is set, false if not
*/
public boolean hasApprovedFromDate () {
return (_approvedFromDate != null);
}
/**
* Discards ApprovedFromDate's value.
*/
public void deleteApprovedFromDate () {
_approvedFromDate = null;
}
/**
* Get the approvedToDate property.
*
*
*/
public String getApprovedToDate () {
return (_approvedToDate);
}
/**
* Set the approvedToDate property.
*
*
*/
public void setApprovedToDate (String newValue) {
_approvedToDate = newValue;
}
/**
* Checks for whether ApprovedToDate is set or not.
*
* @return true if ApprovedToDate is set, false if not
*/
public boolean hasApprovedToDate () {
return (_approvedToDate != null);
}
/**
* Discards ApprovedToDate's value.
*/
public void deleteApprovedToDate () {
_approvedToDate = null;
}
/**
* Get the orderBy property.
*
*
*/
public String getOrderBy () {
return (_orderBy);
}
/**
* Set the orderBy property.
*
*
*/
public void setOrderBy (String newValue) {
_orderBy = newValue;
}
/**
* Checks for whether OrderBy is set or not.
*
* @return true if OrderBy is set, false if not
*/
public boolean hasOrderBy () {
return (_orderBy != null);
}
/**
* Discards OrderBy's value.
*/
public void deleteOrderBy () {
_orderBy = null;
}
/**
* Get the columnNo property.
*
*
*/
public String getColumnNo () {
return (_columnNo);
}
/**
* Set the columnNo property.
*
*
*/
public void setColumnNo (String newValue) {
_columnNo = newValue;
}
/**
* Checks for whether ColumnNo is set or not.
*
* @return true if ColumnNo is set, false if not
*/
public boolean hasColumnNo () {
return (_columnNo != null);
}
/**
* Discards ColumnNo's value.
*/
public void deleteColumnNo () {
_columnNo = 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 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 durationCD property.
*
*
*/
public String getDurationCD () {
return (_durationCD);
}
/**
* Set the durationCD property.
*
*
*/
public void setDurationCD (String newValue) {
_durationCD = newValue;
}
/**
* Checks for whether DurationCD is set or not.
*
* @return true if DurationCD is set, false if not
*/
public boolean hasDurationCD () {
return (_durationCD != null);
}
/**
* Discards DurationCD's value.
*/
public void deleteDurationCD () {
_durationCD = null;
}
/**
* Get the contentTypeCD property.
*
*
*/
public String getContentTypeCD () {
return (_contentTypeCD);
}
/**
* Set the contentTypeCD property.
*
*
*/
public void setContentTypeCD (String newValue) {
_contentTypeCD = newValue;
}
/**
* Checks for whether ContentTypeCD is set or not.
*
* @return true if ContentTypeCD is set, false if not
*/
public boolean hasContentTypeCD () {
return (_contentTypeCD != null);
}
/**
* Discards ContentTypeCD's value.
*/
public void deleteContentTypeCD () {
_contentTypeCD = null;
}
/**
* Get the newsTypeCD property.
*
*
*/
public String getNewsTypeCD () {
return (_newsTypeCD);
}
/**
* Set the newsTypeCD property.
*
*
*/
public void setNewsTypeCD (String newValue) {
_newsTypeCD = newValue;
}
/**
* Checks for whether NewsTypeCD is set or not.
*
* @return true if NewsTypeCD is set, false if not
*/
public boolean hasNewsTypeCD () {
return (_newsTypeCD != null);
}
/**
* Discards NewsTypeCD's value.
*/
public void deleteNewsTypeCD () {
_newsTypeCD = null;
}
/**
* Get the userName property.
*
*
*/
public String getUserName () {
return (_userName);
}
/**
* Set the userName property.
*
*
*/
public void setUserName (String newValue) {
_userName = newValue;
}
/**
* Checks for whether UserName is set or not.
*
* @return true if UserName is set, false if not
*/
public boolean hasUserName () {
return (_userName != null);
}
/**
* Discards UserName's value.
*/
public void deleteUserName () {
_userName = null;
}
/**
* Get the newsHeading property.
*
*
*/
public String getNewsHeading () {
return (_newsHeading);
}
/**
* Set the newsHeading property.
*
*
*/
public void setNewsHeading (String newValue) {
_newsHeading = newValue;
}
/**
* Checks for whether NewsHeading is set or not.
*
* @return true if NewsHeading is set, false if not
*/
public boolean hasNewsHeading () {
return (_newsHeading != null);
}
/**
* Discards NewsHeading's value.
*/
public void deleteNewsHeading () {
_newsHeading = null;
}
/**
* Get the submittedFromDate property.
*
*
*/
public String getSubmittedFromDate () {
return (_submittedFromDate);
}
/**
* Set the submittedFromDate property.
*
*
*/
public void setSubmittedFromDate (String newValue) {
_submittedFromDate = newValue;
}
/**
* Checks for whether SubmittedFromDate is set or not.
*
* @return true if SubmittedFromDate is set, false if not
*/
public boolean hasSubmittedFromDate () {
return (_submittedFromDate != null);
}
/**
* Discards SubmittedFromDate's value.
*/
public void deleteSubmittedFromDate () {
_submittedFromDate = null;
}
/**
* Get the submittedToDate property.
*
*
*/
public String getSubmittedToDate () {
return (_submittedToDate);
}
/**
* Set the submittedToDate property.
*
*
*/
public void setSubmittedToDate (String newValue) {
_submittedToDate = newValue;
}
/**
* Checks for whether SubmittedToDate is set or not.
*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -