|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.core.enums.AbstractLabeledEnum
org.springframework.core.enums.StaticLabeledEnum
org.eclipse.gemini.blueprint.service.importer.support.Cardinality
Availability
public class Cardinality
Enum-like class containing the OSGi importer services cardinality. Indicates the number of expected matching services and whether the presence is mandatory or not.
| Field Summary | |
|---|---|
static Cardinality |
C_0__1
Deprecated. Optional, single cardinality. |
static Cardinality |
C_0__N
Deprecated. Optional, multiple cardinality. |
static Cardinality |
C_1__1
Deprecated. Mandatory, single cardinality. |
static Cardinality |
C_1__N
Deprecated. Mandatory, multiple cardinality. |
| Fields inherited from interface org.springframework.core.enums.LabeledEnum |
|---|
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER |
| Method Summary | |
|---|---|
boolean |
isMandatory()
Deprecated. Indicates if this cardinality implies that at least one service is expected (mandatory cardinality). |
boolean |
isMultiple()
Deprecated. Indicates if this cardinality implies that multiple services are expected. |
boolean |
isOptional()
Deprecated. Indicates if this cardinality implies that is acceptable for no matching services to be found. |
boolean |
isSingle()
Deprecated. Indicates if this cardinality implies that at most one service is expected. |
| Methods inherited from class org.springframework.core.enums.StaticLabeledEnum |
|---|
getCode, getLabel, readResolve, shortValue |
| Methods inherited from class org.springframework.core.enums.AbstractLabeledEnum |
|---|
compareTo, equals, getType, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Cardinality C_0__1
public static final Cardinality C_0__N
public static final Cardinality C_1__1
public static final Cardinality C_1__N
| Method Detail |
|---|
public boolean isSingle()
public boolean isMultiple()
public boolean isMandatory()
public boolean isOptional()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||