Interface ExternalReferenceType

All Superinterfaces:
GenericValidation, SdoDefaultValidator, Serializable, StixCustomProperties
All Known Implementing Classes:
ExternalReference

@Immutable public interface ExternalReferenceType extends GenericValidation, StixCustomProperties, Serializable
external-reference

External references are used to describe pointers to information represented outside of STIX.

  • Method Details

    • getSourceName

      @NotBlank @JsonPropertyDescription("The source within which the external-reference is defined (system, registry, organization, etc.)") @NotBlank String getSourceName()
    • getDescription

      @JsonPropertyDescription("A human readable description") Optional<String> getDescription()
    • getUrl

      @JsonPropertyDescription("Matches the elements of a URL using a regular expression. Uses Diego Perini\'s regex from https://gist.github.com/dperini/729294.") Optional<String> getUrl()
    • getHashes

      @JsonPropertyDescription("Specifies a dictionary of hashes for the file.") Map<@Length(min=3,max=256) @HashingVocab(HashingAlgorithms.class) String,String> getHashes()
    • getExternalId

      @JsonPropertyDescription("An identifier for the external reference content") Optional<String> getExternalId()