public static enum CustomModelsImpl.ConstraintValidator extends Enum<CustomModelsImpl.ConstraintValidator>
Enum Constant and Description |
---|
DUMMY_CONSTRAINT |
LENGTH |
MINMAX |
REGEX |
Modifier and Type | Method and Description |
---|---|
static CustomModelsImpl.ConstraintValidator |
findByType(String constraintType) |
abstract void |
validate(String parameterName,
String value) |
void |
validateUsage(org.alfresco.service.namespace.QName propDataType) |
static CustomModelsImpl.ConstraintValidator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomModelsImpl.ConstraintValidator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomModelsImpl.ConstraintValidator REGEX
public static final CustomModelsImpl.ConstraintValidator MINMAX
public static final CustomModelsImpl.ConstraintValidator LENGTH
public static final CustomModelsImpl.ConstraintValidator DUMMY_CONSTRAINT
public static CustomModelsImpl.ConstraintValidator[] values()
for (CustomModelsImpl.ConstraintValidator c : CustomModelsImpl.ConstraintValidator.values()) System.out.println(c);
public static CustomModelsImpl.ConstraintValidator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void validateUsage(org.alfresco.service.namespace.QName propDataType)
public static CustomModelsImpl.ConstraintValidator findByType(String constraintType)
Copyright © 2005–2017 Alfresco Software. All rights reserved.