Package security.whisper.javastix.meta
Interface ExtensionDefinition
- All Superinterfaces:
BundleableObject,Serializable,Stix,StixCustomProperties
- All Known Implementing Classes:
ExtensionDefinitionObject
@Immutable
@DefaultTypeValue(value="extension-definition",
groups=DefaultValuesProcessor.class)
@Redactable
public interface ExtensionDefinition
extends Serializable, BundleableObject, StixCustomProperties, Stix
extension-definition
The Extension Definition object defines new STIX extensions that can be used to characterize additional properties and behaviors beyond what is defined in the base STIX specification.
-
Method Summary
Modifier and TypeMethodDescription@NotNull StixInstant@NotBlank @Pattern(regexp="^extension-definition--") StringgetId()@NotNull StixInstant@NotBlank StringgetName()default @NotNull Stringdefault @NotBlank @Pattern(regexp="^extension-definition$") StringgetType()@NotBlank StringMethods inherited from interface security.whisper.javastix.bundle.BundleableObject
getHydrated, toJsonStringMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomProperties
-
Method Details
-
getType
@NotBlank @JsonPropertyDescription("The type property identifies the type of STIX Object. The value must be \'extension-definition\'.") @Pattern(regexp="^extension-definition$") default @NotBlank @Pattern(regexp="^extension-definition$") String getType()- Specified by:
getTypein interfaceBundleableObject
-
getId
@NotBlank @JsonPropertyDescription("Specifies the identifier for this Extension Definition object.") @Pattern(regexp="^extension-definition--") @NotBlank @Pattern(regexp="^extension-definition--") String getId()- Specified by:
getIdin interfaceBundleableObject
-
getSpecVersion
@JsonPropertyDescription("The version of the STIX specification used to represent this object.") @NotNull @Default default @NotNull String getSpecVersion() -
getCreatedByRef
-
getCreated
@NotNull @JsonPropertyDescription("The created property represents the time at which this object was originally created.") @NotNull StixInstant getCreated() -
getModified
@NotNull @JsonPropertyDescription("The modified property represents the time at which this object was last modified.") @NotNull StixInstant getModified() -
getRevoked
-
getLabels
-
getConfidence
-
getExternalReferences
@JsonPropertyDescription("A list of external references which refer to non-STIX information.") Set<ExternalReferenceType> getExternalReferences() -
getObjectMarkingRefs
@JsonPropertyDescription("The list of marking-definition objects to be applied to this object.") Set<MarkingDefinitionDm> getObjectMarkingRefs()- Specified by:
getObjectMarkingRefsin interfaceBundleableObject
-
getGranularMarkings
@JsonPropertyDescription("The set of granular markings that apply to this object.") Set<GranularMarkingDm> getGranularMarkings()- Specified by:
getGranularMarkingsin interfaceBundleableObject
-
getName
@NotBlank @JsonPropertyDescription("The name of this extension.") @Redactable @NotBlank String getName() -
getDescription
@JsonPropertyDescription("A detailed description of this extension.") @Redactable Optional<String> getDescription() -
getSchema
-
getVersion
-
getExtensionTypes
-
getExtensionProperties
-