- All Known Subinterfaces:
CompositeImplementation,EDITypeImplementation,ElementImplementation,LoopImplementation,PolymorphicImplementation,SegmentImplementation
public interface EDIReference
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the description for this reference, if available.intdefault intgetMaxOccurs(String version) Retrieve the maxOccurs attribute for a particular version of the element.intdefault intgetMinOccurs(String version) Retrieve the minOccurs attribute for a particular version of the element.getTitle()Retrieve the title for this reference, if available.default booleanReturns true if this element has additional version(s) defined beyond the default.
-
Method Details
-
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
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
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
-