import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
}
/**
- * @param type the nodeTableType to set
- *
* Private setter for nodeConnectorType to be called by JAXB not by anyone
* else, NodeConnector is immutable
+ *
+ * @param type the nodeTableType to set
*/
+ @SuppressWarnings("unused")
private void setType(String type) {
this.nodeTableType = type;
if (this.nodeTableIDString != null) {
/**
* @return the nodeTableIDString
*/
- @XmlAttribute(name = "id")
+ @XmlElement(name = "id")
public String getNodeTableIDString() {
return this.nodeTableIDString != null? this.nodeTableIDString : nodeTableID.toString();
}
}
public String getNodeTableIdAsString() {
- return this.nodeTableType.toString() + "|"
+ return this.nodeTableType + "|"
+ this.nodeTableID.toString();
}