You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by si...@apache.org on 2009/07/21 03:33:51 UTC

svn commit: r796105 - /labs/magma/trunk/fragment-content-main-domain/src/main/java/org/apache/magma/domain/content/AddMainContent.aj

Author: simoneg
Date: Tue Jul 21 01:33:51 2009
New Revision: 796105

URL: http://svn.apache.org/viewvc?rev=796105&view=rev
Log:
LABS-393 : missing Apache headers

Modified:
    labs/magma/trunk/fragment-content-main-domain/src/main/java/org/apache/magma/domain/content/AddMainContent.aj

Modified: labs/magma/trunk/fragment-content-main-domain/src/main/java/org/apache/magma/domain/content/AddMainContent.aj
URL: http://svn.apache.org/viewvc/labs/magma/trunk/fragment-content-main-domain/src/main/java/org/apache/magma/domain/content/AddMainContent.aj?rev=796105&r1=796104&r2=796105&view=diff
==============================================================================
--- labs/magma/trunk/fragment-content-main-domain/src/main/java/org/apache/magma/domain/content/AddMainContent.aj (original)
+++ labs/magma/trunk/fragment-content-main-domain/src/main/java/org/apache/magma/domain/content/AddMainContent.aj Tue Jul 21 01:33:51 2009
@@ -1,21 +1,37 @@
-package org.apache.magma.domain.content;
-
-import javax.persistence.OneToOne;
-
-import org.apache.magma.view.Listed;
-import org.apache.magma.view.View;
-
-public aspect AddMainContent {
-	private Content ContentCategory.mainContent;
-	
-	@View
-	@Listed
-	@OneToOne
-	public Content ContentCategory.getMainContent(){
-		return this.mainContent;
-	}
-	public void ContentCategory.setMainContent(Content mainContent){
-		this.mainContent = mainContent;
-	}
-	
-}
+/*
+ * 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 org.apache.magma.domain.content;
+
+import javax.persistence.OneToOne;
+
+import org.apache.magma.view.Listed;
+import org.apache.magma.view.View;
+
+public aspect AddMainContent {
+	private Content ContentCategory.mainContent;
+	
+	@View
+	@Listed
+	@OneToOne
+	public Content ContentCategory.getMainContent(){
+		return this.mainContent;
+	}
+	public void ContentCategory.setMainContent(Content mainContent){
+		this.mainContent = mainContent;
+	}
+	
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org