Class JaxbPrimaryKeyJoinColumnImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbPrimaryKeyJoinColumnImpl
- All Implemented Interfaces:
Serializable, JaxbCheckable, JaxbColumn, JaxbColumnCommon, JaxbColumnDefinable, JaxbColumnJoined, JaxbColumnMutable, JaxbColumnNullable, JaxbColumnUniqueable, JaxbCommentable, JaxbDatabaseObject
@Repeatable(PrimaryKeyJoinColumns.class)
@Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
public @interface PrimaryKeyJoinColumn {
String name() default "";
String referencedColumnName() default "";
String columnDefinition() default "";
String options() default "";
ForeignKey foreignKey() default @ForeignKey(PROVIDER_DEFAULT);
}
<p>Java class for primary-key-join-column complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="primary-key-join-column">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="foreign-key" type="{http://www.hibernate.org/xsd/orm/mapping}foreign-key" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="referenced-column-name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="options" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected JaxbForeignKeyImplprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the columnDefinition property.Gets the value of the foreignKey property.getName()Gets the value of the name property.Gets the value of the options property.Gets the value of the referencedColumnName property.voidsetColumnDefinition(String value) Sets the value of the columnDefinition property.voidsetForeignKey(JaxbForeignKeyImpl value) Sets the value of the foreignKey property.voidSets the value of the name property.voidsetOptions(String value) Sets the value of the options property.voidsetReferencedColumnName(String value) Sets the value of the referencedColumnName property.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JaxbColumnCommon
getCheckConstraints, getComment, getTable, isInsertable, isNullable, isUnique, isUpdatable
-
Field Details
-
foreignKey
-
name
-
referencedColumnName
-
columnDefinition
-
options
-
-
Constructor Details
-
JaxbPrimaryKeyJoinColumnImpl
public JaxbPrimaryKeyJoinColumnImpl()
-
-
Method Details
-
getForeignKey
Gets the value of the foreignKey property.- Specified by:
getForeignKeyin interfaceJaxbColumnJoined- Returns:
- possible object is
JaxbForeignKeyImpl
-
setForeignKey
Sets the value of the foreignKey property.- Parameters:
value- allowed object isJaxbForeignKeyImpl
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceJaxbColumn- Returns:
- possible object is
String
-
setName
-
getReferencedColumnName
Gets the value of the referencedColumnName property.- Specified by:
getReferencedColumnNamein interfaceJaxbColumnJoined- Returns:
- possible object is
String
-
setReferencedColumnName
-
getColumnDefinition
Gets the value of the columnDefinition property.- Specified by:
getColumnDefinitionin interfaceJaxbColumnDefinable- Returns:
- possible object is
String
-
setColumnDefinition
-
getOptions
Gets the value of the options property.- Specified by:
getOptionsin interfaceJaxbColumnDefinable- Returns:
- possible object is
String
-
setOptions
-