My favorites
|
Sign in
tearaway-tea
Code examples for my Go!Verla Flex Blog
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
‹r3
r43
Source path:
svn
/
trunk
/
opportunities
/
src
/
com
/
tearaway_tea
/
opportunities
/
model
/
OpportunityVO.as
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) : OpportunityVO
{
var result : OpportunityVO = new OpportunityVO();
result.id = id;
result.name = name;
result.startDate = startDate;
result.endDate = endDate;
result.lastUpdate = new Date();
return result;
}
public var id : Number;
public var name : String;
public var startDate : Date;
public var endDate : Date;
public var lastUpdate : Date;
}
}
Show details
Hide details
Change log
r11
by tearaway.tea on Mar 23, 2009
Diff
[No log message]
Go to:
.../data/OpportunityDataProvider.as
...rtunities/model/OpportunityVO.as
...ices/OpportunitiesMockService.as
...views/OpportunitiesListView.mxml
...ews/OpportunitiesListViewBase.as
Older revisions
r3
by tearaway.tea on Mar 23, 2009
Diff
Initial import
All revisions of this file
File info
Size: 643 bytes, 31 lines
View raw file
Hosted by