All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.permazen.UniquenessConstraints Maven / Gradle / Ivy

There is a newer version: 5.1.0
Show newest version

/*
 * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
 */

package io.permazen;

/**
 * JSR 303 validation group for Permazen uniqueness constraints.
 *
 * 

* Explicit use of this class only needed if you wish to manually trigger validation of uniqueness constraints only, * for example: *

 *  user.setUsername(u);
 *  user.revalidate(UniquenessConstraints.class);
 *  user.getTransaction().validate();           // throws exception if 'u' is not unique
 *  
* * @see io.permazen.annotation.JField#unique * @see JObject#revalidate JObject.revalidate() * @see JTransaction#validate JTransaction.validate() */ public interface UniquenessConstraints { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy