GPKGConstraintTypes

Objective-C

@interface GPKGConstraintTypes : NSObject

/**
 *  Get the name of the constraint type
 *
 *  @param type constraint type
 *
 *  @return constrainttype name
 */
+(NSString *) name: (enum GPKGConstraintType) type;

/**
 *  Get the constraint type from the constraint type name
 *
 *  @param name constraint type name
 *
 *  @return constraint type
 */
+(enum GPKGConstraintType) fromName: (NSString *) name;

/**
 * Get a matching table constraint type from the value
 *
 * @param value
 *            table constraint name value
 * @return constraint type or null
 */
+(enum GPKGConstraintType) tableTypeOfValue: (NSString *) value;

/**
 * Get a matching column constraint type from the value
 *
 * @param value
 *            column constraint name value
 * @return constraint type or null
 */
+(enum GPKGConstraintType) columnTypeOfValue: (NSString *) value;

/**
 * Get a matching constraint type from the value
 *
 * @param value
 *            constraint name value
 * @return constraint type or null
 */
+(enum GPKGConstraintType) typeOfValue: (NSString *) value;

@end

Swift

class GPKGConstraintTypes : NSObject

Undocumented