1 21 package oracle.toplink.essentials.internal.ejb.cmp3.xml.queries; 23 24 import org.w3c.dom.Node ; 25 26 import oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper; 27 import oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLConstants; 28 29 import oracle.toplink.essentials.internal.ejb.cmp3.metadata.queries.MetadataFieldResult; 30 31 37 public class XMLFieldResult extends MetadataFieldResult { 38 protected Node m_node; 39 protected XMLHelper m_helper; 40 41 44 public XMLFieldResult(Node node, XMLHelper helper) { 45 m_node = node; 46 m_helper = helper; 47 } 48 49 52 public String getColumn() { 53 return m_helper.getNodeValue(m_node, XMLConstants.ATT_COLUMN); 54 } 55 56 59 public String getName() { 60 return m_helper.getNodeValue(m_node, XMLConstants.ATT_NAME); 61 } 62 } 63 | Popular Tags |