Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Document ¶
type Document interface {
GetID() ids.ID
GetClassificationID() ids.ID
// GetProperty returns property from a document searching in both Mutables and Immutables
// * Returns nil if property is not found
GetProperty(ids.PropertyID) properties.Property
GetImmutablePropertyList() lists.PropertyList
GetMutablePropertyList() lists.PropertyList
GenerateHashID() ids.ID
Mutate(propertyList ...properties.Property) Document
}
TODO retire or send to base
type Immutables ¶
type Immutables interface {
// GetImmutablePropertyList return the immutable properties object
// does not return nil
GetImmutablePropertyList() lists.PropertyList
GenerateHashID() ids.ID
}
type Mutables ¶
type Mutables interface {
// GetMutablePropertyList return the mutable properties object
// does not return nil
GetMutablePropertyList() lists.PropertyList
Mutate(propertyList ...properties.Property) Mutables
}
Click to show internal directories.
Click to hide internal directories.