Class UniqueConstraint
- java.lang.Object
-
- org.hibernate.jpamodelgen.xml.jaxb.UniqueConstraint
-
public class UniqueConstraint extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>
columnName
protected java.lang.String
name
-
Constructor Summary
Constructors Constructor Description UniqueConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getColumnName
public java.util.List<java.lang.String> getColumnName()
Gets the value of the columnName property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
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
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
-