Methods Summary |
---|
public java.util.List | getCascadeTypes()INTERNAL: (Overridden in XMLManyToOneAccessor)
return getCascadeTypes(m_manyToOne.cascade());
|
public java.lang.String | getFetchType()INTERNAL: (Overridden in XMLManyToOneAccessor)
return m_manyToOne.fetch().name();
|
protected java.lang.String | getLoggingContext()INTERNAL:
Return the logging context for this accessor.
return m_logger.MANY_TO_ONE_MAPPING_REFERENCE_CLASS;
|
public java.lang.Class | getTargetEntity()INTERNAL: (Overridden in XMLManyToOneAccessor)
return m_manyToOne.targetEntity();
|
public boolean | isManyToOne()INTERNAL:
return true;
|
public boolean | isOptional()INTERNAL: (Overridden in XMLManyToOneAccessor)
return m_manyToOne.optional();
|
public void | process()INTERNAL:
Process a @ManyToOne or many-to-one element into a TopLink OneToOne
mapping.
// Initialize our mapping now with what we found.
OneToOneMapping mapping = initOneToOneMapping();
// Now process the JoinColumns (if there are any) for this mapping.
processOwningMappingKeys(mapping);
// Add the mapping to the descriptor.
m_descriptor.addMapping(mapping);
|