Package org.beanio.annotation
Annotation Type Segment
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface SegmentSegment annotation applied to class members or methods.- Since:
- 2.1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intatThe absolute position of the segment.java.lang.Class<?>collectionThe collection class bound to this segment, if one cannot be derived from the annotated field or method.java.lang.StringgetterThe getter method.java.lang.StringkeyThe name of a child component to use for the key value if this segment is bound to aMap.booleanlazyWhether the class bound to this segment should be instantiated if all child fields are null or empty strings.intmaxOccursThe maximum occurrences.intminOccursThe minimum occurrences.java.lang.StringnameThe segment name.booleannillableWhether the element is nillable.java.lang.StringoccursRefThe name of a preceding field that governs the number of occurrences of this segment.intordinalThe relative position of the segment.java.lang.StringsetterThe setter method.java.lang.Class<?>typeThe class bound to this segment, if one cannot be derived from the annotated field or method.intuntilThe maximum position of a segment that repeats for an indeterminate number of times.java.lang.StringvalueThe name of a child component to use for the value of this segment in lieu of a type.java.lang.StringxmlNameThe XML attribute or element name.java.lang.StringxmlNamespaceThe XML namespace URI of this segment.java.lang.StringxmlPrefixThe XML namespace prefix of this segment.XmlTypexmlTypeThe XML type of this segment.
-