1 21 package oracle.toplink.essentials.internal.ejb.cmp3.xml.columns; 23 24 import org.w3c.dom.Node ; 25 import org.w3c.dom.NodeList ; 26 27 import oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLHelper; 28 import oracle.toplink.essentials.internal.ejb.cmp3.xml.XMLConstants; 29 30 import oracle.toplink.essentials.internal.ejb.cmp3.metadata.columns.MetadataJoinColumns; 31 32 38 public class XMLJoinColumns extends MetadataJoinColumns { 39 42 public XMLJoinColumns(Node node, XMLHelper helper) { 43 this(helper.getNodes(node, XMLConstants.JOIN_COLUMN), helper); 44 } 45 46 49 public XMLJoinColumns(NodeList nodes, XMLHelper helper) { 50 for (int i = 0; i < nodes.getLength(); i++) { 51 m_joinColumns.add(new XMLJoinColumn(nodes.item(i), helper)); 52 } 53 } 54 55 58 public boolean loadedFromXML() { 59 return true; 60 } 61 } 62 | Popular Tags |