@Deprecated public enum ReferenceCardinality extends Enum<ReferenceCardinality>
Reference.cardinality()
property.Enum Constant and Description |
---|
MANDATORY_MULTIPLE
Deprecated.
Mandatory, multiple reference: At least one service must be available for
the reference to be satisified.
|
MANDATORY_UNARY
Deprecated.
Mandatory, unary reference: At least one service must be available for
the reference to be satisfied.
|
OPTIONAL_MULTIPLE
Deprecated.
Optional, multiple reference: No service required to be available for the
refernce to be satisfied.
|
OPTIONAL_UNARY
Deprecated.
Optional, unary reference: No service required to be available for the
refernce to be satisfied.
|
Modifier and Type | Method and Description |
---|---|
String |
getCardinalityString()
Deprecated.
|
static ReferenceCardinality |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ReferenceCardinality[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceCardinality OPTIONAL_UNARY
public static final ReferenceCardinality MANDATORY_UNARY
public static final ReferenceCardinality OPTIONAL_MULTIPLE
public static final ReferenceCardinality MANDATORY_MULTIPLE
public static ReferenceCardinality[] values()
for (ReferenceCardinality c : ReferenceCardinality.values()) System.out.println(c);
public static ReferenceCardinality valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCardinalityString()
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.