Interface StixCustomObjectId


public interface StixCustomObjectId
  • Method Summary

    Modifier and Type
    Method
    Description
    @Pattern(regexp="^[a-z][a-z-]+[a-z]--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") @NotBlank(groups={javax.validation.groups.Default.class,ValidateIdOnly.class},message="Id is required") @StartsWith("x-") String
     
  • Method Details

    • getId

      @JsonPropertyDescription("Represents identifiers across the CTI specifications. The format consists of the name of the top-level object being identified, followed by two dashes (--), followed by a UUIDv4.") @Pattern(regexp="^[a-z][a-z-]+[a-z]--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") @NotBlank(groups={javax.validation.groups.Default.class,ValidateIdOnly.class}, message="Id is required") @Pattern(regexp="^[a-z][a-z-]+[a-z]--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") @NotBlank(groups={javax.validation.groups.Default.class,ValidateIdOnly.class},message="Id is required") @StartsWith("x-") String getId()