Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbMapKeyColumn

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:map-key-column
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
Imports
java.io.Serializable, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlType

@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 table() default ""; int length() default 255; int precision() default 0; // decimal precision int scale() default 0; // decimal scale }

Java class for map-key-column complex type.

The following schema fragment specifies the expected content contained within this class.

<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="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>

Field Summary

Modifier and TypeField and Description
protected String
protected Boolean
protected Integer
protected String
protected Boolean
protected Integer
protected Integer
protected String
protected Boolean
protected Boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getColumnDefinition
()

Gets the value of the columnDefinition property.

public Integer

Returns:

possible object is Integer
getLength
()

Gets the value of the length property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public Integer

Returns:

possible object is Integer
getPrecision
()

Gets the value of the precision property.

public Integer

Returns:

possible object is Integer
getScale
()

Gets the value of the scale property.

public String

Returns:

possible object is String
getTable
()

Gets the value of the table property.

public Boolean

Returns:

possible object is Boolean
isInsertable
()

Gets the value of the insertable property.

public Boolean

Returns:

possible object is Boolean
isNullable
()

Gets the value of the nullable property.

public Boolean

Returns:

possible object is Boolean
isUnique
()

Gets the value of the unique property.

public Boolean

Returns:

possible object is Boolean
isUpdatable
()

Gets the value of the updatable property.

public void
setColumnDefinition(String
allowed object is String
value
)

Sets the value of the columnDefinition property.

public void
setInsertable(Boolean
allowed object is Boolean
value
)

Sets the value of the insertable property.

public void
setLength(Integer
allowed object is Integer
value
)

Sets the value of the length property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

public void
setNullable(Boolean
allowed object is Boolean
value
)

Sets the value of the nullable property.

public void
setPrecision(Integer
allowed object is Integer
value
)

Sets the value of the precision property.

public void
setScale(Integer
allowed object is Integer
value
)

Sets the value of the scale property.

public void
setTable(String
allowed object is String
value
)

Sets the value of the table property.

public void
setUnique(Boolean
allowed object is Boolean
value
)

Sets the value of the unique property.

public void
setUpdatable(Boolean
allowed object is Boolean
value
)

Sets the value of the updatable property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

columnDefinitionback to summary
protected String columnDefinition
Annotations
@XmlAttribute
name:column-definition
insertableback to summary
protected Boolean insertable
Annotations
@XmlAttribute
name:insertable
lengthback to summary
protected Integer length
Annotations
@XmlAttribute
name:length
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
nullableback to summary
protected Boolean nullable
Annotations
@XmlAttribute
name:nullable
precisionback to summary
protected Integer precision
Annotations
@XmlAttribute
name:precision
scaleback to summary
protected Integer scale
Annotations
@XmlAttribute
name:scale
tableback to summary
protected String table
Annotations
@XmlAttribute
name:table
uniqueback to summary
protected Boolean unique
Annotations
@XmlAttribute
name:unique
updatableback to summary
protected Boolean updatable
Annotations
@XmlAttribute
name:updatable

Constructor Detail

JaxbMapKeyColumnback to summary
public JaxbMapKeyColumn()

Method Detail

getColumnDefinitionback to summary
public String getColumnDefinition()

Gets the value of the columnDefinition property.

Returns:String

possible object is String

getLengthback to summary
public Integer getLength()

Gets the value of the length property.

Returns:Integer

possible object is Integer

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

getPrecisionback to summary
public Integer getPrecision()

Gets the value of the precision property.

Returns:Integer

possible object is Integer

getScaleback to summary
public Integer getScale()

Gets the value of the scale property.

Returns:Integer

possible object is Integer

getTableback to summary
public String getTable()

Gets the value of the table property.

Returns:String

possible object is String

isInsertableback to summary
public Boolean isInsertable()

Gets the value of the insertable property.

Returns:Boolean

possible object is Boolean

isNullableback to summary
public Boolean isNullable()

Gets the value of the nullable property.

Returns:Boolean

possible object is Boolean

isUniqueback to summary
public Boolean isUnique()

Gets the value of the unique property.

Returns:Boolean

possible object is Boolean

isUpdatableback to summary
public Boolean isUpdatable()

Gets the value of the updatable property.

Returns:Boolean

possible object is Boolean

setColumnDefinitionback to summary
public void setColumnDefinition(String value)

Sets the value of the columnDefinition property.

Parameters
value:String

allowed object is String

setInsertableback to summary
public void setInsertable(Boolean value)

Sets the value of the insertable property.

Parameters
value:Boolean

allowed object is Boolean

setLengthback to summary
public void setLength(Integer value)

Sets the value of the length property.

Parameters
value:Integer

allowed object is Integer

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String

setNullableback to summary
public void setNullable(Boolean value)

Sets the value of the nullable property.

Parameters
value:Boolean

allowed object is Boolean

setPrecisionback to summary
public void setPrecision(Integer value)

Sets the value of the precision property.

Parameters
value:Integer

allowed object is Integer

setScaleback to summary
public void setScale(Integer value)

Sets the value of the scale property.

Parameters
value:Integer

allowed object is Integer

setTableback to summary
public void setTable(String value)

Sets the value of the table property.

Parameters
value:String

allowed object is String

setUniqueback to summary
public void setUnique(Boolean value)

Sets the value of the unique property.

Parameters
value:Boolean

allowed object is Boolean

setUpdatableback to summary
public void setUpdatable(Boolean value)

Sets the value of the updatable property.

Parameters
value:Boolean

allowed object is Boolean