Package security.whisper.javastix.sdo
Interface DomainObject
- All Superinterfaces:
BundleableObject,SdoDefaultValidator,Serializable,Stix,StixCommonProperties,StixCustomProperties,StixLabels,StixModified,StixRevoked,StixSpecVersion
- All Known Subinterfaces:
AttackPatternSdo,CampaignSdo,CourseOfActionSdo,GroupingSdo,IdentitySdo,IncidentSdo,IndicatorSdo,InfrastructureSdo,IntrusionSetSdo,LocationSdo,MalwareAnalysisSdo,MalwareSdo,NoteSdo,ObservedDataSdo,OpinionSdo,ReportSdo,ThreatActorSdo,ToolSdo,VulnerabilitySdo
- All Known Implementing Classes:
AttackPattern,Campaign,CourseOfAction,Grouping,Identity,Incident,Indicator,Infrastructure,IntrusionSet,Location,Malware,MalwareAnalysis,Note,ObservedData,Opinion,Report,ThreatActor,Tool,Vulnerability
public interface DomainObject
extends Serializable, StixCommonProperties, StixCustomProperties, StixLabels, StixModified, StixRevoked
Base interface used by Immutable STIX Domain Objects
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull Set<RelationshipSro> This is used with the SROs.Methods 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
-
getRelationships
This is used with the SROs. The SRO interface enforces what relationships can be created. The Relationships can then be stored in the Domain object if they choose. Otherwise you would typically add these Relationship SROs that are specific to SDOs, can be grabbed during bundle creation.- Returns:
- Set of Relationship SROs
-