com.abra.j2xb.annotations
Annotation Type MOPolymorphicAtomType


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

Defines one option for a polymorphic atomic property.

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami
See Also:
MOProperty, MOPolymorphicAtomProperty, MOXmlDerivedType, MOValidationString, MOValidationNumber

Required Element Summary
 java.lang.Class value
          The Java class this item represents
 
Optional Element Summary
 MOValidationNumber validationNumber
          Optional, defines validation constraints on number types
 MOValidationString validationString
          Optional, defines validation constraints on string types
 MOXmlDerivedType xmlDerivedType
          Optional, defines the xml type of this option.
 

Element Detail

value

public abstract java.lang.Class value
The Java class this item represents

xmlDerivedType

public abstract MOXmlDerivedType xmlDerivedType
Optional, defines the xml type of this option.

Default:
@com.abra.j2xb.annotations.xmlAnnotations.MOXmlDerivedType(xmlNotSpecified)

validationString

public abstract MOValidationString validationString
Optional, defines validation constraints on string types

Default:
@com.abra.j2xb.annotations.xmlAnnotations.MOValidationString

validationNumber

public abstract MOValidationNumber validationNumber
Optional, defines validation constraints on number types

Default:
@com.abra.j2xb.annotations.xmlAnnotations.MOValidationNumber


Copyright © 2008. All Rights Reserved.