Methods Summary |
---|
public java.util.List | getCascadeTypes()INTERNAL: (Override from ManyToManyAccessor)
return m_helper.getCascadeTypes(m_node);
|
public java.lang.String | getFetchType()INTERNAL: (Override from ManyToManyAccessor)
return m_helper.getFetchTypeDefaultLAZY(m_node);
|
public oracle.toplink.essentials.internal.ejb.cmp3.metadata.tables.MetadataJoinTable | getJoinTable()INTERNAL: (Override from CollectionAccessor)
Node node = m_helper.getNode(m_node, XMLConstants.JOIN_TABLE);
if (node == null) {
return super.getJoinTable();
} else {
return new XMLJoinTable(node, m_helper, m_logger);
}
|
public java.lang.String | getMapKey()INTERNAL: (Override from CollectionAccessor)
Checks for a map-key node and returns its value if there is one.
Otherwise, ask the parent to look for an annotation.
Node mapKeyNode = m_helper.getNode(m_node, XMLConstants.MAPKEY);
String mapKeyValue = m_helper.getNodeValue(m_node, XMLConstants.MAPKEY);
if (mapKeyNode == null) {
return super.getMapKey();
} else {
return mapKeyValue;
}
|
public java.lang.String | getMappedBy()INTERNAL: (Override from ManyToManyAccessor)
return m_helper.getMappedBy(m_node);
|
public java.lang.String | getOrderBy()INTERNAL: (Override from CollectionAccessor)
If the order value is not specified, "" is returned.
if (hasOrderBy()) {
return m_helper.getNodeTextValue(m_node, XMLConstants.ORDER_BY);
} else {
return super.getOrderBy();
}
|
public java.lang.Class | getTargetEntity()INTERNAL: (Override from ManyToManyAccessor)
return m_helper.getTargetEntity(m_node);
|
public boolean | hasOrderBy()INTERNAL: (Override from CollectionAccessor)
Checks for an order-by node. If one isn't found, as the parent to look
for an annotation.
Node orderByNode = m_helper.getNode(m_node, XMLConstants.ORDER_BY);
if (orderByNode == null) {
return super.hasOrderBy();
} else {
return true;
}
|