--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ */
+
+package com.pentila.entSavoie.agenda.model.impl;
+
+import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
+import com.liferay.portal.kernel.util.DateUtil;
+import com.liferay.portal.kernel.util.GetterUtil;
+import com.liferay.portal.kernel.util.ProxyUtil;
+import com.liferay.portal.kernel.util.StringBundler;
+import com.liferay.portal.kernel.util.StringPool;
+import com.liferay.portal.model.CacheModel;
+import com.liferay.portal.model.impl.BaseModelImpl;
+import com.liferay.portal.service.ServiceContext;
+
+import com.liferay.portlet.expando.model.ExpandoBridge;
+import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
+
+import com.pentila.entSavoie.agenda.model.EventAgenda;
+import com.pentila.entSavoie.agenda.model.EventAgendaModel;
+
+import java.io.Serializable;
+
+import java.sql.Types;
+
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * The base model implementation for the EventAgenda service. Represents a row in the "Agenda_EventAgenda" database table, with each column mapped to a property of this class.
+ *
+ * <p>
+ * This implementation and its corresponding interface {@link com.pentila.entSavoie.agenda.model.EventAgendaModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link EventAgendaImpl}.
+ * </p>
+ *
+ * @author Igor Barma
+ * @see EventAgendaImpl
+ * @see com.pentila.entSavoie.agenda.model.EventAgenda
+ * @see com.pentila.entSavoie.agenda.model.EventAgendaModel
+ * @generated
+ */
+public class EventAgendaModelImpl extends BaseModelImpl<EventAgenda>
+ implements EventAgendaModel {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify or reference this class directly. All methods that expect a event agenda model instance should use the {@link com.pentila.entSavoie.agenda.model.EventAgenda} interface instead.
+ */
+ public static final String TABLE_NAME = "Agenda_EventAgenda";
+ public static final Object[][] TABLE_COLUMNS = {
+ { "evtId", Types.BIGINT },
+ { "companyId", Types.BIGINT },
+ { "startEvt", Types.TIMESTAMP },
+ { "endEvt", Types.TIMESTAMP },
+ { "calId", Types.BIGINT },
+ { "title", Types.VARCHAR },
+ { "location", Types.VARCHAR },
+ { "notes", Types.VARCHAR },
+ { "url", Types.VARCHAR },
+ { "isAllDay", Types.BOOLEAN },
+ { "isVisible", Types.BOOLEAN },
+ { "remind", Types.VARCHAR },
+ { "creatorId", Types.BIGINT },
+ { "repeatEvtId", Types.BIGINT },
+ { "repeatEvtRRule", Types.VARCHAR },
+ { "modifiedDate", Types.TIMESTAMP },
+ { "uid", Types.VARCHAR }
+ };
+ public static final String TABLE_SQL_CREATE = "create table Agenda_EventAgenda (evtId LONG not null primary key,companyId LONG,startEvt DATE null,endEvt DATE null,calId LONG,title VARCHAR(100) null,location VARCHAR(150) null,notes VARCHAR(400) null,url VARCHAR(2048) null,isAllDay BOOLEAN,isVisible BOOLEAN,remind VARCHAR(75) null,creatorId LONG,repeatEvtId LONG,repeatEvtRRule VARCHAR(75) null,modifiedDate DATE null,uid VARCHAR(150) null)";
+ public static final String TABLE_SQL_DROP = "drop table Agenda_EventAgenda";
+ public static final String ORDER_BY_JPQL = " ORDER BY eventAgenda.startEvt ASC";
+ public static final String ORDER_BY_SQL = " ORDER BY Agenda_EventAgenda.startEvt ASC";
+ public static final String DATA_SOURCE = "liferayDataSource";
+ public static final String SESSION_FACTORY = "liferaySessionFactory";
+ public static final String TX_MANAGER = "liferayTransactionManager";
+ public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
+ "value.object.entity.cache.enabled.com.pentila.entSavoie.agenda.model.EventAgenda"),
+ true);
+ public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
+ "value.object.finder.cache.enabled.com.pentila.entSavoie.agenda.model.EventAgenda"),
+ true);
+ public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
+ "value.object.column.bitmask.enabled.com.pentila.entSavoie.agenda.model.EventAgenda"),
+ true);
+ public static long CALID_COLUMN_BITMASK = 1L;
+ public static long COMPANYID_COLUMN_BITMASK = 2L;
+ public static long ENDEVT_COLUMN_BITMASK = 4L;
+ public static long REPEATEVTID_COLUMN_BITMASK = 8L;
+ public static long STARTEVT_COLUMN_BITMASK = 16L;
+ public static long UID_COLUMN_BITMASK = 32L;
+ public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get(
+ "lock.expiration.time.com.pentila.entSavoie.agenda.model.EventAgenda"));
+
+ public EventAgendaModelImpl() {
+ }
+
+ public long getPrimaryKey() {
+ return _evtId;
+ }
+
+ public void setPrimaryKey(long primaryKey) {
+ setEvtId(primaryKey);
+ }
+
+ public Serializable getPrimaryKeyObj() {
+ return new Long(_evtId);
+ }
+
+ public void setPrimaryKeyObj(Serializable primaryKeyObj) {
+ setPrimaryKey(((Long)primaryKeyObj).longValue());
+ }
+
+ public Class<?> getModelClass() {
+ return EventAgenda.class;
+ }
+
+ public String getModelClassName() {
+ return EventAgenda.class.getName();
+ }
+
+ @Override
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("evtId", getEvtId());
+ attributes.put("companyId", getCompanyId());
+ attributes.put("startEvt", getStartEvt());
+ attributes.put("endEvt", getEndEvt());
+ attributes.put("calId", getCalId());
+ attributes.put("title", getTitle());
+ attributes.put("location", getLocation());
+ attributes.put("notes", getNotes());
+ attributes.put("url", getUrl());
+ attributes.put("isAllDay", getIsAllDay());
+ attributes.put("isVisible", getIsVisible());
+ attributes.put("remind", getRemind());
+ attributes.put("creatorId", getCreatorId());
+ attributes.put("repeatEvtId", getRepeatEvtId());
+ attributes.put("repeatEvtRRule", getRepeatEvtRRule());
+ attributes.put("modifiedDate", getModifiedDate());
+ attributes.put("uid", getUid());
+
+ return attributes;
+ }
+
+ @Override
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long evtId = (Long)attributes.get("evtId");
+
+ if (evtId != null) {
+ setEvtId(evtId);
+ }
+
+ Long companyId = (Long)attributes.get("companyId");
+
+ if (companyId != null) {
+ setCompanyId(companyId);
+ }
+
+ Date startEvt = (Date)attributes.get("startEvt");
+
+ if (startEvt != null) {
+ setStartEvt(startEvt);
+ }
+
+ Date endEvt = (Date)attributes.get("endEvt");
+
+ if (endEvt != null) {
+ setEndEvt(endEvt);
+ }
+
+ Long calId = (Long)attributes.get("calId");
+
+ if (calId != null) {
+ setCalId(calId);
+ }
+
+ String title = (String)attributes.get("title");
+
+ if (title != null) {
+ setTitle(title);
+ }
+
+ String location = (String)attributes.get("location");
+
+ if (location != null) {
+ setLocation(location);
+ }
+
+ String notes = (String)attributes.get("notes");
+
+ if (notes != null) {
+ setNotes(notes);
+ }
+
+ String url = (String)attributes.get("url");
+
+ if (url != null) {
+ setUrl(url);
+ }
+
+ Boolean isAllDay = (Boolean)attributes.get("isAllDay");
+
+ if (isAllDay != null) {
+ setIsAllDay(isAllDay);
+ }
+
+ Boolean isVisible = (Boolean)attributes.get("isVisible");
+
+ if (isVisible != null) {
+ setIsVisible(isVisible);
+ }
+
+ String remind = (String)attributes.get("remind");
+
+ if (remind != null) {
+ setRemind(remind);
+ }
+
+ Long creatorId = (Long)attributes.get("creatorId");
+
+ if (creatorId != null) {
+ setCreatorId(creatorId);
+ }
+
+ Long repeatEvtId = (Long)attributes.get("repeatEvtId");
+
+ if (repeatEvtId != null) {
+ setRepeatEvtId(repeatEvtId);
+ }
+
+ String repeatEvtRRule = (String)attributes.get("repeatEvtRRule");
+
+ if (repeatEvtRRule != null) {
+ setRepeatEvtRRule(repeatEvtRRule);
+ }
+
+ Date modifiedDate = (Date)attributes.get("modifiedDate");
+
+ if (modifiedDate != null) {
+ setModifiedDate(modifiedDate);
+ }
+
+ String uid = (String)attributes.get("uid");
+
+ if (uid != null) {
+ setUid(uid);
+ }
+ }
+
+ public long getEvtId() {
+ return _evtId;
+ }
+
+ public void setEvtId(long evtId) {
+ _evtId = evtId;
+ }
+
+ public long getCompanyId() {
+ return _companyId;
+ }
+
+ public void setCompanyId(long companyId) {
+ _columnBitmask |= COMPANYID_COLUMN_BITMASK;
+
+ if (!_setOriginalCompanyId) {
+ _setOriginalCompanyId = true;
+
+ _originalCompanyId = _companyId;
+ }
+
+ _companyId = companyId;
+ }
+
+ public long getOriginalCompanyId() {
+ return _originalCompanyId;
+ }
+
+ public Date getStartEvt() {
+ return _startEvt;
+ }
+
+ public void setStartEvt(Date startEvt) {
+ _columnBitmask = -1L;
+
+ if (_originalStartEvt == null) {
+ _originalStartEvt = _startEvt;
+ }
+
+ _startEvt = startEvt;
+ }
+
+ public Date getOriginalStartEvt() {
+ return _originalStartEvt;
+ }
+
+ public Date getEndEvt() {
+ return _endEvt;
+ }
+
+ public void setEndEvt(Date endEvt) {
+ _columnBitmask |= ENDEVT_COLUMN_BITMASK;
+
+ if (_originalEndEvt == null) {
+ _originalEndEvt = _endEvt;
+ }
+
+ _endEvt = endEvt;
+ }
+
+ public Date getOriginalEndEvt() {
+ return _originalEndEvt;
+ }
+
+ public long getCalId() {
+ return _calId;
+ }
+
+ public void setCalId(long calId) {
+ _columnBitmask |= CALID_COLUMN_BITMASK;
+
+ if (!_setOriginalCalId) {
+ _setOriginalCalId = true;
+
+ _originalCalId = _calId;
+ }
+
+ _calId = calId;
+ }
+
+ public long getOriginalCalId() {
+ return _originalCalId;
+ }
+
+ public String getTitle() {
+ if (_title == null) {
+ return StringPool.BLANK;
+ }
+ else {
+ return _title;
+ }
+ }
+
+ public void setTitle(String title) {
+ _title = title;
+ }
+
+ public String getLocation() {
+ if (_location == null) {
+ return StringPool.BLANK;
+ }
+ else {
+ return _location;
+ }
+ }
+
+ public void setLocation(String location) {
+ _location = location;
+ }
+
+ public String getNotes() {
+ if (_notes == null) {
+ return StringPool.BLANK;
+ }
+ else {
+ return _notes;
+ }
+ }
+
+ public void setNotes(String notes) {
+ _notes = notes;
+ }
+
+ public String getUrl() {
+ if (_url == null) {
+ return StringPool.BLANK;
+ }
+ else {
+ return _url;
+ }
+ }
+
+ public void setUrl(String url) {
+ _url = url;
+ }
+
+ public boolean getIsAllDay() {
+ return _isAllDay;
+ }
+
+ public boolean isIsAllDay() {
+ return _isAllDay;
+ }
+
+ public void setIsAllDay(boolean isAllDay) {
+ _isAllDay = isAllDay;
+ }
+
+ public boolean getIsVisible() {
+ return _isVisible;
+ }
+
+ public boolean isIsVisible() {
+ return _isVisible;
+ }
+
+ public void setIsVisible(boolean isVisible) {
+ _isVisible = isVisible;
+ }
+
+ public String getRemind() {
+ if (_remind == null) {
+ return StringPool.BLANK;
+ }
+ else {
+ return _remind;
+ }
+ }
+
+ public void setRemind(String remind) {
+ _remind = remind;
+ }
+
+ public long getCreatorId() {
+ return _creatorId;
+ }
+
+ public void setCreatorId(long creatorId) {
+ _creatorId = creatorId;
+ }
+
+ public long getRepeatEvtId() {
+ return _repeatEvtId;
+ }
+
+ public void setRepeatEvtId(long repeatEvtId) {
+ _columnBitmask |= REPEATEVTID_COLUMN_BITMASK;
+
+ if (!_setOriginalRepeatEvtId) {
+ _setOriginalRepeatEvtId = true;
+
+ _originalRepeatEvtId = _repeatEvtId;
+ }
+
+ _repeatEvtId = repeatEvtId;
+ }
+
+ public long getOriginalRepeatEvtId() {
+ return _originalRepeatEvtId;
+ }
+
+ public String getRepeatEvtRRule() {
+ if (_repeatEvtRRule == null) {
+ return StringPool.BLANK;
+ }
+ else {
+ return _repeatEvtRRule;
+ }
+ }
+
+ public void setRepeatEvtRRule(String repeatEvtRRule) {
+ _repeatEvtRRule = repeatEvtRRule;
+ }
+
+ public Date getModifiedDate() {
+ return _modifiedDate;
+ }
+
+ public void setModifiedDate(Date modifiedDate) {
+ _modifiedDate = modifiedDate;
+ }
+
+ public String getUid() {
+ if (_uid == null) {
+ return StringPool.BLANK;
+ }
+ else {
+ return _uid;
+ }
+ }
+
+ public void setUid(String uid) {
+ _columnBitmask |= UID_COLUMN_BITMASK;
+
+ if (_originalUid == null) {
+ _originalUid = _uid;
+ }
+
+ _uid = uid;
+ }
+
+ public String getOriginalUid() {
+ return GetterUtil.getString(_originalUid);
+ }
+
+ public long getColumnBitmask() {
+ return _columnBitmask;
+ }
+
+ @Override
+ public ExpandoBridge getExpandoBridge() {
+ return ExpandoBridgeFactoryUtil.getExpandoBridge(getCompanyId(),
+ EventAgenda.class.getName(), getPrimaryKey());
+ }
+
+ @Override
+ public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
+ ExpandoBridge expandoBridge = getExpandoBridge();
+
+ expandoBridge.setAttributes(serviceContext);
+ }
+
+ @Override
+ public EventAgenda toEscapedModel() {
+ if (_escapedModelProxy == null) {
+ _escapedModelProxy = (EventAgenda)ProxyUtil.newProxyInstance(_classLoader,
+ _escapedModelProxyInterfaces,
+ new AutoEscapeBeanHandler(this));
+ }
+
+ return _escapedModelProxy;
+ }
+
+ @Override
+ public Object clone() {
+ EventAgendaImpl eventAgendaImpl = new EventAgendaImpl();
+
+ eventAgendaImpl.setEvtId(getEvtId());
+ eventAgendaImpl.setCompanyId(getCompanyId());
+ eventAgendaImpl.setStartEvt(getStartEvt());
+ eventAgendaImpl.setEndEvt(getEndEvt());
+ eventAgendaImpl.setCalId(getCalId());
+ eventAgendaImpl.setTitle(getTitle());
+ eventAgendaImpl.setLocation(getLocation());
+ eventAgendaImpl.setNotes(getNotes());
+ eventAgendaImpl.setUrl(getUrl());
+ eventAgendaImpl.setIsAllDay(getIsAllDay());
+ eventAgendaImpl.setIsVisible(getIsVisible());
+ eventAgendaImpl.setRemind(getRemind());
+ eventAgendaImpl.setCreatorId(getCreatorId());
+ eventAgendaImpl.setRepeatEvtId(getRepeatEvtId());
+ eventAgendaImpl.setRepeatEvtRRule(getRepeatEvtRRule());
+ eventAgendaImpl.setModifiedDate(getModifiedDate());
+ eventAgendaImpl.setUid(getUid());
+
+ eventAgendaImpl.resetOriginalValues();
+
+ return eventAgendaImpl;
+ }
+
+ public int compareTo(EventAgenda eventAgenda) {
+ int value = 0;
+
+ value = DateUtil.compareTo(getStartEvt(), eventAgenda.getStartEvt());
+
+ if (value != 0) {
+ return value;
+ }
+
+ return 0;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (obj == null) {
+ return false;
+ }
+
+ EventAgenda eventAgenda = null;
+
+ try {
+ eventAgenda = (EventAgenda)obj;
+ }
+ catch (ClassCastException cce) {
+ return false;
+ }
+
+ long primaryKey = eventAgenda.getPrimaryKey();
+
+ if (getPrimaryKey() == primaryKey) {
+ return true;
+ }
+ else {
+ return false;
+ }
+ }
+
+ @Override
+ public int hashCode() {
+ return (int)getPrimaryKey();
+ }
+
+ @Override
+ public void resetOriginalValues() {
+ EventAgendaModelImpl eventAgendaModelImpl = this;
+
+ eventAgendaModelImpl._originalCompanyId = eventAgendaModelImpl._companyId;
+
+ eventAgendaModelImpl._setOriginalCompanyId = false;
+
+ eventAgendaModelImpl._originalStartEvt = eventAgendaModelImpl._startEvt;
+
+ eventAgendaModelImpl._originalEndEvt = eventAgendaModelImpl._endEvt;
+
+ eventAgendaModelImpl._originalCalId = eventAgendaModelImpl._calId;
+
+ eventAgendaModelImpl._setOriginalCalId = false;
+
+ eventAgendaModelImpl._originalRepeatEvtId = eventAgendaModelImpl._repeatEvtId;
+
+ eventAgendaModelImpl._setOriginalRepeatEvtId = false;
+
+ eventAgendaModelImpl._originalUid = eventAgendaModelImpl._uid;
+
+ eventAgendaModelImpl._columnBitmask = 0;
+ }
+
+ @Override
+ public CacheModel<EventAgenda> toCacheModel() {
+ EventAgendaCacheModel eventAgendaCacheModel = new EventAgendaCacheModel();
+
+ eventAgendaCacheModel.evtId = getEvtId();
+
+ eventAgendaCacheModel.companyId = getCompanyId();
+
+ Date startEvt = getStartEvt();
+
+ if (startEvt != null) {
+ eventAgendaCacheModel.startEvt = startEvt.getTime();
+ }
+ else {
+ eventAgendaCacheModel.startEvt = Long.MIN_VALUE;
+ }
+
+ Date endEvt = getEndEvt();
+
+ if (endEvt != null) {
+ eventAgendaCacheModel.endEvt = endEvt.getTime();
+ }
+ else {
+ eventAgendaCacheModel.endEvt = Long.MIN_VALUE;
+ }
+
+ eventAgendaCacheModel.calId = getCalId();
+
+ eventAgendaCacheModel.title = getTitle();
+
+ String title = eventAgendaCacheModel.title;
+
+ if ((title != null) && (title.length() == 0)) {
+ eventAgendaCacheModel.title = null;
+ }
+
+ eventAgendaCacheModel.location = getLocation();
+
+ String location = eventAgendaCacheModel.location;
+
+ if ((location != null) && (location.length() == 0)) {
+ eventAgendaCacheModel.location = null;
+ }
+
+ eventAgendaCacheModel.notes = getNotes();
+
+ String notes = eventAgendaCacheModel.notes;
+
+ if ((notes != null) && (notes.length() == 0)) {
+ eventAgendaCacheModel.notes = null;
+ }
+
+ eventAgendaCacheModel.url = getUrl();
+
+ String url = eventAgendaCacheModel.url;
+
+ if ((url != null) && (url.length() == 0)) {
+ eventAgendaCacheModel.url = null;
+ }
+
+ eventAgendaCacheModel.isAllDay = getIsAllDay();
+
+ eventAgendaCacheModel.isVisible = getIsVisible();
+
+ eventAgendaCacheModel.remind = getRemind();
+
+ String remind = eventAgendaCacheModel.remind;
+
+ if ((remind != null) && (remind.length() == 0)) {
+ eventAgendaCacheModel.remind = null;
+ }
+
+ eventAgendaCacheModel.creatorId = getCreatorId();
+
+ eventAgendaCacheModel.repeatEvtId = getRepeatEvtId();
+
+ eventAgendaCacheModel.repeatEvtRRule = getRepeatEvtRRule();
+
+ String repeatEvtRRule = eventAgendaCacheModel.repeatEvtRRule;
+
+ if ((repeatEvtRRule != null) && (repeatEvtRRule.length() == 0)) {
+ eventAgendaCacheModel.repeatEvtRRule = null;
+ }
+
+ Date modifiedDate = getModifiedDate();
+
+ if (modifiedDate != null) {
+ eventAgendaCacheModel.modifiedDate = modifiedDate.getTime();
+ }
+ else {
+ eventAgendaCacheModel.modifiedDate = Long.MIN_VALUE;
+ }
+
+ eventAgendaCacheModel.uid = getUid();
+
+ String uid = eventAgendaCacheModel.uid;
+
+ if ((uid != null) && (uid.length() == 0)) {
+ eventAgendaCacheModel.uid = null;
+ }
+
+ return eventAgendaCacheModel;
+ }
+
+ @Override
+ public String toString() {
+ StringBundler sb = new StringBundler(35);
+
+ sb.append("{evtId=");
+ sb.append(getEvtId());
+ sb.append(", companyId=");
+ sb.append(getCompanyId());
+ sb.append(", startEvt=");
+ sb.append(getStartEvt());
+ sb.append(", endEvt=");
+ sb.append(getEndEvt());
+ sb.append(", calId=");
+ sb.append(getCalId());
+ sb.append(", title=");
+ sb.append(getTitle());
+ sb.append(", location=");
+ sb.append(getLocation());
+ sb.append(", notes=");
+ sb.append(getNotes());
+ sb.append(", url=");
+ sb.append(getUrl());
+ sb.append(", isAllDay=");
+ sb.append(getIsAllDay());
+ sb.append(", isVisible=");
+ sb.append(getIsVisible());
+ sb.append(", remind=");
+ sb.append(getRemind());
+ sb.append(", creatorId=");
+ sb.append(getCreatorId());
+ sb.append(", repeatEvtId=");
+ sb.append(getRepeatEvtId());
+ sb.append(", repeatEvtRRule=");
+ sb.append(getRepeatEvtRRule());
+ sb.append(", modifiedDate=");
+ sb.append(getModifiedDate());
+ sb.append(", uid=");
+ sb.append(getUid());
+ sb.append("}");
+
+ return sb.toString();
+ }
+
+ public String toXmlString() {
+ StringBundler sb = new StringBundler(55);
+
+ sb.append("<model><model-name>");
+ sb.append("com.pentila.entSavoie.agenda.model.EventAgenda");
+ sb.append("</model-name>");
+
+ sb.append(
+ "<column><column-name>evtId</column-name><column-value><![CDATA[");
+ sb.append(getEvtId());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>companyId</column-name><column-value><![CDATA[");
+ sb.append(getCompanyId());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>startEvt</column-name><column-value><![CDATA[");
+ sb.append(getStartEvt());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>endEvt</column-name><column-value><![CDATA[");
+ sb.append(getEndEvt());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>calId</column-name><column-value><![CDATA[");
+ sb.append(getCalId());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>title</column-name><column-value><![CDATA[");
+ sb.append(getTitle());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>location</column-name><column-value><![CDATA[");
+ sb.append(getLocation());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>notes</column-name><column-value><![CDATA[");
+ sb.append(getNotes());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>url</column-name><column-value><![CDATA[");
+ sb.append(getUrl());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>isAllDay</column-name><column-value><![CDATA[");
+ sb.append(getIsAllDay());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>isVisible</column-name><column-value><![CDATA[");
+ sb.append(getIsVisible());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>remind</column-name><column-value><![CDATA[");
+ sb.append(getRemind());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>creatorId</column-name><column-value><![CDATA[");
+ sb.append(getCreatorId());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>repeatEvtId</column-name><column-value><![CDATA[");
+ sb.append(getRepeatEvtId());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>repeatEvtRRule</column-name><column-value><![CDATA[");
+ sb.append(getRepeatEvtRRule());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
+ sb.append(getModifiedDate());
+ sb.append("]]></column-value></column>");
+ sb.append(
+ "<column><column-name>uid</column-name><column-value><![CDATA[");
+ sb.append(getUid());
+ sb.append("]]></column-value></column>");
+
+ sb.append("</model>");
+
+ return sb.toString();
+ }
+
+ private static ClassLoader _classLoader = EventAgenda.class.getClassLoader();
+ private static Class<?>[] _escapedModelProxyInterfaces = new Class[] {
+ EventAgenda.class
+ };
+ private long _evtId;
+ private long _companyId;
+ private long _originalCompanyId;
+ private boolean _setOriginalCompanyId;
+ private Date _startEvt;
+ private Date _originalStartEvt;
+ private Date _endEvt;
+ private Date _originalEndEvt;
+ private long _calId;
+ private long _originalCalId;
+ private boolean _setOriginalCalId;
+ private String _title;
+ private String _location;
+ private String _notes;
+ private String _url;
+ private boolean _isAllDay;
+ private boolean _isVisible;
+ private String _remind;
+ private long _creatorId;
+ private long _repeatEvtId;
+ private long _originalRepeatEvtId;
+ private boolean _setOriginalRepeatEvtId;
+ private String _repeatEvtRRule;
+ private Date _modifiedDate;
+ private String _uid;
+ private String _originalUid;
+ private long _columnBitmask;
+ private EventAgenda _escapedModelProxy;
+}
\ No newline at end of file