Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.entity.BatchEntity Class Reference

Inheritance diagram for org.colimas.entity.BatchEntity:

org.colimas.entity.I_Entity List of all members.

Public Member Functions

String getFileName ()
void setFileName (String fileName)
int getStartDate ()
String getStartTime ()
void setStartTime (String property1)
String getCreatedBy ()
void setCreatedBy (String property1)
Timestamp getCreatedDate ()
void setCreatedDate (Timestamp property1)
String getChangedBy ()
void setChangedBy (String property1)
Timestamp getChangedDate ()
void setChangedDate (Timestamp property1)
String getPath ()
void setPath (String path)
String getVersion ()
void setVersion (String version)
String getParameters ()
void setParameters (String parameters)
int getScheduletype ()
void setScheduletype (int scheduletype)
String getId ()
String getInterval ()
void setInterval (String interval)
String getEndTime ()
void setEndTime (String endTime)
int getStartDay ()
void setStartDay (int startDay)
void setStartDate (int startDate)
String getMachine ()
void setMachine (String machine)
String getDesc ()
void setDesc (String desc)
String toString ()

Detailed Description

BatchEntity.java

Function:
Batch Info is stored. Schedule settings: Type Time Setting More than Once Daily Each XX hours XX minutes run one time Duration:(hh:mm:ss-hh:mm:ss) | Whole day,24hours Once Daily Start time:hh:mm:ss Once Weekly Start week day Start time:hh:mm:ss Once Monthly Start date Start time:hh:mm:ss

Author:
zhao lei
Version:
1.4
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/03          zhao lei    INIT
 002 2005/12/04          zhao lei    repair
 003 2006/01/04          zhao lei    separator->interval
                                     add machine property
 004 2006/01/07          zhao lei    add toString()
 


Member Function Documentation

String org.colimas.entity.BatchEntity.getChangedBy  ) 
 

get the user id who modified this batch last time.

Returns:
Returns the ModifiedBy.

Timestamp org.colimas.entity.BatchEntity.getChangedDate  ) 
 

get the last date when the batch was modified.

Returns:
Returns the ModifiedDate.

String org.colimas.entity.BatchEntity.getCreatedBy  ) 
 

get the user id who created this batch

Returns:
Returns the CreatedBy.

Timestamp org.colimas.entity.BatchEntity.getCreatedDate  ) 
 

get the date when this batch was created/

Returns:
Returns the CreatedDate.

String org.colimas.entity.BatchEntity.getDesc  ) 
 

get desc

Returns:
Returns the desc.

String org.colimas.entity.BatchEntity.getEndTime  ) 
 

get endTime when schedule type is More than once daily or return -1;

Returns:
Returns the endTime.

String org.colimas.entity.BatchEntity.getFileName  ) 
 

get batch file name. The file should be executable or the running will fail.

Returns:
Returns the fileName.

String org.colimas.entity.BatchEntity.getId  ) 
 

get id

Returns:
Returns the id.

String org.colimas.entity.BatchEntity.getInterval  ) 
 

get each HH:MM:SS time the batch run once.

Returns:
Returns the interval.

String org.colimas.entity.BatchEntity.getMachine  ) 
 

get machine

Returns:
Returns the machine.

String org.colimas.entity.BatchEntity.getParameters  ) 
 

get parameters of batch

Returns:
Returns the parameters.

String org.colimas.entity.BatchEntity.getPath  ) 
 

get path of batch file

Returns:
Returns the path.

int org.colimas.entity.BatchEntity.getScheduletype  ) 
 

get scheduletype More than Once Daily =1 Once Daily =2 Once Weekly =3 Once Monthly =4

Returns:
Returns the scheduletype.

int org.colimas.entity.BatchEntity.getStartDate  ) 
 

get start date when the schedule type is Once Monthly, or return -1.

Returns:
Returns the StartDate.

int org.colimas.entity.BatchEntity.getStartDay  ) 
 

get start Day when the schedule type is once weekly the value is from 1 to 7 or return -1;

Returns:
Returns the startDay.

String org.colimas.entity.BatchEntity.getStartTime  ) 
 

get start time for all schedule type.

Returns:
Returns the StartTime.

String org.colimas.entity.BatchEntity.getVersion  ) 
 

get version of the batch

Returns:
Returns the version.

void org.colimas.entity.BatchEntity.setChangedBy String  property1  ) 
 

set the user id who modified this batch time.

Parameters:
ModifiedBy The ModifiedBy to set.

void org.colimas.entity.BatchEntity.setChangedDate Timestamp  property1  ) 
 

set the last date when the batch was modified.

Parameters:
ModifiedDate The ModifiedDate to set.

void org.colimas.entity.BatchEntity.setCreatedBy String  property1  ) 
 

set the user id who create this batch

Parameters:
CreatedBy The CreatedBy to set.

void org.colimas.entity.BatchEntity.setCreatedDate Timestamp  property1  ) 
 

set the date when this batch was created/

Parameters:
CreatedDate The CreatedDate to set.

void org.colimas.entity.BatchEntity.setDesc String  desc  ) 
 

set desc

Parameters:
desc The desc to set.

void org.colimas.entity.BatchEntity.setEndTime String  endTime  ) 
 

set endTime when schedule type is More than once daily

Parameters:
endTime HHMMSS

void org.colimas.entity.BatchEntity.setFileName String  fileName  ) 
 

set batch file name

Parameters:
fileName The fileName to set.

void org.colimas.entity.BatchEntity.setInterval String  interval  ) 
 

set each HH:MM:SS time the batch run once.

Parameters:
interval HHMMSS

void org.colimas.entity.BatchEntity.setMachine String  machine  ) 
 

set machine

Parameters:
machine The machine to set.

void org.colimas.entity.BatchEntity.setParameters String  parameters  ) 
 

set parameters

Parameters:
parameters The parameters to set.

void org.colimas.entity.BatchEntity.setPath String  path  ) 
 

set path of batch file

Parameters:
path The path to set.

void org.colimas.entity.BatchEntity.setScheduletype int  scheduletype  ) 
 

set scheduletype More than Once Daily =1 Once Daily =2 Once Weekly =3 Once Monthly =4

Parameters:
scheduletype The scheduletype to set.

void org.colimas.entity.BatchEntity.setStartDate int  startDate  ) 
 

set start Date. The value should be from 1 to 31, and the schedule type should be once monthly.

Parameters:
startDate The startDate to set.

void org.colimas.entity.BatchEntity.setStartDay int  startDay  ) 
 

set start Day, the value should be from 1 to 7, and the schedule type should be Once wekkly

Parameters:
startDay The startDay to set.

void org.colimas.entity.BatchEntity.setStartTime String  property1  ) 
 

set start time HHMMSS

Parameters:
StartTime The StartTime to set.

void org.colimas.entity.BatchEntity.setVersion String  version  ) 
 

set version

Parameters:
version The version to set.

String org.colimas.entity.BatchEntity.toString  ) 
 

Print the entity info

See also:
java.lang.Object.toString()


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:27 2006 for Colimas by  doxygen 1.4.4