GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Private Attributes | Static Private Attributes

de.zib.gndms.taskflows.staging.client.model.TimeConstraint Class Reference

A time constrain is a selection criteria for data stage-in. More...

Inherits java::io::Serializable.

List of all members.

Public Member Functions

boolean hasMinTime ()
 Checks if minTime is present.
String getMinTime ()
 Delives the value of minTime.
String getMinTimeString ()
 Same as above...
void setMinTime (String minTime)
 Sets the value of minTime.
void setMinTime (DateTime minTime)
 Sets the value of minTime form the given time object.
boolean hasMaxTime ()
 Checks if maxTime is present.
String getMaxTime ()
 Delives the value of maxTime.
String getMaxTimeString ()
 Same as above...
void setMaxTime (String maxTime)
 Sets the value of maxTime.
void setMaxTime (DateTime maxTime)
 Sets the value of maxTime form the given time object.

Private Attributes

String minTime
 The lower bound for the time.
String maxTime
 The upper bound for the time span.

Static Private Attributes

static final long serialVersionUID = 2682486067028199165L

Detailed Description

A time constrain is a selection criteria for data stage-in.

Author:
try ma ik jo rr a zib $id$

User: bzcjorra Date: Sep 15, 2008 4:11:00 PM


Member Function Documentation

String de.zib.gndms.taskflows.staging.client.model.TimeConstraint.getMaxTime ( )

Delives the value of maxTime.

Returns:
Some string containg time...
                               {
        return maxTime;
    }
String de.zib.gndms.taskflows.staging.client.model.TimeConstraint.getMaxTimeString ( )

Same as above...

Deprecated:
                                     {
        return maxTime;
    }
String de.zib.gndms.taskflows.staging.client.model.TimeConstraint.getMinTime ( )

Delives the value of minTime.

Returns:
Some string containg time...
                               {
        return minTime;
    }
String de.zib.gndms.taskflows.staging.client.model.TimeConstraint.getMinTimeString ( )

Same as above...

Deprecated:
                                     {
        return minTime;
    }
boolean de.zib.gndms.taskflows.staging.client.model.TimeConstraint.hasMaxTime ( )

Checks if maxTime is present.

Returns:
True if thats the case.
                                {
        return maxTime != null;
    }
boolean de.zib.gndms.taskflows.staging.client.model.TimeConstraint.hasMinTime ( )

Checks if minTime is present.

Returns:
True if thats the case.
                                {
        return minTime != null;
    }
void de.zib.gndms.taskflows.staging.client.model.TimeConstraint.setMaxTime ( DateTime  maxTime)

Sets the value of maxTime form the given time object.

Parameters:
maxTimeA dateTime object representing the maxTime.
                                               {
        this.maxTime = maxTime.toString( );
    }
void de.zib.gndms.taskflows.staging.client.model.TimeConstraint.setMaxTime ( String  maxTime)

Sets the value of maxTime.

Parameters:
maxTimeA string contain a vaild time stamp.
                                             {
        this.maxTime = maxTime;
    }
void de.zib.gndms.taskflows.staging.client.model.TimeConstraint.setMinTime ( DateTime  minTime)

Sets the value of minTime form the given time object.

Parameters:
minTimeA dateTime object representing the minTime.
                                               {
        this.minTime = minTime.toString();
    }
void de.zib.gndms.taskflows.staging.client.model.TimeConstraint.setMinTime ( String  minTime)

Sets the value of minTime.

Parameters:
minTimeA string contain a vaild time stamp.
                                             {
        this.minTime = minTime;
    }

Member Data Documentation

The upper bound for the time span.

The string should be formatted in ISO 8601, but isn't validated. It may also contain some prehistorical time stamps

The lower bound for the time.

The string should be formatted in ISO 8601, but isn't validated. It may also contain some prehistorical time stamps


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables