Package org.fcrepo.kernel.api
Enum RequiredRdfContext
- java.lang.Object
-
- java.lang.Enum<RequiredRdfContext>
-
- org.fcrepo.kernel.api.RequiredRdfContext
-
- All Implemented Interfaces:
Serializable
,Comparable<RequiredRdfContext>
,TripleCategory
public enum RequiredRdfContext extends Enum<RequiredRdfContext> implements TripleCategory
A collection of RDF contexts that can be used to extract triples from FedoraResources. All implementations of the Fedora kernel are required to support theseTripleCategory
s, but may choose to support others.- Since:
- Dec 4, 2015
- Author:
- acoburn
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMBED_RESOURCES
INBOUND_REFERENCES
LDP_CONTAINMENT
LDP_MEMBERSHIP
MINIMAL
VERSIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequiredRdfContext
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequiredRdfContext[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINIMAL
public static final RequiredRdfContext MINIMAL
-
VERSIONS
public static final RequiredRdfContext VERSIONS
-
EMBED_RESOURCES
public static final RequiredRdfContext EMBED_RESOURCES
-
INBOUND_REFERENCES
public static final RequiredRdfContext INBOUND_REFERENCES
-
LDP_MEMBERSHIP
public static final RequiredRdfContext LDP_MEMBERSHIP
-
LDP_CONTAINMENT
public static final RequiredRdfContext LDP_CONTAINMENT
-
-
Method Detail
-
values
public static RequiredRdfContext[] 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 (RequiredRdfContext c : RequiredRdfContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequiredRdfContext 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
-
-