Class JaxbMapKeyJoinColumnImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbMapKeyJoinColumnImpl
- All Implemented Interfaces:
Serializable, JaxbCheckable, JaxbColumn, JaxbColumnCommon, JaxbColumnDefinable, JaxbColumnJoined, JaxbColumnMutable, JaxbColumnNullable, JaxbColumnUniqueable, JaxbCommentable, JaxbDatabaseObject
@Repeatable(MapKeyJoinColumns.class)
@Target({METHOD, FIELD}) @Retention(RUNTIME)
public @interface MapKeyJoinColumn {
String name() default "";
String referencedColumnName() default "";
boolean unique() default false;
boolean nullable() default false;
boolean insertable() default true;
boolean updatable() default true;
String columnDefinition() default "";
String options() default "";
String table() default "";
ForeignKey foreignKey() default @ForeignKey(ConstraintMode.PROVIDER_DEFAULT);
}
<p>Java class for map-key-join-column complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="map-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="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="insertable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="updatable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="options" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
}</pre>
- See Also:
-
Field Summary
Fields -
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.getTable()Gets the value of the table property.Gets the value of the insertable property.Gets the value of the nullable property.isUnique()Gets the value of the unique property.Gets the value of the updatable property.voidsetColumnDefinition(String value) Sets the value of the columnDefinition property.voidsetForeignKey(JaxbForeignKeyImpl value) Sets the value of the foreignKey property.voidsetInsertable(Boolean value) Sets the value of the insertable property.voidSets the value of the name property.voidsetNullable(Boolean value) Sets the value of the nullable property.voidsetOptions(String value) Sets the value of the options property.voidsetReferencedColumnName(String value) Sets the value of the referencedColumnName property.voidSets the value of the table property.voidSets the value of the unique property.voidsetUpdatable(Boolean value) Sets the value of the updatable property.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JaxbColumnCommon
getCheckConstraints, getComment
-
Field Details
-
foreignKey
-
name
-
referencedColumnName
-
unique
-
nullable
-
insertable
-
updatable
-
columnDefinition
-
options
-
table
-
-
Constructor Details
-
JaxbMapKeyJoinColumnImpl
public JaxbMapKeyJoinColumnImpl()
-
-
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
-
isUnique
Gets the value of the unique property.- Specified by:
isUniquein interfaceJaxbColumnCommon- Specified by:
isUniquein interfaceJaxbColumnUniqueable- Returns:
- possible object is
Boolean
-
setUnique
-
isNullable
Gets the value of the nullable property.- Specified by:
isNullablein interfaceJaxbColumnCommon- Specified by:
isNullablein interfaceJaxbColumnNullable- Returns:
- possible object is
Boolean
-
setNullable
-
isInsertable
Gets the value of the insertable property.- Specified by:
isInsertablein interfaceJaxbColumnCommon- Specified by:
isInsertablein interfaceJaxbColumnMutable- Returns:
- possible object is
Boolean
-
setInsertable
-
isUpdatable
Gets the value of the updatable property.- Specified by:
isUpdatablein interfaceJaxbColumnCommon- Specified by:
isUpdatablein interfaceJaxbColumnMutable- Returns:
- possible object is
Boolean
-
setUpdatable
-
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
-
getTable
Gets the value of the table property.- Specified by:
getTablein interfaceJaxbColumn- Specified by:
getTablein interfaceJaxbColumnCommon- Returns:
- possible object is
String
-
setTable
-