Package security.whisper.javastix.common
Interface StixCustomObjectType
public interface StixCustomObjectType
-
Method Summary
Modifier and TypeMethodDescription@Pattern(regexp="^\\-?[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\-?$") @Size(min=3,max=250) @NotBlank(groups={javax.validation.groups.Default.class,ValidateIdOnly.class},message="Type is required1") @StartsWith("x-") StringgetType()
-
Method Details
-
getType
@JsonPropertyDescription("The type property identifies the type of STIX Object (SDO, Relationship Object, etc). The value of the type field MUST be one of the types defined by a STIX Object (e.g., indicator).") @Pattern(regexp="^\\-?[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\-?$") @Size(min=3, max=250) @NotBlank(groups={javax.validation.groups.Default.class,ValidateIdOnly.class}, message="Type is required1") @Pattern(regexp="^\\-?[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\-?$") @Size(min=3,max=250) @NotBlank(groups={javax.validation.groups.Default.class,ValidateIdOnly.class},message="Type is required1") @StartsWith("x-") String getType()
-