| java.lang.Object com.db4o.constraints.UniqueFieldValueConstraint
UniqueFieldValueConstraint | public class UniqueFieldValueConstraint implements ConfigurationItem(Code) | | configures a field of a class to allow unique values only.
|
UniqueFieldValueConstraint | public UniqueFieldValueConstraint(Object clazz, String fieldName)(Code) | | constructor to create a UniqueFieldValueConstraint.
Parameters: clazz - can be a class (Java) / Type (.NET) / instance of the class / fully qualified class name Parameters: fieldName - the name of the field that is to be unique. |
|
|