diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-12 07:14:12 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2012-02-12 07:14:12 +0000 |
commit | 210e80ef364ecccac1f99cf1d2439f893dc5d4d1 (patch) | |
tree | b3337b6698f4135cc311ff26847f35704918a3a8 | |
parent | 38b0c067e394be8e2b0a7d295bf75a2522a6fa6a (diff) |
Minor formatting updates
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1243203 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/assembly/src/main/java/org/apache/tuscany/sca/assembly/impl/BindingImpl.java | 44 |
1 files changed, 23 insertions, 21 deletions
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<Intent> requiredIntents = new ArrayList<Intent>(); private List<PolicySet> policySets = new ArrayList<PolicySet>(); - protected QName type; protected BindingImpl(QName type) { super(); @@ -52,25 +53,28 @@ public abstract class BindingImpl extends ExtensibleImpl implements Binding { return type; } - public List<Intent> getRequiredIntents() { - return requiredIntents; + public String getName() { + return name; } - public List<PolicySet> 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<Intent> getRequiredIntents() { + return requiredIntents; } - public void setName(String name) { - this.name = name; + public List<PolicySet> 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(" ("); |