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

@ -10,10 +10,6 @@ package org.hibernate.boot.jaxb.mapping.spi;
* Common interface for JAXB bindings representing entities and mapped-superclasses.
*/
public interface EntityOrMappedSuperclass extends ManagedType {
String getDescription();
void setDescription(String value);
JaxbIdClass getIdClass();

View File

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