Class JaxbMapKeyColumnImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbMapKeyColumnImpl
- All Implemented Interfaces:
Serializable, JaxbCheckable, JaxbColumn, JaxbColumnCommon, JaxbColumnDefinable, JaxbColumnMutable, JaxbColumnNullable, JaxbColumnSizable, JaxbColumnUniqueable, JaxbCommentable, JaxbDatabaseObject
public class JaxbMapKeyColumnImpl
extends Object
implements Serializable, JaxbColumnCommon, JaxbColumnSizable
@Target({METHOD, FIELD}) @Retention(RUNTIME)
public @interface MapKeyColumn {
String name() 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 "";
int length() default 255;
int precision() default 0; // decimal precision
int scale() default 0; // decimal scale
}
<p>Java class for map-key-column complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="map-key-column">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="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" />
<attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" />
</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 length property.getName()Gets the value of the name property.Gets the value of the options property.Gets the value of the precision property.getScale()Gets the value of the scale 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.voidsetInsertable(Boolean value) Sets the value of the insertable property.voidSets the value of the length 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.voidsetPrecision(Integer value) Sets the value of the precision property.voidSets the value of the scale 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, getCommentMethods inherited from interface JaxbColumnSizable
getSecondPrecision
-
Field Details
-
name
-
unique
-
nullable
-
insertable
-
updatable
-
columnDefinition
-
options
-
table
-
length
-
precision
-
scale
-
-
Constructor Details
-
JaxbMapKeyColumnImpl
public JaxbMapKeyColumnImpl()
-
-
Method Details
-
getName
Gets the value of the name property.- Specified by:
getNamein interfaceJaxbColumn- Returns:
- possible object is
String
-
setName
-
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
-
getLength
Gets the value of the length property.- Specified by:
getLengthin interfaceJaxbColumnSizable- Returns:
- possible object is
Integer
-
setLength
-
getPrecision
Gets the value of the precision property.- Specified by:
getPrecisionin interfaceJaxbColumnSizable- Returns:
- possible object is
Integer
-
setPrecision
-
getScale
Gets the value of the scale property.- Specified by:
getScalein interfaceJaxbColumnSizable- Returns:
- possible object is
Integer
-
setScale
-