-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
127 additions
and
15 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
hibernate-orm/src/main/java/org/hibernate/boot/jaxb/mapping/spi/JaxbCheckConstraint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* Copyright: Red Hat Inc. and Hibernate Authors | ||
*/ | ||
package org.hibernate.boot.jaxb.mapping.spi; | ||
|
||
/** | ||
* @author Steve Ebersole | ||
*/ | ||
public interface JaxbCheckConstraint { | ||
String getName(); | ||
String getConstraint(); | ||
String getOptions(); | ||
} |
22 changes: 22 additions & 0 deletions
22
hibernate-orm/src/main/java/org/hibernate/boot/jaxb/mapping/spi/JaxbTableMapping.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* Copyright: Red Hat Inc. and Hibernate Authors | ||
*/ | ||
package org.hibernate.boot.jaxb.mapping.spi; | ||
|
||
/** | ||
* @author Steve Ebersole | ||
*/ | ||
public interface JaxbTableMapping extends JaxbSchemaAware { | ||
JaxbCheckConstraint getCheck(); | ||
String getComment(); | ||
String getOptions(); | ||
|
||
// todo : see what JPA 3.2 decides about some of these XSD decisions | ||
// - https://github.com/jakartaee/persistence/pull/541 | ||
|
||
String getCommentAttribute(); | ||
String getOptionsAttribute(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters