Package io.xlate.edi.schema
Interface EDIReference
-
- All Known Subinterfaces:
CompositeImplementation,EDITypeImplementation,ElementImplementation,LoopImplementation,PolymorphicImplementation,SegmentImplementation
public interface EDIReference
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetDescription()Retrieve the description for this reference, if available.intgetMaxOccurs()default intgetMaxOccurs(String version)Retrieve the maxOccurs attribute for a particular version of the element.intgetMinOccurs()default intgetMinOccurs(String version)Retrieve the minOccurs attribute for a particular version of the element.EDITypegetReferencedType()StringgetTitle()Retrieve the title for this reference, if available.default booleanhasVersions()Returns true if this element has additional version(s) defined beyond the default.
-
-
-
Method Detail
-
getReferencedType
EDIType getReferencedType()
-
getMinOccurs
int getMinOccurs()
-
getMaxOccurs
int getMaxOccurs()
-
hasVersions
default boolean hasVersions()
Returns true if this element has additional version(s) defined beyond the default. Versions may be used to specify different minimum/maximum occurrence restrictions that only apply to specific versions of a transaction.- Returns:
- true if this element has version(s), otherwise false
- Since:
- 1.8
-
getMinOccurs
default int getMinOccurs(String version)
Retrieve the minOccurs attribute for a particular version of the element. The default implementation returns the default (un-versioned) value for the element.- Parameters:
version- the version to select- Returns:
- the minOccurs attribute for version
- Since:
- 1.8
-
getMaxOccurs
default int getMaxOccurs(String version)
Retrieve the maxOccurs attribute for a particular version of the element. The default implementation returns the default (un-versioned) value for the element.- Parameters:
version- the version to select- Returns:
- the maxOccurs attribute for version
- Since:
- 1.8
-
getTitle
String getTitle()
Retrieve the title for this reference, if available.- Returns:
- the reference's title
- Since:
- 1.10
-
getDescription
String getDescription()
Retrieve the description for this reference, if available.- Returns:
- the reference's description
- Since:
- 1.10
-
-