Enum StatementSource.StatementSourceType
- java.lang.Object
-
- java.lang.Enum<StatementSource.StatementSourceType>
-
- org.eclipse.rdf4j.federated.algebra.StatementSource.StatementSourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<StatementSource.StatementSourceType>
- Enclosing class:
- StatementSource
public static enum StatementSource.StatementSourceType extends Enum<StatementSource.StatementSourceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCAL
REMOTE
REMOTE_POSSIBLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatementSource.StatementSourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatementSource.StatementSourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final StatementSource.StatementSourceType LOCAL
-
REMOTE
public static final StatementSource.StatementSourceType REMOTE
-
REMOTE_POSSIBLY
public static final StatementSource.StatementSourceType REMOTE_POSSIBLY
-
-
Method Detail
-
values
public static StatementSource.StatementSourceType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StatementSource.StatementSourceType c : StatementSource.StatementSourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatementSource.StatementSourceType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-