org.apache.openejb.jee.jpa
Class UniqueConstraint

java.lang.Object
  extended by org.apache.openejb.jee.jpa.UniqueConstraint

public class UniqueConstraint
extends java.lang.Object


Field Summary
protected  java.util.List<java.lang.String> columnName
           
 
Constructor Summary
UniqueConstraint()
           
 
Method Summary
 java.util.List<java.lang.String> getColumnName()
          Gets the value of the columnName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnName

protected java.util.List<java.lang.String> columnName
Constructor Detail

UniqueConstraint

public UniqueConstraint()
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



Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.