public class Index extends Object
@Target({}) @Retention(RUNTIME) public @interface Index { String name() default ""; String columnList(); boolean unique() default false; }
<p>Java class for index complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="index"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="column-list" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
columnList |
protected String |
description |
protected String |
name |
protected Boolean |
unique |
| Constructor and Description |
|---|
Index() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnList()
Gets the value of the columnList property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getName()
Gets the value of the name property.
|
Boolean |
isUnique()
Gets the value of the unique property.
|
void |
setColumnList(String value)
Sets the value of the columnList property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setUnique(Boolean value)
Sets the value of the unique property.
|
protected String description
protected String name
protected String columnList
protected Boolean unique
public String getDescription()
Gets the value of the description property.
Stringpublic void setDescription(String value)
Sets the value of the description property.
value - allowed object is
Stringpublic 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 String getColumnList()
Gets the value of the columnList property.
Stringpublic void setColumnList(String value)
Sets the value of the columnList property.
value - allowed object is
Stringpublic Boolean isUnique()
Gets the value of the unique property.
BooleanCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.