|
CMI documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sap.tc.cmi.metadata.CMICardinality
Describes the cardinality of a relation role. This type can be called by applications or frameworks using CMI, but DO NOT EXTEND IT!
| Field Summary | |
static CMICardinality |
CARDINALITY_MANY
constant for the role cardinality * (== 0..* == 0..n) |
static CMICardinality |
CARDINALITY_ONE
constant for the role cardinality 1 (== 1..1) |
static CMICardinality |
CARDINALITY_ONE_TO_MANY
constant for the role cardinality 1..* (== 1..n) |
static CMICardinality |
CARDINALITY_ZERO_TO_ONE
constant for the role cardinality 0..1 |
| Method Summary | |
boolean |
isMandatory()
returns true, if the role cardinality is 1 or 1..* |
boolean |
isMultiple()
returns true, if the role cardinality is * or 1..* |
java.lang.String |
toString()
returns a String representation of the cardinality |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final CMICardinality CARDINALITY_ZERO_TO_ONE
public static final CMICardinality CARDINALITY_MANY
public static final CMICardinality CARDINALITY_ONE
public static final CMICardinality CARDINALITY_ONE_TO_MANY
| Method Detail |
public boolean isMandatory()
public boolean isMultiple()
public java.lang.String toString()
toString in class java.lang.Object
|
CMI documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||