com.abra.j2xb.annotations.xmlAnnotations
Annotation Type MOValidationNumber


@Target(value={METHOD,PARAMETER})
@Retention(value=RUNTIME)
public @interface MOValidationNumber

Defines constraints for numeric properties (subclasses of Number).

Since:
JDK1.5
Version:
1.0, Dec 10, 2007
Author:
Yoav Abrahami
See Also:
MOProperty

Optional Element Summary
 java.lang.String maxExclusive
          Defines a upper exclusive limit.
 java.lang.String maxInclusive
          Defines a upper inclusive limit.
 java.lang.String minExclusive
          Defines a upper exclusive limit.
 java.lang.String minInclusive
          Defines a lower inclusive limit.
 

minInclusive

public abstract java.lang.String minInclusive
Defines a lower inclusive limit. Cannot be used in conjunction with minExclusive.

Default:
""

maxInclusive

public abstract java.lang.String maxInclusive
Defines a upper inclusive limit. Cannot be used in conjunction with maxExclusive.

Default:
""

minExclusive

public abstract java.lang.String minExclusive
Defines a upper exclusive limit. Cannot be used in conjunction with minInclusive.

Default:
""

maxExclusive

public abstract java.lang.String maxExclusive
Defines a upper exclusive limit. Cannot be used in conjunction with maxInclusive.

Default:
""


Copyright © 2008. All Rights Reserved.