public class UniqueConstraint
extends java.lang.Object
Java class for unique-constraint complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="unique-constraint"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="column-name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
columnName |
protected java.lang.String |
name |
Constructor and Description |
---|
UniqueConstraint() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getColumnName()
Gets the value of the columnName property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
protected java.util.List<java.lang.String> columnName
protected java.lang.String name
public java.util.List<java.lang.String> getColumnName()
set
method for the columnName property.
For example, to add a new item, do as follows:
getColumnName().add(newItem);Objects of the following type(s) are allowed in the list
String
public java.lang.String getName()
String
public void setName(java.lang.String value)
value
- allowed object is
String