
org.hibernate.jpamodelgen.xml.jaxb.OrderColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-jpamodelgen Show documentation
Show all versions of hibernate-jpamodelgen Show documentation
Annotation Processor to generate JPA 2 static metamodel classes
package org.hibernate.jpamodelgen.xml.jaxb;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* @Target({METHOD, FIELD}) @Retention(RUNTIME)
* public @interface OrderColumn {
* String name() default "";
* boolean nullable() default true;
* boolean insertable() default true;
* boolean updatable() default true;
* String columnDefinition() default "";
* }
*
*
*
* Java class for order-column complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "order-column", namespace = "https://jakarta.ee/xml/ns/persistence/orm")
public class OrderColumn {
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "nullable")
protected Boolean nullable;
@XmlAttribute(name = "insertable")
protected Boolean insertable;
@XmlAttribute(name = "updatable")
protected Boolean updatable;
@XmlAttribute(name = "column-definition")
protected String columnDefinition;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the nullable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isNullable() {
return nullable;
}
/**
* Sets the value of the nullable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setNullable(Boolean value) {
this.nullable = value;
}
/**
* Gets the value of the insertable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isInsertable() {
return insertable;
}
/**
* Sets the value of the insertable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInsertable(Boolean value) {
this.insertable = value;
}
/**
* Gets the value of the updatable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isUpdatable() {
return updatable;
}
/**
* Sets the value of the updatable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUpdatable(Boolean value) {
this.updatable = value;
}
/**
* Gets the value of the columnDefinition property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColumnDefinition() {
return columnDefinition;
}
/**
* Sets the value of the columnDefinition property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColumnDefinition(String value) {
this.columnDefinition = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy