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

Base interface used by Immutable STIX Domain Objects
  • Method Details

    • getRelationships

      @Default @NotNull default @NotNull Set<RelationshipSro> 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