Interface OpinionSdo
- All Superinterfaces:
BundleableObject,DomainObject,SdoDefaultValidator,Serializable,Stix,StixCommonProperties,StixCustomProperties,StixLabels,StixModified,StixRevoked,StixSpecVersion
- All Known Implementing Classes:
Opinion
@Immutable
@DefaultTypeValue(value="opinion",
groups=DefaultValuesProcessor.class)
@Redactable
public interface OpinionSdo
extends DomainObject
opinion
An Opinion is an assessment of the correctness of the information in a STIX Object produced by a different entity. The primary property is the opinion property, which captures the level of agreement or disagreement using a fixed scale.
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescription@NotNull @Size(min=1) Set<BundleableObject> @NotBlank @Vocab(OpinionEnum.class) StringMethods inherited from interface security.whisper.javastix.sdo.DomainObject
getRelationshipsMethods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCommonProperties
checkHydrationValidation, getCreated, getCreatedByRef, getExternalReferences, getGranularMarkings, getHydrated, getId, getLang, getObjectMarkingRefs, getType, toJsonStringMethods inherited from interface security.whisper.javastix.common.StixCustomProperties
getCustomPropertiesMethods inherited from interface security.whisper.javastix.common.StixLabels
getLabelsMethods inherited from interface security.whisper.javastix.common.StixModified
getModifiedMethods inherited from interface security.whisper.javastix.common.StixRevoked
getRevokedMethods inherited from interface security.whisper.javastix.common.StixSpecVersion
getSpecVersion
-
Method Details
-
getOpinion
@NotBlank @JsonPropertyDescription("The opinion that the producing organization has about the correctness of the information.") @Vocab(OpinionEnum.class) @Redactable @NotBlank @Vocab(OpinionEnum.class) String getOpinion() -
getExplanation
@JsonPropertyDescription("An explanation of why the producer has this opinion.") @Redactable Optional<String> getExplanation() -
getAuthors
@JsonPropertyDescription("The name of the author(s) of this opinion (e.g., the analyst(s) that created it).") @Redactable Set<String> getAuthors() -
getObjectRefs
@NotNull @Size(min=1) @JsonPropertyDescription("The STIX Objects that this opinion is being applied to.") @Redactable @NotNull @Size(min=1) Set<BundleableObject> getObjectRefs()
-