/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package uk.ac.ebi.ep.parser.xmlparser; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * * @author joseph */ @XmlType public class Ref { private String dbName; private String dbKey; public Ref() { } @XmlAttribute(name = "dbkey") public String getDbKey() { return dbKey; } public void setDbKey(String dbKey) { this.dbKey = dbKey; } @XmlAttribute(name = "dbname") public String getDbName() { return dbName; } public void setDbName(String dbName) { this.dbName = dbName; } @Override public String toString() { return "Ref{" + "dbName=" + dbName + ", dbKey=" + dbKey + '}'; } }