@Documented @Retention(value=RUNTIME) @Target(value=FIELD) @Repeatable(value=Sourceables.class) public @interface Sourceable
This is used in GRSciColl to flag fields whose value comes from other sources rather than GRSciColl such as IH, datasets or organizations.
Modifier and Type | Optional Element and Description |
---|---|
MasterSourceType[] |
masterSources |
boolean |
overridable
Indicates that a field is initially filled from an external source, but it can be overwritten
afterwards.
|
String[] |
sourceableParts
Indicates that only some parts are sourceable.
|
public abstract MasterSourceType[] masterSources
public abstract String[] sourceableParts
This applies only to lists or similar. For example, a list of identifiers where only the DOI identifiers are sourceable would set this field as {DOI}.
public abstract boolean overridable
E.g.: the names of IH collections.
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.