From 210e80ef364ecccac1f99cf1d2439f893dc5d4d1 Mon Sep 17 00:00:00 2001 From: lresende Date: Sun, 12 Feb 2012 07:14:12 +0000 Subject: Minor formatting updates git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1243203 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/assembly/impl/BindingImpl.java | 44 +++++++++++----------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'sca-java-2.x') diff --git a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/BindingImpl.java b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/BindingImpl.java index d912606f1d..ae9581cb6d 100644 --- a/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/BindingImpl.java +++ b/sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/BindingImpl.java @@ -35,13 +35,14 @@ import org.apache.tuscany.sca.policy.PolicySet; * Base Binding implementation class */ public abstract class BindingImpl extends ExtensibleImpl implements Binding { + protected QName type; + private String name; - private ExtensionType extensionType; private String uri; + private ExtensionType extensionType; private List requiredIntents = new ArrayList(); private List policySets = new ArrayList(); - protected QName type; protected BindingImpl(QName type) { super(); @@ -52,25 +53,28 @@ public abstract class BindingImpl extends ExtensibleImpl implements Binding { return type; } - public List getRequiredIntents() { - return requiredIntents; + public String getName() { + return name; } - public List getPolicySets() { - return policySets; + public void setName(String name) { + this.name = name; } - @Override - public Object clone() throws CloneNotSupportedException { - return super.clone(); + public String getURI() { + return uri; } - public String getName() { - return name; + public void setURI(String uri) { + this.uri = uri; + } + + public List getRequiredIntents() { + return requiredIntents; } - public void setName(String name) { - this.name = name; + public List getPolicySets() { + return policySets; } public ExtensionType getExtensionType() { @@ -80,14 +84,6 @@ public abstract class BindingImpl extends ExtensibleImpl implements Binding { public void setExtensionType(ExtensionType type) { this.extensionType = type; } - - public String getURI() { - return uri; - } - - public void setURI(String uri) { - this.uri = uri; - } public OperationSelector getOperationSelector() { return null; @@ -110,6 +106,12 @@ public abstract class BindingImpl extends ExtensibleImpl implements Binding { public void setResponseWireFormat(WireFormat wireFormat) { } + @Override + public Object clone() throws CloneNotSupportedException { + return super.clone(); + } + + @Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append(getType()).append(" ("); -- cgit v1.2.3