com.softwareag.centrasite.appl.framework.validation.impl
Annotation Type Validatable


@Retention(value=RUNTIME)
public @interface Validatable

This annotation indicates, that an instance of Validatable should be created for the annotated bean property.


Required Element Summary
 java.lang.String name
          Returns the validatables name.
 
Optional Element Summary
 java.lang.String[] details
          Provides configuration details.
 java.lang.String group
          Returns the validatables group.
 java.lang.String id
          Returns the validatables ID.
 

Element Detail

name

public abstract java.lang.String name
Returns the validatables name. In localized applications, you should overwrite ValidatableFactory.getValidatableName(Validatable), use a resource bundle key, rather than the actual name, and replace the key with the localized name.

group

public abstract java.lang.String group
Returns the validatables group.

Default:
""

id

public abstract java.lang.String id
Returns the validatables ID. By default, this is the property type, for example "int" (primitive integer), or "java.lang.Integer".

Default:
""

details

public abstract java.lang.String[] details
Provides configuration details.

Default:
{}