📄 baseportletdbentry.java
字号:
package org.apache.jetspeed.om.dbregistry;import java.math.BigDecimal;import java.sql.Connection;import java.util.ArrayList;import java.util.Collections;import java.util.Date;import java.util.List;import org.apache.commons.lang.ObjectUtils;import org.apache.torque.TorqueException;import org.apache.torque.om.BaseObject;import org.apache.torque.om.ComboKey;import org.apache.torque.om.DateKey;import org.apache.torque.om.NumberKey;import org.apache.torque.om.ObjectKey;import org.apache.torque.om.SimpleKey;import org.apache.torque.om.StringKey;import org.apache.torque.om.Persistent;import org.apache.torque.util.Criteria;import org.apache.torque.util.Transaction;/** * This class was autogenerated by Torque on: * * [Thu Apr 22 15:30:48 PDT 2004] * * You should not use this class directly. It should not even be * extended all references should be to PortletDbEntry */public abstract class BasePortletDbEntry extends BaseObject{ /** The Peer class */ private static final PortletDbEntryPeer peer = new PortletDbEntryPeer(); /** The value for the id field */ private long id; /** The value for the name field */ private String name; /** The value for the hidden field */ private boolean hidden=false; /** The value for the classname field */ private String classname; /** The value for the type field */ private String type; /** The value for the application field */ private boolean application=false; /** The value for the parentRef field */ private long parentRef; /** The value for the uRL field */ private String uRL; /** The value for the cachedonurl field */ private boolean cachedonurl=true; /** The value for the role field */ private String role; /** The value for the title field */ private String title; /** The value for the description field */ private String description; /** The value for the image field */ private String image; /** The value for the securityRef field */ private String securityRef; /** * Get the Id * @return long */ public long getId() { return id; } /** * Set the value of Id */ public void setId(long v ) throws TorqueException { if (this.id != v) { this.id = v; setModified(true); } // update associated PortletCategory if (collPortletCategorys != null ) { for (int i = 0; i < collPortletCategorys.size(); i++) { ((PortletCategory)collPortletCategorys.get(i)) .setOwner(v); } } // update associated PortletParameter if (collPortletParameters != null ) { for (int i = 0; i < collPortletParameters.size(); i++) { ((PortletParameter)collPortletParameters.get(i)) .setPortletId(v); } } // update associated PortletMediatype if (collPortletMediatypes != null ) { for (int i = 0; i < collPortletMediatypes.size(); i++) { ((PortletMediatype)collPortletMediatypes.get(i)) .setId(v); } } } /** * Get the Name * @return String */ public String getName() { return name; } /** * Set the value of Name */ public void setName(String v ) { if (!ObjectUtils.equals(this.name, v)) { this.name = v; setModified(true); } } /** * Get the Hidden * @return boolean */ public boolean getHidden() { return hidden; } /** * Set the value of Hidden */ public void setHidden(boolean v ) { if (this.hidden != v) { this.hidden = v; setModified(true); } } /** * Get the Classname * @return String */ public String getClassname() { return classname; } /** * Set the value of Classname */ public void setClassname(String v ) { if (!ObjectUtils.equals(this.classname, v)) { this.classname = v; setModified(true); } } /** * Get the Type * @return String */ public String getType() { return type; } /** * Set the value of Type */ public void setType(String v ) { if (!ObjectUtils.equals(this.type, v)) { this.type = v; setModified(true); } } /** * Get the Application * @return boolean */ public boolean getApplication() { return application; } /** * Set the value of Application */ public void setApplication(boolean v ) { if (this.application != v) { this.application = v; setModified(true); } } /** * Get the ParentRef * @return long */ public long getParentRef() { return parentRef; } /** * Set the value of ParentRef */ public void setParentRef(long v ) { if (this.parentRef != v) { this.parentRef = v; setModified(true); } } /** * Get the URL * @return String */ public String getURL() { return uRL; } /** * Set the value of URL */ public void setURL(String v ) { if (!ObjectUtils.equals(this.uRL, v)) { this.uRL = v; setModified(true); } } /** * Get the Cachedonurl * @return boolean */ public boolean getCachedonurl() { return cachedonurl; } /** * Set the value of Cachedonurl */ public void setCachedonurl(boolean v ) { if (this.cachedonurl != v) { this.cachedonurl = v; setModified(true); } } /** * Get the Role * @return String */ public String getRole() { return role; } /** * Set the value of Role */ public void setRole(String v ) { if (!ObjectUtils.equals(this.role, v)) { this.role = v; setModified(true); } } /** * Get the Title * @return String */ public String getTitle() { return title; } /** * Set the value of Title */ public void setTitle(String v ) { if (!ObjectUtils.equals(this.title, v)) { this.title = v; setModified(true); } } /** * Get the Description
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -