Documentation ¶
Index ¶
- type ObservableType
- func (this *ObservableType) AddIdRef(idref string)
- func (this *ObservableType) AddObject(obj object.ObjectType)
- func (this *ObservableType) CreateId()
- func (this *ObservableType) GetObject() *object.ObjectType
- func (this *ObservableType) GetObjectProperties() *object.PropertiesType
- func (this *ObservableType) IncreaseSightingCount(u uint)
- func (this *ObservableType) SetNegate(b bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObservableType ¶
type ObservableType struct { Id string `json:"id,omitempty"` IdRef string `json:"idref,omitempty"` Negate bool `json:"negate,omitempty"` SightingCount uint `json:"sighting_count,omitempty"` Title string `json:"title,omitempty"` Object *object.ObjectType `json:"object,omitempty"` }
func CreateObservable ¶
func CreateObservable() ObservableType
func New ¶
func New() ObservableType
func (*ObservableType) AddIdRef ¶
func (this *ObservableType) AddIdRef(idref string)
func (*ObservableType) AddObject ¶
func (this *ObservableType) AddObject(obj object.ObjectType)
func (*ObservableType) CreateId ¶
func (this *ObservableType) CreateId()
func (*ObservableType) GetObject ¶
func (this *ObservableType) GetObject() *object.ObjectType
func (*ObservableType) GetObjectProperties ¶
func (this *ObservableType) GetObjectProperties() *object.PropertiesType
func (*ObservableType) IncreaseSightingCount ¶
func (this *ObservableType) IncreaseSightingCount(u uint)
func (*ObservableType) SetNegate ¶
func (this *ObservableType) SetNegate(b bool)
Click to show internal directories.
Click to hide internal directories.