Package org.opengis.metadata.citation
Class Role
- All Implemented Interfaces:
Serializable
,Comparable<Role>
@UML(identifier="CI_RoleCode",
specification=ISO_19115)
public final class Role
extends CodeList<Role>
Function performed by the responsible party.
- Since:
- 2.0
- Version:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Role
Party who authored the resource.static final Role
Party that accepts accountability and responsibility for the data and ensures appropriate care and maintenance of the resource.static final Role
Party who distributes the resource.static final Role
Party who created the resource.static final Role
Party that owns the resource.static final Role
Party who can be contacted for acquiring knowledge about or acquisition of the resource.static final Role
Key party responsible for gathering information and conducting research.static final Role
Party who has processed the data in a manner such that the resource has been modified.static final Role
Party who published the resource.static final Role
Party that supplies the resource.private static final long
Serial number for compatibility with different versions.static final Role
Party who uses the resource.List of all enumerations of this type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for compatibility with different versions.- See Also:
-
VALUES
List of all enumerations of this type. Must be declared before any enum declaration. -
RESOURCE_PROVIDER
@UML(identifier="resourceProvider", obligation=CONDITIONAL, specification=ISO_19115) public static final Role RESOURCE_PROVIDERParty that supplies the resource. -
CUSTODIAN
@UML(identifier="custodian", obligation=CONDITIONAL, specification=ISO_19115) public static final Role CUSTODIANParty that accepts accountability and responsibility for the data and ensures appropriate care and maintenance of the resource. -
OWNER
@UML(identifier="owner", obligation=CONDITIONAL, specification=ISO_19115) public static final Role OWNERParty that owns the resource. -
USER
@UML(identifier="user", obligation=CONDITIONAL, specification=ISO_19115) public static final Role USERParty who uses the resource. -
DISTRIBUTOR
@UML(identifier="distributor", obligation=CONDITIONAL, specification=ISO_19115) public static final Role DISTRIBUTORParty who distributes the resource. -
ORIGINATOR
@UML(identifier="originator", obligation=CONDITIONAL, specification=ISO_19115) public static final Role ORIGINATORParty who created the resource. -
POINT_OF_CONTACT
@UML(identifier="pointOfContact", obligation=CONDITIONAL, specification=ISO_19115) public static final Role POINT_OF_CONTACTParty who can be contacted for acquiring knowledge about or acquisition of the resource. -
PRINCIPAL_INVESTIGATOR
@UML(identifier="principalInvestigator", obligation=CONDITIONAL, specification=ISO_19115) public static final Role PRINCIPAL_INVESTIGATORKey party responsible for gathering information and conducting research. -
PROCESSOR
@UML(identifier="processor", obligation=CONDITIONAL, specification=ISO_19115) public static final Role PROCESSORParty who has processed the data in a manner such that the resource has been modified. -
PUBLISHER
@UML(identifier="publisher", obligation=CONDITIONAL, specification=ISO_19115) public static final Role PUBLISHERParty who published the resource. -
AUTHOR
@UML(identifier="author", obligation=CONDITIONAL, specification=ISO_19115) public static final Role AUTHORParty who authored the resource.- Since:
- 2.1
-
-
Constructor Details
-
Role
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Details
-
values
Returns the list ofRole
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum. -
valueOf
Returns the role that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-