HHH-14529 Add a few missing methods to the JAXB representation of ManagedType

This commit is contained in:
Yoann Rodière 2021-03-26 13:32:13 +01:00
parent efe5424d35
commit b4dd2e272f
2 changed files with 9 additions and 4 deletions

View File

@ -11,10 +11,6 @@ package org.hibernate.boot.jaxb.mapping.spi;
*/ */
public interface EntityOrMappedSuperclass extends ManagedType { public interface EntityOrMappedSuperclass extends ManagedType {
String getDescription();
void setDescription(String value);
JaxbIdClass getIdClass(); JaxbIdClass getIdClass();
void setIdClass(JaxbIdClass value); void setIdClass(JaxbIdClass value);

View File

@ -16,6 +16,11 @@ import javax.persistence.AccessType;
* @author Steve Ebersole * @author Steve Ebersole
*/ */
public interface ManagedType { public interface ManagedType {
String getDescription();
void setDescription(String value);
String getClazz(); String getClazz();
void setClazz(String className); void setClazz(String className);
@ -25,4 +30,8 @@ public interface ManagedType {
void setMetadataComplete(Boolean isMetadataComplete); void setMetadataComplete(Boolean isMetadataComplete);
AccessType getAccess(); AccessType getAccess();
void setAccess(AccessType value);
AttributesContainer getAttributes();
} }