Search in sources :

Example 1 with Constraint

use of com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.Constraint in project Payara by payara.

the class RetrieveDescImpl method clone.

public Object clone() {
    try {
        RetrieveDescImpl clone = (RetrieveDescImpl) super.clone();
        clone.fields = new ArrayList();
        clone.constraint = new Constraint();
        return clone;
    } catch (CloneNotSupportedException e) {
        // 
        return null;
    }
}
Also used : Constraint(com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.Constraint) ArrayList(java.util.ArrayList)

Aggregations

Constraint (com.sun.jdo.spi.persistence.support.sqlstore.sql.constraint.Constraint)1 ArrayList (java.util.ArrayList)1