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

de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order > Class Reference

A class which aggregates all objects which belong to a single task flow. More...

List of all members.

Public Member Functions

String getId ()
 Delivers the value of ::id.
DelegatingOrder< T > getOrder ()
 Delivers the value of ::order.
void setOrder (final DelegatingOrder< T > order)
 Sets the value of ::order to order.
boolean hasOrder ()
 Delivers the value of ::order.
List< Quote > getQuotes ()
 Delivers the value of ::quotes.
void setQuotes (final List< Quote > quotes)
 Sets the value of ::quotes to quotes.
boolean hasQuotes ()
 Delivers the value of ::quotes.
TaskFlow addQuote (final Quote quote)
Taskling getTaskling ()
 Delivers the value of ::taskling.
void setTaskling (final Taskling taskling)
 Sets the value of ::taskling to taskling.
boolean hasTaskling ()
 Delivers the value of ::taskling.
boolean hasPreferredQuote ()
 Delivers the value of ::preferredQuote.
Quote getPreferredQuote ()
 Delivers the value of ::preferredQuote.
void setPreferredQuote (final Quote preferredQuote)
 Sets the value of ::preferredQuote to preferredQuote.
void setUnfulfillableOrder (final boolean isUnfulfillable)
 Sets the value of ::unfulfillableOrder to b.
boolean isUnfulfillableOrder ()
 Delivers the value of ::unfulfillableOrder.

Protected Member Functions

 TaskFlow ()
 No, you are not allowed to instantiate this.
 TaskFlow (final String id)
 Sets the tf id on creation.
void setId (final String id)
 Sets the value of ::id to id.

Private Attributes

String id
 Taskflow id.
DelegatingOrder< T > order
 The order.
List< Quote > quotes
 The quotes, if computed.
Quote preferredQuote
 A quote provided by the client.
Taskling taskling
 The taskling object, if created.
boolean unfulfillableOrder = false
 Remembers if the order was unfulfillable.

Detailed Description

A class which aggregates all objects which belong to a single task flow.

Author:
try ma ik jo rr a zib
Date:
: 17.01.2011 10:33:40

Constructor & Destructor Documentation

de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.TaskFlow ( ) [protected]

No, you are not allowed to instantiate this.

Go and ask a factory.

{ }
de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.TaskFlow ( final String  id) [protected]

Sets the tf id on creation.

Parameters:
idthe id of the task flow
                                          {
        this.id = id;
    }

Member Function Documentation

String de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.getId ( )

Delivers the value of ::id.

Returns:
The value of ::id.
                          {
        return id;
    }
DelegatingOrder<T> de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.getOrder ( )

Delivers the value of ::order.

Returns:
The value of ::order.
                                         {
        return order;
    }
Quote de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.getPreferredQuote ( )

Delivers the value of ::preferredQuote.

Returns:
The value of ::preferredQuote.
                                     {
        return preferredQuote;
    }
List<Quote> de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.getQuotes ( )

Delivers the value of ::quotes.

Returns:
The value of ::quotes.
                                   {
        return quotes;
    }
Taskling de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.getTaskling ( )

Delivers the value of ::taskling.

Returns:
The value of ::taskling.
                                  {
        return taskling;
    }
boolean de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.hasOrder ( )

Delivers the value of ::order.

Returns:
The value of ::order.
                               {
        return order != null;
    }
boolean de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.hasPreferredQuote ( )

Delivers the value of ::preferredQuote.

Returns:
The value of ::preferredQuote.
                                       {
        return preferredQuote != null;
    }
boolean de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.hasQuotes ( )

Delivers the value of ::quotes.

Returns:
The value of ::quotes.
                                {
        return quotes != null && quotes.size() > 0;
    }
boolean de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.hasTaskling ( )

Delivers the value of ::taskling.

Returns:
The value of ::taskling.
                                  {
        return taskling != null;
    }
boolean de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.isUnfulfillableOrder ( )

Delivers the value of ::unfulfillableOrder.

Returns:
The value of ::unfulfillableOrder.
                                          {
        return unfulfillableOrder;
    }
void de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.setId ( final String  id) [protected]

Sets the value of ::id to id.

Parameters:
idThe new value of ::id.
                                            {
        this.id = id;
    }
void de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.setOrder ( final DelegatingOrder< T >  order)

Sets the value of ::order to order.

Parameters:
orderThe new value of ::order.
                                                           {
        this.order = order;
    }
void de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.setPreferredQuote ( final Quote  preferredQuote)

Sets the value of ::preferredQuote to preferredQuote.

Parameters:
preferredQuoteThe new value of ::preferredQuote.
void de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.setQuotes ( final List< Quote >  quotes)

Sets the value of ::quotes to quotes.

Parameters:
quotesThe new value of ::quotes.
                                                      {
        this.quotes = quotes;
    }
void de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.setTaskling ( final Taskling  taskling)

Sets the value of ::taskling to taskling.

Parameters:
tasklingThe new value of ::taskling.
                                                       {
        this.taskling = taskling;
    }
void de.zib.gndms.neomodel.gorfx.TaskFlow< T extends Order >.setUnfulfillableOrder ( final boolean  isUnfulfillable)

Sets the value of ::unfulfillableOrder to b.

Parameters:
isUnfulfillableThe new value of ::unfulfillableOrder.
                                                                       {
        unfulfillableOrder = isUnfulfillable;
    }

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