super(joinTable, accessor);
if (joinTable != null) {
// Add the inverse join columns if specified in the annotation.
for (Object inverseJoinColumn : joinTable.getAttributeArray("inverseJoinColumns")) {
m_inverseJoinColumns.add(new JoinColumnMetadata((MetadataAnnotation) inverseJoinColumn, accessor));
}
// Set the inverse foreign key if one is specified in the annotation.
if (joinTable.hasAttribute("inverseForeignKey")) {
m_inverseForeignKey = new ForeignKeyMetadata(joinTable.getAttributeAnnotation("inverseForeignKey"), accessor);