[jboss-cvs] JBossAS SVN: r98467 - projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-ejb-api/src/main/javax/ejb.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 22 12:18:42 EST 2009


Author: jaikiran
Date: 2009-12-22 12:18:42 -0500 (Tue, 22 Dec 2009)
New Revision: 98467

Removed:
   projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-ejb-api/src/main/javax/ejb/ScheduleExpression.java
Log:
Autoversioning commit:  a non-deltaV client made a change to
/projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-ejb-api/src/main/javax/ejb/ScheduleExpression.java

Deleted: projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-ejb-api/src/main/javax/ejb/ScheduleExpression.java
===================================================================
--- projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-ejb-api/src/main/javax/ejb/ScheduleExpression.java	2009-12-22 17:18:35 UTC (rev 98466)
+++ projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-ejb-api/src/main/javax/ejb/ScheduleExpression.java	2009-12-22 17:18:42 UTC (rev 98467)
@@ -1,210 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This 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 software 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.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package javax.ejb;
-
-import java.io.Serializable;
-import java.util.Date;
-
-/**
- * A calendar-based timeout expression for an enterprise bean timer. 
- * See the Schedule annotation for the defaults.
- * 
- * @author <a href="mailto:cdewolf at redhat.com">Carlo de Wolf</a>
- * @version $Revision$
- * @since 3.1
- */
-public final class ScheduleExpression implements Serializable
-{
-   private static final long serialVersionUID = 1L;
-   
-   private String dayOfMonth = "*";
-
-   private String dayOfWeek = "*";
-
-   private Date end;
-
-   private String hour = "0";
-
-   private String minute = "0";
-
-   private String month = "*";
-
-   private String second = "0";
-
-   private Date start;
-   
-   private String timezone = "";
-
-   private String year = "*";
-
-   public ScheduleExpression dayOfMonth(int d)
-   {
-      this.dayOfMonth = Integer.toString(d);
-      return this;
-   }
-   
-   public ScheduleExpression dayOfMonth(String d)
-   {
-      this.dayOfMonth = d;
-      return this;
-   }
-   
-   public ScheduleExpression dayOfWeek(int d)
-   {
-      this.dayOfWeek = Integer.toString(d);
-      return this;
-   }
-   
-   public ScheduleExpression dayOfWeek(String d)
-   {
-      this.dayOfWeek = d;
-      return this;
-   }
-   
-   public ScheduleExpression end(Date e)
-   {
-      this.end = e;
-      return this;
-   }
-   
-   public String getDayOfMonth()
-   {
-      return dayOfMonth;
-   }
-   
-   public String getDayOfWeek()
-   {
-      return dayOfWeek;
-   }
-   
-   public Date getEnd()
-   {
-      return end;
-   }
-   
-   public String getHour()
-   {
-      return hour ;
-   }
-   
-   public String getMinute()
-   {
-      return minute ;
-   }
-   
-   public String getMonth()
-   {
-      return month ;
-   }
-   
-   public String getSecond()
-   {
-      return second ;
-   }
-   
-   public Date getStart()
-   {
-      return start;
-   }
-   
-   public String getTimezone()
-   {
-      return timezone;
-   }
-   
-   public String getYear()
-   {
-      return year ;
-   }
-   
-   public ScheduleExpression hour(int h)
-   {
-      this.hour = Integer.toString(h);
-      return this;
-   }
-   
-   public ScheduleExpression hour(String h)
-   {
-      this.hour = h;
-      return this;
-   }
-   
-   public ScheduleExpression minute(int m)
-   {
-      this.minute = Integer.toString(m);
-      return this;
-   }
-   
-   public ScheduleExpression minute(String m)
-   {
-      this.minute = m;
-      return this;
-   }
-   
-   public ScheduleExpression month(int m)
-   {
-      this.month = Integer.toString(m);
-      return this;
-   }
-   
-   public ScheduleExpression month(String m)
-   {
-      this.month = m;
-      return this;
-   }
-   
-   public ScheduleExpression second(int s)
-   {
-      this.second = Integer.toString(s);
-      return this;
-   }
-   
-   public ScheduleExpression second(String s)
-   {
-      this.second = s;
-      return this;
-   }
-   
-   public ScheduleExpression start(Date s)
-   {
-      this.start = s;
-      return this;
-   }
-   
-   public ScheduleExpression timezone(String s)
-   {
-      this.timezone = s;
-      return this;
-   }
-   
-   public ScheduleExpression year(int y)
-   {
-      this.year = Integer.toString(y);
-      return this;
-   }
-   
-   public ScheduleExpression year(String y)
-   {
-      this.year = y;
-      return this;
-   }
-}




More information about the jboss-cvs-commits mailing list