Version: 2.1.0.14
cybox.core.object
module¶
-
class
cybox.core.object.
DomainSpecificObjectProperties
[source]¶ Bases:
mixbox.entities.Entity
The Cybox DomainSpecificObjectProperties base class.
XML binding class:cybox.bindings.cybox_core.DomainSpecificObjectPropertiesType
-
class
cybox.core.object.
Object
(properties=None, type_=None, id_=None, idref=None)[source]¶ Bases:
mixbox.entities.Entity
The CybOX Object element.
Currently only supports the following data members: - id_ - idref - properties - related_objects - domain specific object properties
XML binding class:cybox.bindings.cybox_core.ObjectType
-
domain_specific_object_properties
¶ - XML Binding class name:
Domain_Specific_Object_Properties
Dictionary key name:domain_specific_object_properties
-
id_
¶ - XML Binding class name:
id
Dictionary key name:id
-
idref
¶ - XML Binding class name:
idref
Dictionary key name:idref
-
properties
¶ - XML Binding class name:
Properties
Dictionary key name:properties
- XML Binding class name:
Related_Objects
Dictionary key name:related_objects
-
-
class
cybox.core.object.
RelatedObject
(*args, **kwargs)[source]¶ Bases:
cybox.core.object.Object
XML binding class:cybox.bindings.cybox_core.RelatedObjectType
-
relationship
¶ TypedField subclass for VocabString fields.
XML Binding class name:Relationship
Dictionary key name:relationship
-
-
class
cybox.core.object.
RelatedObjects
(*args)[source]¶ Bases:
mixbox.entities.EntityList
XML binding class:cybox.bindings.cybox_core.RelatedObjectsType
- (List of values permitted)XML Binding class name:
Related_Object
Dictionary key name:related_object
-
cybox.core.object.
add_external_class
(klass, xsi_type)[source]¶ Adds a class implementation to this binding’s globals() dict.
These classes can be used to implement Properties, Domain_Specific_Object_Properties, or Defined_Effect fields on an Object.
Parameters: - klass (class) – Python class that implements the new type
- xsi_type (str) – An xsi:type value corresponding to the klass.