mil.nga.geopackage.db.table.ConstraintType Java Examples
The following examples show how to use
mil.nga.geopackage.db.table.ConstraintType.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: UserTable.java From geopackage-core-java with MIT License | 3 votes |
/** * Get the constraints of the provided type * * @param type * constraint type * @return constraints * @since 3.3.0 */ public List<Constraint> getConstraints(ConstraintType type) { List<Constraint> constraints = typedContraints.get(type); if (constraints == null) { constraints = new ArrayList<>(); } return constraints; }