diff options
author | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-13 13:03:50 +0000 |
---|---|---|
committer | mcombellack <mcombellack@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-13 13:03:50 +0000 |
commit | f19b2d3c62e06b95e0681f5d2c3976f99be328cf (patch) | |
tree | 518cc3930624da5898aa6d72df316823512c81ba /java/sca/modules/implementation-data-xml/src/main | |
parent | 9acfee03a24aa52a4aae6bb77a1093c5b9780a9f (diff) |
Added missing @Override annotation to methods that override methods from their superclass
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@685532 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/implementation-data-xml/src/main')
-rw-r--r-- | java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java b/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java index c826e27e20..576fe5605d 100644 --- a/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java +++ b/java/sca/modules/implementation-data-xml/src/main/java/org/apache/tuscany/sca/implementation/data/jdbc/ResultSetXmlNodeImpl.java @@ -133,6 +133,7 @@ public class ResultSetXmlNodeImpl implements XmlNode { private class RecordXmlNodeImpl extends XmlNodeImpl { int index = 0; + @Override public Iterator<XmlNode> children() { return new Iterator<XmlNode>() { @@ -150,6 +151,7 @@ public class ResultSetXmlNodeImpl implements XmlNode { }; } + @Override public QName getName() { return RECORD; } @@ -167,16 +169,19 @@ public class ResultSetXmlNodeImpl implements XmlNode { this.index = index; } + @Override public List<XmlNode> attributes() { XmlNode attr = new SimpleXmlNodeImpl(NAME, columnNames[index], XmlNode.Type.ATTRIBUTE); return Arrays.asList(attr); } + @Override public Iterator<XmlNode> children() { XmlNode[] nodes = {new ValueXmlNodeImpl(index)}; return Arrays.asList(nodes).iterator(); } + @Override public QName getName() { return COLUMN; } @@ -194,6 +199,7 @@ public class ResultSetXmlNodeImpl implements XmlNode { this.index = index; } + @Override public String getValue() { try { return String.valueOf(resultSet.getObject(index + 1)); @@ -202,6 +208,7 @@ public class ResultSetXmlNodeImpl implements XmlNode { } } + @Override public Type getType() { return Type.CHARACTERS; } |