/** * @since 3.0 */ public Embeddable getEmbeddable(String className) { Embeddable e = embeddablesMap.get(className); if (e != null) { return e; } return namespace != null ? namespace.getEmbeddable(className) : null; }
public Embeddable getEmbeddable() { if (type == null) { return null; } return getNonNullNamespace().getEmbeddable(type); }
public Embeddable getEmbeddable(String className) { return getDelegate().getEmbeddable(className); }
/** * @since 3.0 */ public Embeddable getEmbeddable(String className) { checkMappingCache(); Embeddable result = mappingCache.getEmbeddable(className); if (result == null) { // reconstruct cache just in case some of the datamaps // have changed and now contain the required information refreshMappingCache(); result = mappingCache.getEmbeddable(className); } return result; }