public class OrderColumn extends Object
@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 ""; }
<p>Java class for order-column complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="order-column"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <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" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
columnDefinition |
protected Boolean |
insertable |
protected String |
name |
protected Boolean |
nullable |
protected Boolean |
updatable |
| Constructor and Description |
|---|
OrderColumn() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnDefinition()
Gets the value of the columnDefinition property.
|
String |
getName()
Gets the value of the name property.
|
Boolean |
isInsertable()
Gets the value of the insertable property.
|
Boolean |
isNullable()
Gets the value of the nullable property.
|
Boolean |
isUpdatable()
Gets the value of the updatable property.
|
void |
setColumnDefinition(String value)
Sets the value of the columnDefinition property.
|
void |
setInsertable(Boolean value)
Sets the value of the insertable property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNullable(Boolean value)
Sets the value of the nullable property.
|
void |
setUpdatable(Boolean value)
Sets the value of the updatable property.
|
protected String name
protected Boolean nullable
protected Boolean insertable
protected Boolean updatable
protected String columnDefinition
public String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic Boolean isNullable()
Gets the value of the nullable property.
Booleanpublic void setNullable(Boolean value)
Sets the value of the nullable property.
value - allowed object is
Booleanpublic Boolean isInsertable()
Gets the value of the insertable property.
Booleanpublic void setInsertable(Boolean value)
Sets the value of the insertable property.
value - allowed object is
Booleanpublic Boolean isUpdatable()
Gets the value of the updatable property.
Booleanpublic void setUpdatable(Boolean value)
Sets the value of the updatable property.
value - allowed object is
Booleanpublic String getColumnDefinition()
Gets the value of the columnDefinition property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.