|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.reverseXSL.types.Cardinality
public final class Cardinality
Marks the Cardinality of a group, segment or data element: Mandatory, Optional or Conditional. It is a strong typed enumeration class backward compatible with JDK1.4.
Valid enumeration values are all like Cardinality.CODE where CODE
must be a valid code; for the list of codes see table.
| Field Summary | |
|---|---|
static Cardinality |
CONDITIONAL
Marks a Conditional group, segment or data element; its presence in the message depends from the existence (or values) of other groups, segments or data elements. |
static Cardinality |
MANDATORY
Marks a Mandatory group, segment or data element. |
static Cardinality |
OPTIONAL
Marks an Optional group, segment or data element. |
static Cardinality[] |
table
May be used to iterate over all possible enumeration values. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
toString()
Provides a default string rendering with code only. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Cardinality CONDITIONAL
public static final Cardinality MANDATORY
public static final Cardinality OPTIONAL
public static final Cardinality[] table
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||