My favorites | Sign in
Project Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.tearaway_tea.opportunities.model
{
import mx.collections.ArrayCollection;

[Bindable]
public class OpportunityVO
{
public static function createOpportunity(id : Number, name : String,
startDate : Date, endDate : Date, items : Array) : OpportunityVO
{
var result : OpportunityVO = new OpportunityVO();
result.id = id;
result.name = name;
result.startDate = startDate;
result.endDate = endDate;
result.items = new ArrayCollection(items);
return result;
}

public var id : Number;

public var name : String;

public var startDate : Date;

public var endDate : Date;

public var items : ArrayCollection;

}
}
Show details Hide details

Change log

r3 by tearaway.tea on Mar 23, 2009   Diff
Initial import
Go to: 

Older revisions

All revisions of this file

File info

Size: 675 bytes, 31 lines
Hosted by Google Code