You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2015/07/24 20:58:08 UTC

git commit: [flex-asjs] [refs/heads/develop] - Missing file from ListsTest.

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 95cb140a8 -> cbf80537d


Missing file from ListsTest.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cbf80537
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cbf80537
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cbf80537

Branch: refs/heads/develop
Commit: cbf80537daea24f84adc79ae5e7596e32f223ce8
Parents: 95cb140
Author: Peter Ent <pe...@apache.org>
Authored: Fri Jul 24 14:58:01 2015 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Fri Jul 24 14:58:01 2015 -0400

----------------------------------------------------------------------
 examples/ListsTest/src/products/Product.as | 43 +++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cbf80537/examples/ListsTest/src/products/Product.as
----------------------------------------------------------------------
diff --git a/examples/ListsTest/src/products/Product.as b/examples/ListsTest/src/products/Product.as
new file mode 100644
index 0000000..b4854a3
--- /dev/null
+++ b/examples/ListsTest/src/products/Product.as
@@ -0,0 +1,43 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package products
+{
+	public class Product
+	{
+		public function Product(id:String,title:String,detail:String,sales:Number,image:String)
+		{
+			this.id = id;
+			this.title = title;
+			this.detail = detail;
+			this.sales = sales;
+			this.image = image;
+		}
+		
+		public var id:String;
+		public var title:String;
+		public var detail:String;
+		public var image:String;
+		public var sales:Number;
+		
+		public function toString():String
+		{
+			return title;
+		}
+	}
+}
\ No newline at end of file