You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/03/20 05:49:23 UTC

svn commit: r520272 - /incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java

Author: jsdelfino
Date: Mon Mar 19 21:49:23 2007
New Revision: 520272

URL: http://svn.apache.org/viewvc?view=rev&rev=520272
Log:
Added base implementation of Interface interface.

Added:
    incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java   (with props)

Added: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java?view=auto&rev=520272
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java Mon Mar 19 21:49:23 2007
@@ -0,0 +1,53 @@
+/*
+ * 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.tuscany.assembly.model.impl;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.tuscany.assembly.model.Interface;
+import org.apache.tuscany.policy.model.Intent;
+
+public abstract class InterfaceImpl extends BaseImpl implements Interface {
+	
+	private boolean conversational;
+	private boolean local;
+	List<Intent> requiredIntents = new ArrayList<Intent>();
+
+	public boolean isConversational() {
+		return conversational;
+	}
+
+	public boolean isLocal() {
+		return local;
+	}
+
+	public void setConversational(boolean conversational) {
+		this.conversational = conversational;
+	}
+
+	public void setLocal(boolean local) {
+		this.local = local;
+	}
+
+	public List<Intent> getRequiredIntents() {
+		return requiredIntents;
+	}
+
+}

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/branches/sca-java-integration/sca/assembly/src/main/java/org/apache/tuscany/assembly/model/impl/InterfaceImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



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