Interface LanguageContent

All Superinterfaces:
BundleableObject, Serializable, Stix, StixCustomProperties
All Known Implementing Classes:
LanguageContentObject

@Immutable @DefaultTypeValue(value="language-content", groups=DefaultValuesProcessor.class) @Redactable public interface LanguageContent extends Serializable, BundleableObject, StixCustomProperties, Stix
language-content

The Language Content object represents text content for STIX Objects represented in languages other than English. Language Content contains a single property (other than the common properties) which is a dictionary that maps language codes to the actual text in that language.

  • Method Details

    • getType

      @NotBlank @JsonPropertyDescription("The type property identifies the type of STIX Object. The value must be \'language-content\'.") @Pattern(regexp="^language-content$") default @NotBlank @Pattern(regexp="^language-content$") String getType()
      Specified by:
      getType in interface BundleableObject
    • getId

      @NotBlank @JsonPropertyDescription("Specifies the identifier for this Language Content object.") @Pattern(regexp="^language-content--") @NotBlank @Pattern(regexp="^language-content--") String getId()
      Specified by:
      getId in interface BundleableObject
    • getSpecVersion

      @JsonPropertyDescription("The version of the STIX specification used to represent this object.") @NotNull @Default default @NotNull String getSpecVersion()
    • getCreatedByRef

      @JsonPropertyDescription("The ID of the identity that created this language content object.") Optional<String> 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

      @JsonPropertyDescription("The revoked property is a boolean that indicates whether the object has been revoked.") Optional<Boolean> getRevoked()
    • getLabels

      @JsonPropertyDescription("The labels property specifies a set of categorization labels.") Set<String> getLabels()
    • getConfidence

      @JsonPropertyDescription("The confidence property identifies the confidence that the creator has in the correctness of their data.") Optional<Integer> 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:
      getObjectMarkingRefs in interface BundleableObject
    • getGranularMarkings

      @JsonPropertyDescription("The set of granular markings that apply to this object.") Set<GranularMarkingDm> getGranularMarkings()
      Specified by:
      getGranularMarkings in interface BundleableObject
    • getObjectRef

      @NotBlank @JsonPropertyDescription("Specifies the identifier of the object that this language content applies to.") @NotBlank String getObjectRef()
    • getObjectModified

      @NotNull @JsonPropertyDescription("Specifies the modified time of the object that this language content applies to.") @NotNull StixInstant getObjectModified()
    • getContents

      @NotNull @JsonPropertyDescription("A dictionary that captures the text content in different languages. The key is the language code and the value is a dictionary containing the translated content.") @NotNull Map<String,Map<String,String>> getContents()