Documentation ¶
Index ¶
- type Model
- func (mod *Model) CreateIndividuals()
- func (mod *Model) DeleteObject(obj owl.Thing) (err error)
- func (mod *Model) Exist(iri string) (ret bool)
- func (mod *Model) NewSarefActuatingFunction(iri string) (ret SarefActuatingFunction, err error)
- func (mod *Model) NewSarefActuator(iri string) (ret SarefActuator, err error)
- func (mod *Model) NewSarefAppliance(iri string) (ret SarefAppliance, err error)
- func (mod *Model) NewSarefBuildingRelated(iri string) (ret SarefBuildingRelated, err error)
- func (mod *Model) NewSarefCloseCommand(iri string) (ret SarefCloseCommand, err error)
- func (mod *Model) NewSarefCloseState(iri string) (ret SarefCloseState, err error)
- func (mod *Model) NewSarefCoal(iri string) (ret SarefCoal, err error)
- func (mod *Model) NewSarefCommand(iri string) (ret SarefCommand, err error)
- func (mod *Model) NewSarefCommodity(iri string) (ret SarefCommodity, err error)
- func (mod *Model) NewSarefCurrency(iri string) (ret SarefCurrency, err error)
- func (mod *Model) NewSarefDevice(iri string) (ret SarefDevice, err error)
- func (mod *Model) NewSarefDoorSwitch(iri string) (ret SarefDoorSwitch, err error)
- func (mod *Model) NewSarefElectricity(iri string) (ret SarefElectricity, err error)
- func (mod *Model) NewSarefEnergy(iri string) (ret SarefEnergy, err error)
- func (mod *Model) NewSarefEnergyMeter(iri string) (ret SarefEnergyMeter, err error)
- func (mod *Model) NewSarefEnergyRelated(iri string) (ret SarefEnergyRelated, err error)
- func (mod *Model) NewSarefEnergyUnit(iri string) (ret SarefEnergyUnit, err error)
- func (mod *Model) NewSarefEventFunction(iri string) (ret SarefEventFunction, err error)
- func (mod *Model) NewSarefFunction(iri string) (ret SarefFunction, err error)
- func (mod *Model) NewSarefFunctionRelated(iri string) (ret SarefFunctionRelated, err error)
- func (mod *Model) NewSarefGas(iri string) (ret SarefGas, err error)
- func (mod *Model) NewSarefGenerator(iri string) (ret SarefGenerator, err error)
- func (mod *Model) NewSarefGetCommand(iri string) (ret SarefGetCommand, err error)
- func (mod *Model) NewSarefGetCurrentMeterValueCommand(iri string) (ret SarefGetCurrentMeterValueCommand, err error)
- func (mod *Model) NewSarefGetMeterDataCommand(iri string) (ret SarefGetMeterDataCommand, err error)
- func (mod *Model) NewSarefGetMeterHistoryCommand(iri string) (ret SarefGetMeterHistoryCommand, err error)
- func (mod *Model) NewSarefGetSensingDataCommand(iri string) (ret SarefGetSensingDataCommand, err error)
- func (mod *Model) NewSarefHVAC(iri string) (ret SarefHVAC, err error)
- func (mod *Model) NewSarefHumidity(iri string) (ret SarefHumidity, err error)
- func (mod *Model) NewSarefIlluminanceUnit(iri string) (ret SarefIlluminanceUnit, err error)
- func (mod *Model) NewSarefLevelControlFunction(iri string) (ret SarefLevelControlFunction, err error)
- func (mod *Model) NewSarefLight(iri string) (ret SarefLight, err error)
- func (mod *Model) NewSarefLightSwitch(iri string) (ret SarefLightSwitch, err error)
- func (mod *Model) NewSarefLightingDevice(iri string) (ret SarefLightingDevice, err error)
- func (mod *Model) NewSarefLoad(iri string) (ret SarefLoad, err error)
- func (mod *Model) NewSarefMeasurement(iri string) (ret SarefMeasurement, err error)
- func (mod *Model) NewSarefMeter(iri string) (ret SarefMeter, err error)
- func (mod *Model) NewSarefMeteringFunction(iri string) (ret SarefMeteringFunction, err error)
- func (mod *Model) NewSarefMicroRenewable(iri string) (ret SarefMicroRenewable, err error)
- func (mod *Model) NewSarefMotion(iri string) (ret SarefMotion, err error)
- func (mod *Model) NewSarefMultiLevelState(iri string) (ret SarefMultiLevelState, err error)
- func (mod *Model) NewSarefMultimedia(iri string) (ret SarefMultimedia, err error)
- func (mod *Model) NewSarefNetwork(iri string) (ret SarefNetwork, err error)
- func (mod *Model) NewSarefNotifyCommand(iri string) (ret SarefNotifyCommand, err error)
- func (mod *Model) NewSarefOccupancy(iri string) (ret SarefOccupancy, err error)
- func (mod *Model) NewSarefOffCommand(iri string) (ret SarefOffCommand, err error)
- func (mod *Model) NewSarefOffState(iri string) (ret SarefOffState, err error)
- func (mod *Model) NewSarefOnCommand(iri string) (ret SarefOnCommand, err error)
- func (mod *Model) NewSarefOnOffFunction(iri string) (ret SarefOnOffFunction, err error)
- func (mod *Model) NewSarefOnOffState(iri string) (ret SarefOnOffState, err error)
- func (mod *Model) NewSarefOnState(iri string) (ret SarefOnState, err error)
- func (mod *Model) NewSarefOpenCloseFunction(iri string) (ret SarefOpenCloseFunction, err error)
- func (mod *Model) NewSarefOpenCloseState(iri string) (ret SarefOpenCloseState, err error)
- func (mod *Model) NewSarefOpenCommand(iri string) (ret SarefOpenCommand, err error)
- func (mod *Model) NewSarefOpenState(iri string) (ret SarefOpenState, err error)
- func (mod *Model) NewSarefPauseCommand(iri string) (ret SarefPauseCommand, err error)
- func (mod *Model) NewSarefPower(iri string) (ret SarefPower, err error)
- func (mod *Model) NewSarefPowerUnit(iri string) (ret SarefPowerUnit, err error)
- func (mod *Model) NewSarefPressure(iri string) (ret SarefPressure, err error)
- func (mod *Model) NewSarefPressureUnit(iri string) (ret SarefPressureUnit, err error)
- func (mod *Model) NewSarefPrice(iri string) (ret SarefPrice, err error)
- func (mod *Model) NewSarefProfile(iri string) (ret SarefProfile, err error)
- func (mod *Model) NewSarefProperty(iri string) (ret SarefProperty, err error)
- func (mod *Model) NewSarefSensingFunction(iri string) (ret SarefSensingFunction, err error)
- func (mod *Model) NewSarefSensor(iri string) (ret SarefSensor, err error)
- func (mod *Model) NewSarefService(iri string) (ret SarefService, err error)
- func (mod *Model) NewSarefSetAbsoluteLevelCommand(iri string) (ret SarefSetAbsoluteLevelCommand, err error)
- func (mod *Model) NewSarefSetLevelCommand(iri string) (ret SarefSetLevelCommand, err error)
- func (mod *Model) NewSarefSetRelativeLevelCommand(iri string) (ret SarefSetRelativeLevelCommand, err error)
- func (mod *Model) NewSarefSmoke(iri string) (ret SarefSmoke, err error)
- func (mod *Model) NewSarefSmokeSensor(iri string) (ret SarefSmokeSensor, err error)
- func (mod *Model) NewSarefStartCommand(iri string) (ret SarefStartCommand, err error)
- func (mod *Model) NewSarefStartState(iri string) (ret SarefStartState, err error)
- func (mod *Model) NewSarefStartStopFunction(iri string) (ret SarefStartStopFunction, err error)
- func (mod *Model) NewSarefStartStopState(iri string) (ret SarefStartStopState, err error)
- func (mod *Model) NewSarefState(iri string) (ret SarefState, err error)
- func (mod *Model) NewSarefStepDownCommand(iri string) (ret SarefStepDownCommand, err error)
- func (mod *Model) NewSarefStepUpCommand(iri string) (ret SarefStepUpCommand, err error)
- func (mod *Model) NewSarefStopCommand(iri string) (ret SarefStopCommand, err error)
- func (mod *Model) NewSarefStopState(iri string) (ret SarefStopState, err error)
- func (mod *Model) NewSarefStorage(iri string) (ret SarefStorage, err error)
- func (mod *Model) NewSarefSwitch(iri string) (ret SarefSwitch, err error)
- func (mod *Model) NewSarefSwitchOnService(iri string) (ret SarefSwitchOnService, err error)
- func (mod *Model) NewSarefTask(iri string) (ret SarefTask, err error)
- func (mod *Model) NewSarefTemperature(iri string) (ret SarefTemperature, err error)
- func (mod *Model) NewSarefTemperatureSensor(iri string) (ret SarefTemperatureSensor, err error)
- func (mod *Model) NewSarefTemperatureUnit(iri string) (ret SarefTemperatureUnit, err error)
- func (mod *Model) NewSarefTime(iri string) (ret SarefTime, err error)
- func (mod *Model) NewSarefToggleCommand(iri string) (ret SarefToggleCommand, err error)
- func (mod *Model) NewSarefUnitOfMeasure(iri string) (ret SarefUnitOfMeasure, err error)
- func (mod *Model) NewSarefWashingMachine(iri string) (ret SarefWashingMachine, err error)
- func (mod *Model) NewSarefWater(iri string) (ret SarefWater, err error)
- func (mod *Model) NewTimeDateTimeDescription(iri string) (ret TimeDateTimeDescription, err error)
- func (mod *Model) NewTimeDateTimeInterval(iri string) (ret TimeDateTimeInterval, err error)
- func (mod *Model) NewTimeDayOfWeek(iri string) (ret TimeDayOfWeek, err error)
- func (mod *Model) NewTimeDuration(iri string) (ret TimeDuration, err error)
- func (mod *Model) NewTimeDurationDescription(iri string) (ret TimeDurationDescription, err error)
- func (mod *Model) NewTimeGeneralDateTimeDescription(iri string) (ret TimeGeneralDateTimeDescription, err error)
- func (mod *Model) NewTimeGeneralDurationDescription(iri string) (ret TimeGeneralDurationDescription, err error)
- func (mod *Model) NewTimeInstant(iri string) (ret TimeInstant, err error)
- func (mod *Model) NewTimeInterval(iri string) (ret TimeInterval, err error)
- func (mod *Model) NewTimeMonthOfYear(iri string) (ret TimeMonthOfYear, err error)
- func (mod *Model) NewTimePosition(iri string) (ret TimePosition, err error)
- func (mod *Model) NewTimeProperInterval(iri string) (ret TimeProperInterval, err error)
- func (mod *Model) NewTimeTRS(iri string) (ret TimeTRS, err error)
- func (mod *Model) NewTimeTemporalDuration(iri string) (ret TimeTemporalDuration, err error)
- func (mod *Model) NewTimeTemporalEntity(iri string) (ret TimeTemporalEntity, err error)
- func (mod *Model) NewTimeTemporalPosition(iri string) (ret TimeTemporalPosition, err error)
- func (mod *Model) NewTimeTemporalUnit(iri string) (ret TimeTemporalUnit, err error)
- func (mod *Model) NewTimeZone(iri string) (ret TimeZone, err error)
- func (mod *Model) SarefActuatingFunction(prefix string) (res []SarefActuatingFunction)
- func (mod *Model) SarefActuator(prefix string) (res []SarefActuator)
- func (mod *Model) SarefAppliance(prefix string) (res []SarefAppliance)
- func (mod *Model) SarefBuildingRelated(prefix string) (res []SarefBuildingRelated)
- func (mod *Model) SarefCloseCommand(prefix string) (res []SarefCloseCommand)
- func (mod *Model) SarefCloseState(prefix string) (res []SarefCloseState)
- func (mod *Model) SarefCoal(prefix string) (res []SarefCoal)
- func (mod *Model) SarefCommand(prefix string) (res []SarefCommand)
- func (mod *Model) SarefCommodity(prefix string) (res []SarefCommodity)
- func (mod *Model) SarefCurrency(prefix string) (res []SarefCurrency)
- func (mod *Model) SarefDevice(prefix string) (res []SarefDevice)
- func (mod *Model) SarefDoorSwitch(prefix string) (res []SarefDoorSwitch)
- func (mod *Model) SarefElectricity(prefix string) (res []SarefElectricity)
- func (mod *Model) SarefEnergy(prefix string) (res []SarefEnergy)
- func (mod *Model) SarefEnergyMeter(prefix string) (res []SarefEnergyMeter)
- func (mod *Model) SarefEnergyRelated(prefix string) (res []SarefEnergyRelated)
- func (mod *Model) SarefEnergyUnit(prefix string) (res []SarefEnergyUnit)
- func (mod *Model) SarefEventFunction(prefix string) (res []SarefEventFunction)
- func (mod *Model) SarefFunction(prefix string) (res []SarefFunction)
- func (mod *Model) SarefFunctionRelated(prefix string) (res []SarefFunctionRelated)
- func (mod *Model) SarefGas(prefix string) (res []SarefGas)
- func (mod *Model) SarefGenerator(prefix string) (res []SarefGenerator)
- func (mod *Model) SarefGetCommand(prefix string) (res []SarefGetCommand)
- func (mod *Model) SarefGetCurrentMeterValueCommand(prefix string) (res []SarefGetCurrentMeterValueCommand)
- func (mod *Model) SarefGetMeterDataCommand(prefix string) (res []SarefGetMeterDataCommand)
- func (mod *Model) SarefGetMeterHistoryCommand(prefix string) (res []SarefGetMeterHistoryCommand)
- func (mod *Model) SarefGetSensingDataCommand(prefix string) (res []SarefGetSensingDataCommand)
- func (mod *Model) SarefHVAC(prefix string) (res []SarefHVAC)
- func (mod *Model) SarefHumidity(prefix string) (res []SarefHumidity)
- func (mod *Model) SarefIlluminanceUnit(prefix string) (res []SarefIlluminanceUnit)
- func (mod *Model) SarefLevelControlFunction(prefix string) (res []SarefLevelControlFunction)
- func (mod *Model) SarefLight(prefix string) (res []SarefLight)
- func (mod *Model) SarefLightSwitch(prefix string) (res []SarefLightSwitch)
- func (mod *Model) SarefLightingDevice(prefix string) (res []SarefLightingDevice)
- func (mod *Model) SarefLoad(prefix string) (res []SarefLoad)
- func (mod *Model) SarefMeasurement(prefix string) (res []SarefMeasurement)
- func (mod *Model) SarefMeter(prefix string) (res []SarefMeter)
- func (mod *Model) SarefMeteringFunction(prefix string) (res []SarefMeteringFunction)
- func (mod *Model) SarefMicroRenewable(prefix string) (res []SarefMicroRenewable)
- func (mod *Model) SarefMotion(prefix string) (res []SarefMotion)
- func (mod *Model) SarefMultiLevelState(prefix string) (res []SarefMultiLevelState)
- func (mod *Model) SarefMultimedia(prefix string) (res []SarefMultimedia)
- func (mod *Model) SarefNetwork(prefix string) (res []SarefNetwork)
- func (mod *Model) SarefNotifyCommand(prefix string) (res []SarefNotifyCommand)
- func (mod *Model) SarefOccupancy(prefix string) (res []SarefOccupancy)
- func (mod *Model) SarefOffCommand(prefix string) (res []SarefOffCommand)
- func (mod *Model) SarefOffState(prefix string) (res []SarefOffState)
- func (mod *Model) SarefOnCommand(prefix string) (res []SarefOnCommand)
- func (mod *Model) SarefOnOffFunction(prefix string) (res []SarefOnOffFunction)
- func (mod *Model) SarefOnOffState(prefix string) (res []SarefOnOffState)
- func (mod *Model) SarefOnState(prefix string) (res []SarefOnState)
- func (mod *Model) SarefOpenCloseFunction(prefix string) (res []SarefOpenCloseFunction)
- func (mod *Model) SarefOpenCloseState(prefix string) (res []SarefOpenCloseState)
- func (mod *Model) SarefOpenCommand(prefix string) (res []SarefOpenCommand)
- func (mod *Model) SarefOpenState(prefix string) (res []SarefOpenState)
- func (mod *Model) SarefPauseCommand(prefix string) (res []SarefPauseCommand)
- func (mod *Model) SarefPower(prefix string) (res []SarefPower)
- func (mod *Model) SarefPowerUnit(prefix string) (res []SarefPowerUnit)
- func (mod *Model) SarefPressure(prefix string) (res []SarefPressure)
- func (mod *Model) SarefPressureUnit(prefix string) (res []SarefPressureUnit)
- func (mod *Model) SarefPrice(prefix string) (res []SarefPrice)
- func (mod *Model) SarefProfile(prefix string) (res []SarefProfile)
- func (mod *Model) SarefProperty(prefix string) (res []SarefProperty)
- func (mod *Model) SarefSensingFunction(prefix string) (res []SarefSensingFunction)
- func (mod *Model) SarefSensor(prefix string) (res []SarefSensor)
- func (mod *Model) SarefService(prefix string) (res []SarefService)
- func (mod *Model) SarefSetAbsoluteLevelCommand(prefix string) (res []SarefSetAbsoluteLevelCommand)
- func (mod *Model) SarefSetLevelCommand(prefix string) (res []SarefSetLevelCommand)
- func (mod *Model) SarefSetRelativeLevelCommand(prefix string) (res []SarefSetRelativeLevelCommand)
- func (mod *Model) SarefSmoke(prefix string) (res []SarefSmoke)
- func (mod *Model) SarefSmokeSensor(prefix string) (res []SarefSmokeSensor)
- func (mod *Model) SarefStartCommand(prefix string) (res []SarefStartCommand)
- func (mod *Model) SarefStartState(prefix string) (res []SarefStartState)
- func (mod *Model) SarefStartStopFunction(prefix string) (res []SarefStartStopFunction)
- func (mod *Model) SarefStartStopState(prefix string) (res []SarefStartStopState)
- func (mod *Model) SarefState(prefix string) (res []SarefState)
- func (mod *Model) SarefStepDownCommand(prefix string) (res []SarefStepDownCommand)
- func (mod *Model) SarefStepUpCommand(prefix string) (res []SarefStepUpCommand)
- func (mod *Model) SarefStopCommand(prefix string) (res []SarefStopCommand)
- func (mod *Model) SarefStopState(prefix string) (res []SarefStopState)
- func (mod *Model) SarefStorage(prefix string) (res []SarefStorage)
- func (mod *Model) SarefSwitch(prefix string) (res []SarefSwitch)
- func (mod *Model) SarefSwitchOnService(prefix string) (res []SarefSwitchOnService)
- func (mod *Model) SarefTask(prefix string) (res []SarefTask)
- func (mod *Model) SarefTemperature(prefix string) (res []SarefTemperature)
- func (mod *Model) SarefTemperatureSensor(prefix string) (res []SarefTemperatureSensor)
- func (mod *Model) SarefTemperatureUnit(prefix string) (res []SarefTemperatureUnit)
- func (mod *Model) SarefTime(prefix string) (res []SarefTime)
- func (mod *Model) SarefToggleCommand(prefix string) (res []SarefToggleCommand)
- func (mod *Model) SarefUnitOfMeasure(prefix string) (res []SarefUnitOfMeasure)
- func (mod *Model) SarefWashingMachine(prefix string) (res []SarefWashingMachine)
- func (mod *Model) SarefWater(prefix string) (res []SarefWater)
- func (mod *Model) String() (ret string)
- func (mod *Model) TimeDateTimeDescription(prefix string) (res []TimeDateTimeDescription)
- func (mod *Model) TimeDateTimeInterval(prefix string) (res []TimeDateTimeInterval)
- func (mod *Model) TimeDayOfWeek(prefix string) (res []TimeDayOfWeek)
- func (mod *Model) TimeDuration(prefix string) (res []TimeDuration)
- func (mod *Model) TimeDurationDescription(prefix string) (res []TimeDurationDescription)
- func (mod *Model) TimeGeneralDateTimeDescription(prefix string) (res []TimeGeneralDateTimeDescription)
- func (mod *Model) TimeGeneralDurationDescription(prefix string) (res []TimeGeneralDurationDescription)
- func (mod *Model) TimeInstant(prefix string) (res []TimeInstant)
- func (mod *Model) TimeInterval(prefix string) (res []TimeInterval)
- func (mod *Model) TimeMonthOfYear(prefix string) (res []TimeMonthOfYear)
- func (mod *Model) TimePosition(prefix string) (res []TimePosition)
- func (mod *Model) TimeProperInterval(prefix string) (res []TimeProperInterval)
- func (mod *Model) TimeTRS(prefix string) (res []TimeTRS)
- func (mod *Model) TimeTemporalDuration(prefix string) (res []TimeTemporalDuration)
- func (mod *Model) TimeTemporalEntity(prefix string) (res []TimeTemporalEntity)
- func (mod *Model) TimeTemporalPosition(prefix string) (res []TimeTemporalPosition)
- func (mod *Model) TimeTemporalUnit(prefix string) (res []TimeTemporalUnit)
- func (mod *Model) TimeZone(prefix string) (res []TimeZone)
- func (mod *Model) ToDot(output io.Writer) (err error)
- func (mod *Model) ToGraph() (g *rdf.Graph)
- func (mod *Model) ToJSONLD(output io.Writer) (err error)
- func (mod *Model) ToTTL(output io.Writer) (err error)
- type SarefActuatingFunction
- type SarefActuator
- type SarefAppliance
- type SarefBuildingRelated
- type SarefCloseCommand
- type SarefCloseState
- type SarefCoal
- type SarefCommand
- type SarefCommodity
- type SarefCurrency
- type SarefDevice
- type SarefDoorSwitch
- type SarefElectricity
- type SarefEnergy
- type SarefEnergyMeter
- type SarefEnergyRelated
- type SarefEnergyUnit
- type SarefEventFunction
- type SarefFunction
- type SarefFunctionRelated
- type SarefGas
- type SarefGenerator
- type SarefGetCommand
- type SarefGetCurrentMeterValueCommand
- type SarefGetMeterDataCommand
- type SarefGetMeterHistoryCommand
- type SarefGetSensingDataCommand
- type SarefHVAC
- type SarefHumidity
- type SarefIlluminanceUnit
- type SarefLevelControlFunction
- type SarefLight
- type SarefLightSwitch
- type SarefLightingDevice
- type SarefLoad
- type SarefMeasurement
- type SarefMeter
- type SarefMeteringFunction
- type SarefMicroRenewable
- type SarefMotion
- type SarefMultiLevelState
- type SarefMultimedia
- type SarefNetwork
- type SarefNotifyCommand
- type SarefOccupancy
- type SarefOffCommand
- type SarefOffState
- type SarefOnCommand
- type SarefOnOffFunction
- type SarefOnOffState
- type SarefOnState
- type SarefOpenCloseFunction
- type SarefOpenCloseState
- type SarefOpenCommand
- type SarefOpenState
- type SarefPauseCommand
- type SarefPower
- type SarefPowerUnit
- type SarefPressure
- type SarefPressureUnit
- type SarefPrice
- type SarefProfile
- type SarefProperty
- type SarefSensingFunction
- type SarefSensor
- type SarefService
- type SarefSetAbsoluteLevelCommand
- type SarefSetLevelCommand
- type SarefSetRelativeLevelCommand
- type SarefSmoke
- type SarefSmokeSensor
- type SarefStartCommand
- type SarefStartState
- type SarefStartStopFunction
- type SarefStartStopState
- type SarefState
- type SarefStepDownCommand
- type SarefStepUpCommand
- type SarefStopCommand
- type SarefStopState
- type SarefStorage
- type SarefSwitch
- type SarefSwitchOnService
- type SarefTask
- type SarefTemperature
- type SarefTemperatureSensor
- type SarefTemperatureUnit
- type SarefTime
- type SarefToggleCommand
- type SarefUnitOfMeasure
- type SarefWashingMachine
- type SarefWater
- type TimeDateTimeDescription
- type TimeDateTimeInterval
- type TimeDayOfWeek
- type TimeDuration
- type TimeDurationDescription
- type TimeGeneralDateTimeDescription
- type TimeGeneralDurationDescription
- type TimeInstant
- type TimeInterval
- type TimeMonthOfYear
- type TimePosition
- type TimeProperInterval
- type TimeTRS
- type TimeTemporalDuration
- type TimeTemporalEntity
- type TimeTemporalPosition
- type TimeTemporalUnit
- type TimeZone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model holds all objects
func NewModel ¶
func NewModel() (mod *Model)
NewModel creates a new model and initializes class maps
func NewModelFromGraph ¶
NewModelFromGraph creates a new model from a owl graph
func NewModelFromJSONLD ¶
NewModelFromJSONLD creates a new model from a jsonld io reader
func NewModelFromTTL ¶
NewModelFromTTL creates a new model from a ttl io reader
func (*Model) CreateIndividuals ¶
func (mod *Model) CreateIndividuals()
CreateIndividuals adds all individuals to a model
func (*Model) DeleteObject ¶
DeleteObject deletes an object from the model along with its references
func (*Model) NewSarefActuatingFunction ¶
func (mod *Model) NewSarefActuatingFunction(iri string) (ret SarefActuatingFunction, err error)
NewSarefActuatingFunction creates a new SarefActuatingFunction
func (*Model) NewSarefActuator ¶
func (mod *Model) NewSarefActuator(iri string) (ret SarefActuator, err error)
NewSarefActuator creates a new SarefActuator
func (*Model) NewSarefAppliance ¶
func (mod *Model) NewSarefAppliance(iri string) (ret SarefAppliance, err error)
NewSarefAppliance creates a new SarefAppliance
func (*Model) NewSarefBuildingRelated ¶
func (mod *Model) NewSarefBuildingRelated(iri string) (ret SarefBuildingRelated, err error)
NewSarefBuildingRelated creates a new SarefBuildingRelated
func (*Model) NewSarefCloseCommand ¶
func (mod *Model) NewSarefCloseCommand(iri string) (ret SarefCloseCommand, err error)
NewSarefCloseCommand creates a new SarefCloseCommand
func (*Model) NewSarefCloseState ¶
func (mod *Model) NewSarefCloseState(iri string) (ret SarefCloseState, err error)
NewSarefCloseState creates a new SarefCloseState
func (*Model) NewSarefCoal ¶
NewSarefCoal creates a new SarefCoal
func (*Model) NewSarefCommand ¶
func (mod *Model) NewSarefCommand(iri string) (ret SarefCommand, err error)
NewSarefCommand creates a new SarefCommand
func (*Model) NewSarefCommodity ¶
func (mod *Model) NewSarefCommodity(iri string) (ret SarefCommodity, err error)
NewSarefCommodity creates a new SarefCommodity
func (*Model) NewSarefCurrency ¶
func (mod *Model) NewSarefCurrency(iri string) (ret SarefCurrency, err error)
NewSarefCurrency creates a new SarefCurrency
func (*Model) NewSarefDevice ¶
func (mod *Model) NewSarefDevice(iri string) (ret SarefDevice, err error)
NewSarefDevice creates a new SarefDevice
func (*Model) NewSarefDoorSwitch ¶
func (mod *Model) NewSarefDoorSwitch(iri string) (ret SarefDoorSwitch, err error)
NewSarefDoorSwitch creates a new SarefDoorSwitch
func (*Model) NewSarefElectricity ¶
func (mod *Model) NewSarefElectricity(iri string) (ret SarefElectricity, err error)
NewSarefElectricity creates a new SarefElectricity
func (*Model) NewSarefEnergy ¶
func (mod *Model) NewSarefEnergy(iri string) (ret SarefEnergy, err error)
NewSarefEnergy creates a new SarefEnergy
func (*Model) NewSarefEnergyMeter ¶
func (mod *Model) NewSarefEnergyMeter(iri string) (ret SarefEnergyMeter, err error)
NewSarefEnergyMeter creates a new SarefEnergyMeter
func (*Model) NewSarefEnergyRelated ¶
func (mod *Model) NewSarefEnergyRelated(iri string) (ret SarefEnergyRelated, err error)
NewSarefEnergyRelated creates a new SarefEnergyRelated
func (*Model) NewSarefEnergyUnit ¶
func (mod *Model) NewSarefEnergyUnit(iri string) (ret SarefEnergyUnit, err error)
NewSarefEnergyUnit creates a new SarefEnergyUnit
func (*Model) NewSarefEventFunction ¶
func (mod *Model) NewSarefEventFunction(iri string) (ret SarefEventFunction, err error)
NewSarefEventFunction creates a new SarefEventFunction
func (*Model) NewSarefFunction ¶
func (mod *Model) NewSarefFunction(iri string) (ret SarefFunction, err error)
NewSarefFunction creates a new SarefFunction
func (*Model) NewSarefFunctionRelated ¶
func (mod *Model) NewSarefFunctionRelated(iri string) (ret SarefFunctionRelated, err error)
NewSarefFunctionRelated creates a new SarefFunctionRelated
func (*Model) NewSarefGas ¶
NewSarefGas creates a new SarefGas
func (*Model) NewSarefGenerator ¶
func (mod *Model) NewSarefGenerator(iri string) (ret SarefGenerator, err error)
NewSarefGenerator creates a new SarefGenerator
func (*Model) NewSarefGetCommand ¶
func (mod *Model) NewSarefGetCommand(iri string) (ret SarefGetCommand, err error)
NewSarefGetCommand creates a new SarefGetCommand
func (*Model) NewSarefGetCurrentMeterValueCommand ¶
func (mod *Model) NewSarefGetCurrentMeterValueCommand(iri string) (ret SarefGetCurrentMeterValueCommand, err error)
NewSarefGetCurrentMeterValueCommand creates a new SarefGetCurrentMeterValueCommand
func (*Model) NewSarefGetMeterDataCommand ¶
func (mod *Model) NewSarefGetMeterDataCommand(iri string) (ret SarefGetMeterDataCommand, err error)
NewSarefGetMeterDataCommand creates a new SarefGetMeterDataCommand
func (*Model) NewSarefGetMeterHistoryCommand ¶
func (mod *Model) NewSarefGetMeterHistoryCommand(iri string) (ret SarefGetMeterHistoryCommand, err error)
NewSarefGetMeterHistoryCommand creates a new SarefGetMeterHistoryCommand
func (*Model) NewSarefGetSensingDataCommand ¶
func (mod *Model) NewSarefGetSensingDataCommand(iri string) (ret SarefGetSensingDataCommand, err error)
NewSarefGetSensingDataCommand creates a new SarefGetSensingDataCommand
func (*Model) NewSarefHVAC ¶
NewSarefHVAC creates a new SarefHVAC
func (*Model) NewSarefHumidity ¶
func (mod *Model) NewSarefHumidity(iri string) (ret SarefHumidity, err error)
NewSarefHumidity creates a new SarefHumidity
func (*Model) NewSarefIlluminanceUnit ¶
func (mod *Model) NewSarefIlluminanceUnit(iri string) (ret SarefIlluminanceUnit, err error)
NewSarefIlluminanceUnit creates a new SarefIlluminanceUnit
func (*Model) NewSarefLevelControlFunction ¶
func (mod *Model) NewSarefLevelControlFunction(iri string) (ret SarefLevelControlFunction, err error)
NewSarefLevelControlFunction creates a new SarefLevelControlFunction
func (*Model) NewSarefLight ¶
func (mod *Model) NewSarefLight(iri string) (ret SarefLight, err error)
NewSarefLight creates a new SarefLight
func (*Model) NewSarefLightSwitch ¶
func (mod *Model) NewSarefLightSwitch(iri string) (ret SarefLightSwitch, err error)
NewSarefLightSwitch creates a new SarefLightSwitch
func (*Model) NewSarefLightingDevice ¶
func (mod *Model) NewSarefLightingDevice(iri string) (ret SarefLightingDevice, err error)
NewSarefLightingDevice creates a new SarefLightingDevice
func (*Model) NewSarefLoad ¶
NewSarefLoad creates a new SarefLoad
func (*Model) NewSarefMeasurement ¶
func (mod *Model) NewSarefMeasurement(iri string) (ret SarefMeasurement, err error)
NewSarefMeasurement creates a new SarefMeasurement
func (*Model) NewSarefMeter ¶
func (mod *Model) NewSarefMeter(iri string) (ret SarefMeter, err error)
NewSarefMeter creates a new SarefMeter
func (*Model) NewSarefMeteringFunction ¶
func (mod *Model) NewSarefMeteringFunction(iri string) (ret SarefMeteringFunction, err error)
NewSarefMeteringFunction creates a new SarefMeteringFunction
func (*Model) NewSarefMicroRenewable ¶
func (mod *Model) NewSarefMicroRenewable(iri string) (ret SarefMicroRenewable, err error)
NewSarefMicroRenewable creates a new SarefMicroRenewable
func (*Model) NewSarefMotion ¶
func (mod *Model) NewSarefMotion(iri string) (ret SarefMotion, err error)
NewSarefMotion creates a new SarefMotion
func (*Model) NewSarefMultiLevelState ¶
func (mod *Model) NewSarefMultiLevelState(iri string) (ret SarefMultiLevelState, err error)
NewSarefMultiLevelState creates a new SarefMultiLevelState
func (*Model) NewSarefMultimedia ¶
func (mod *Model) NewSarefMultimedia(iri string) (ret SarefMultimedia, err error)
NewSarefMultimedia creates a new SarefMultimedia
func (*Model) NewSarefNetwork ¶
func (mod *Model) NewSarefNetwork(iri string) (ret SarefNetwork, err error)
NewSarefNetwork creates a new SarefNetwork
func (*Model) NewSarefNotifyCommand ¶
func (mod *Model) NewSarefNotifyCommand(iri string) (ret SarefNotifyCommand, err error)
NewSarefNotifyCommand creates a new SarefNotifyCommand
func (*Model) NewSarefOccupancy ¶
func (mod *Model) NewSarefOccupancy(iri string) (ret SarefOccupancy, err error)
NewSarefOccupancy creates a new SarefOccupancy
func (*Model) NewSarefOffCommand ¶
func (mod *Model) NewSarefOffCommand(iri string) (ret SarefOffCommand, err error)
NewSarefOffCommand creates a new SarefOffCommand
func (*Model) NewSarefOffState ¶
func (mod *Model) NewSarefOffState(iri string) (ret SarefOffState, err error)
NewSarefOffState creates a new SarefOffState
func (*Model) NewSarefOnCommand ¶
func (mod *Model) NewSarefOnCommand(iri string) (ret SarefOnCommand, err error)
NewSarefOnCommand creates a new SarefOnCommand
func (*Model) NewSarefOnOffFunction ¶
func (mod *Model) NewSarefOnOffFunction(iri string) (ret SarefOnOffFunction, err error)
NewSarefOnOffFunction creates a new SarefOnOffFunction
func (*Model) NewSarefOnOffState ¶
func (mod *Model) NewSarefOnOffState(iri string) (ret SarefOnOffState, err error)
NewSarefOnOffState creates a new SarefOnOffState
func (*Model) NewSarefOnState ¶
func (mod *Model) NewSarefOnState(iri string) (ret SarefOnState, err error)
NewSarefOnState creates a new SarefOnState
func (*Model) NewSarefOpenCloseFunction ¶
func (mod *Model) NewSarefOpenCloseFunction(iri string) (ret SarefOpenCloseFunction, err error)
NewSarefOpenCloseFunction creates a new SarefOpenCloseFunction
func (*Model) NewSarefOpenCloseState ¶
func (mod *Model) NewSarefOpenCloseState(iri string) (ret SarefOpenCloseState, err error)
NewSarefOpenCloseState creates a new SarefOpenCloseState
func (*Model) NewSarefOpenCommand ¶
func (mod *Model) NewSarefOpenCommand(iri string) (ret SarefOpenCommand, err error)
NewSarefOpenCommand creates a new SarefOpenCommand
func (*Model) NewSarefOpenState ¶
func (mod *Model) NewSarefOpenState(iri string) (ret SarefOpenState, err error)
NewSarefOpenState creates a new SarefOpenState
func (*Model) NewSarefPauseCommand ¶
func (mod *Model) NewSarefPauseCommand(iri string) (ret SarefPauseCommand, err error)
NewSarefPauseCommand creates a new SarefPauseCommand
func (*Model) NewSarefPower ¶
func (mod *Model) NewSarefPower(iri string) (ret SarefPower, err error)
NewSarefPower creates a new SarefPower
func (*Model) NewSarefPowerUnit ¶
func (mod *Model) NewSarefPowerUnit(iri string) (ret SarefPowerUnit, err error)
NewSarefPowerUnit creates a new SarefPowerUnit
func (*Model) NewSarefPressure ¶
func (mod *Model) NewSarefPressure(iri string) (ret SarefPressure, err error)
NewSarefPressure creates a new SarefPressure
func (*Model) NewSarefPressureUnit ¶
func (mod *Model) NewSarefPressureUnit(iri string) (ret SarefPressureUnit, err error)
NewSarefPressureUnit creates a new SarefPressureUnit
func (*Model) NewSarefPrice ¶
func (mod *Model) NewSarefPrice(iri string) (ret SarefPrice, err error)
NewSarefPrice creates a new SarefPrice
func (*Model) NewSarefProfile ¶
func (mod *Model) NewSarefProfile(iri string) (ret SarefProfile, err error)
NewSarefProfile creates a new SarefProfile
func (*Model) NewSarefProperty ¶
func (mod *Model) NewSarefProperty(iri string) (ret SarefProperty, err error)
NewSarefProperty creates a new SarefProperty
func (*Model) NewSarefSensingFunction ¶
func (mod *Model) NewSarefSensingFunction(iri string) (ret SarefSensingFunction, err error)
NewSarefSensingFunction creates a new SarefSensingFunction
func (*Model) NewSarefSensor ¶
func (mod *Model) NewSarefSensor(iri string) (ret SarefSensor, err error)
NewSarefSensor creates a new SarefSensor
func (*Model) NewSarefService ¶
func (mod *Model) NewSarefService(iri string) (ret SarefService, err error)
NewSarefService creates a new SarefService
func (*Model) NewSarefSetAbsoluteLevelCommand ¶
func (mod *Model) NewSarefSetAbsoluteLevelCommand(iri string) (ret SarefSetAbsoluteLevelCommand, err error)
NewSarefSetAbsoluteLevelCommand creates a new SarefSetAbsoluteLevelCommand
func (*Model) NewSarefSetLevelCommand ¶
func (mod *Model) NewSarefSetLevelCommand(iri string) (ret SarefSetLevelCommand, err error)
NewSarefSetLevelCommand creates a new SarefSetLevelCommand
func (*Model) NewSarefSetRelativeLevelCommand ¶
func (mod *Model) NewSarefSetRelativeLevelCommand(iri string) (ret SarefSetRelativeLevelCommand, err error)
NewSarefSetRelativeLevelCommand creates a new SarefSetRelativeLevelCommand
func (*Model) NewSarefSmoke ¶
func (mod *Model) NewSarefSmoke(iri string) (ret SarefSmoke, err error)
NewSarefSmoke creates a new SarefSmoke
func (*Model) NewSarefSmokeSensor ¶
func (mod *Model) NewSarefSmokeSensor(iri string) (ret SarefSmokeSensor, err error)
NewSarefSmokeSensor creates a new SarefSmokeSensor
func (*Model) NewSarefStartCommand ¶
func (mod *Model) NewSarefStartCommand(iri string) (ret SarefStartCommand, err error)
NewSarefStartCommand creates a new SarefStartCommand
func (*Model) NewSarefStartState ¶
func (mod *Model) NewSarefStartState(iri string) (ret SarefStartState, err error)
NewSarefStartState creates a new SarefStartState
func (*Model) NewSarefStartStopFunction ¶
func (mod *Model) NewSarefStartStopFunction(iri string) (ret SarefStartStopFunction, err error)
NewSarefStartStopFunction creates a new SarefStartStopFunction
func (*Model) NewSarefStartStopState ¶
func (mod *Model) NewSarefStartStopState(iri string) (ret SarefStartStopState, err error)
NewSarefStartStopState creates a new SarefStartStopState
func (*Model) NewSarefState ¶
func (mod *Model) NewSarefState(iri string) (ret SarefState, err error)
NewSarefState creates a new SarefState
func (*Model) NewSarefStepDownCommand ¶
func (mod *Model) NewSarefStepDownCommand(iri string) (ret SarefStepDownCommand, err error)
NewSarefStepDownCommand creates a new SarefStepDownCommand
func (*Model) NewSarefStepUpCommand ¶
func (mod *Model) NewSarefStepUpCommand(iri string) (ret SarefStepUpCommand, err error)
NewSarefStepUpCommand creates a new SarefStepUpCommand
func (*Model) NewSarefStopCommand ¶
func (mod *Model) NewSarefStopCommand(iri string) (ret SarefStopCommand, err error)
NewSarefStopCommand creates a new SarefStopCommand
func (*Model) NewSarefStopState ¶
func (mod *Model) NewSarefStopState(iri string) (ret SarefStopState, err error)
NewSarefStopState creates a new SarefStopState
func (*Model) NewSarefStorage ¶
func (mod *Model) NewSarefStorage(iri string) (ret SarefStorage, err error)
NewSarefStorage creates a new SarefStorage
func (*Model) NewSarefSwitch ¶
func (mod *Model) NewSarefSwitch(iri string) (ret SarefSwitch, err error)
NewSarefSwitch creates a new SarefSwitch
func (*Model) NewSarefSwitchOnService ¶
func (mod *Model) NewSarefSwitchOnService(iri string) (ret SarefSwitchOnService, err error)
NewSarefSwitchOnService creates a new SarefSwitchOnService
func (*Model) NewSarefTask ¶
NewSarefTask creates a new SarefTask
func (*Model) NewSarefTemperature ¶
func (mod *Model) NewSarefTemperature(iri string) (ret SarefTemperature, err error)
NewSarefTemperature creates a new SarefTemperature
func (*Model) NewSarefTemperatureSensor ¶
func (mod *Model) NewSarefTemperatureSensor(iri string) (ret SarefTemperatureSensor, err error)
NewSarefTemperatureSensor creates a new SarefTemperatureSensor
func (*Model) NewSarefTemperatureUnit ¶
func (mod *Model) NewSarefTemperatureUnit(iri string) (ret SarefTemperatureUnit, err error)
NewSarefTemperatureUnit creates a new SarefTemperatureUnit
func (*Model) NewSarefTime ¶
NewSarefTime creates a new SarefTime
func (*Model) NewSarefToggleCommand ¶
func (mod *Model) NewSarefToggleCommand(iri string) (ret SarefToggleCommand, err error)
NewSarefToggleCommand creates a new SarefToggleCommand
func (*Model) NewSarefUnitOfMeasure ¶
func (mod *Model) NewSarefUnitOfMeasure(iri string) (ret SarefUnitOfMeasure, err error)
NewSarefUnitOfMeasure creates a new SarefUnitOfMeasure
func (*Model) NewSarefWashingMachine ¶
func (mod *Model) NewSarefWashingMachine(iri string) (ret SarefWashingMachine, err error)
NewSarefWashingMachine creates a new SarefWashingMachine
func (*Model) NewSarefWater ¶
func (mod *Model) NewSarefWater(iri string) (ret SarefWater, err error)
NewSarefWater creates a new SarefWater
func (*Model) NewTimeDateTimeDescription ¶
func (mod *Model) NewTimeDateTimeDescription(iri string) (ret TimeDateTimeDescription, err error)
NewTimeDateTimeDescription creates a new TimeDateTimeDescription
func (*Model) NewTimeDateTimeInterval ¶
func (mod *Model) NewTimeDateTimeInterval(iri string) (ret TimeDateTimeInterval, err error)
NewTimeDateTimeInterval creates a new TimeDateTimeInterval
func (*Model) NewTimeDayOfWeek ¶
func (mod *Model) NewTimeDayOfWeek(iri string) (ret TimeDayOfWeek, err error)
NewTimeDayOfWeek creates a new TimeDayOfWeek
func (*Model) NewTimeDuration ¶
func (mod *Model) NewTimeDuration(iri string) (ret TimeDuration, err error)
NewTimeDuration creates a new TimeDuration
func (*Model) NewTimeDurationDescription ¶
func (mod *Model) NewTimeDurationDescription(iri string) (ret TimeDurationDescription, err error)
NewTimeDurationDescription creates a new TimeDurationDescription
func (*Model) NewTimeGeneralDateTimeDescription ¶
func (mod *Model) NewTimeGeneralDateTimeDescription(iri string) (ret TimeGeneralDateTimeDescription, err error)
NewTimeGeneralDateTimeDescription creates a new TimeGeneralDateTimeDescription
func (*Model) NewTimeGeneralDurationDescription ¶
func (mod *Model) NewTimeGeneralDurationDescription(iri string) (ret TimeGeneralDurationDescription, err error)
NewTimeGeneralDurationDescription creates a new TimeGeneralDurationDescription
func (*Model) NewTimeInstant ¶
func (mod *Model) NewTimeInstant(iri string) (ret TimeInstant, err error)
NewTimeInstant creates a new TimeInstant
func (*Model) NewTimeInterval ¶
func (mod *Model) NewTimeInterval(iri string) (ret TimeInterval, err error)
NewTimeInterval creates a new TimeInterval
func (*Model) NewTimeMonthOfYear ¶
func (mod *Model) NewTimeMonthOfYear(iri string) (ret TimeMonthOfYear, err error)
NewTimeMonthOfYear creates a new TimeMonthOfYear
func (*Model) NewTimePosition ¶
func (mod *Model) NewTimePosition(iri string) (ret TimePosition, err error)
NewTimePosition creates a new TimePosition
func (*Model) NewTimeProperInterval ¶
func (mod *Model) NewTimeProperInterval(iri string) (ret TimeProperInterval, err error)
NewTimeProperInterval creates a new TimeProperInterval
func (*Model) NewTimeTRS ¶
NewTimeTRS creates a new TimeTRS
func (*Model) NewTimeTemporalDuration ¶
func (mod *Model) NewTimeTemporalDuration(iri string) (ret TimeTemporalDuration, err error)
NewTimeTemporalDuration creates a new TimeTemporalDuration
func (*Model) NewTimeTemporalEntity ¶
func (mod *Model) NewTimeTemporalEntity(iri string) (ret TimeTemporalEntity, err error)
NewTimeTemporalEntity creates a new TimeTemporalEntity
func (*Model) NewTimeTemporalPosition ¶
func (mod *Model) NewTimeTemporalPosition(iri string) (ret TimeTemporalPosition, err error)
NewTimeTemporalPosition creates a new TimeTemporalPosition
func (*Model) NewTimeTemporalUnit ¶
func (mod *Model) NewTimeTemporalUnit(iri string) (ret TimeTemporalUnit, err error)
NewTimeTemporalUnit creates a new TimeTemporalUnit
func (*Model) NewTimeZone ¶
NewTimeZone creates a new TimeZone
func (*Model) SarefActuatingFunction ¶
func (mod *Model) SarefActuatingFunction(prefix string) (res []SarefActuatingFunction)
SarefActuatingFunction returns all resources with given prefix
func (*Model) SarefActuator ¶
func (mod *Model) SarefActuator(prefix string) (res []SarefActuator)
SarefActuator returns all resources with given prefix
func (*Model) SarefAppliance ¶
func (mod *Model) SarefAppliance(prefix string) (res []SarefAppliance)
SarefAppliance returns all resources with given prefix
func (*Model) SarefBuildingRelated ¶
func (mod *Model) SarefBuildingRelated(prefix string) (res []SarefBuildingRelated)
SarefBuildingRelated returns all resources with given prefix
func (*Model) SarefCloseCommand ¶
func (mod *Model) SarefCloseCommand(prefix string) (res []SarefCloseCommand)
SarefCloseCommand returns all resources with given prefix
func (*Model) SarefCloseState ¶
func (mod *Model) SarefCloseState(prefix string) (res []SarefCloseState)
SarefCloseState returns all resources with given prefix
func (*Model) SarefCommand ¶
func (mod *Model) SarefCommand(prefix string) (res []SarefCommand)
SarefCommand returns all resources with given prefix
func (*Model) SarefCommodity ¶
func (mod *Model) SarefCommodity(prefix string) (res []SarefCommodity)
SarefCommodity returns all resources with given prefix
func (*Model) SarefCurrency ¶
func (mod *Model) SarefCurrency(prefix string) (res []SarefCurrency)
SarefCurrency returns all resources with given prefix
func (*Model) SarefDevice ¶
func (mod *Model) SarefDevice(prefix string) (res []SarefDevice)
SarefDevice returns all resources with given prefix
func (*Model) SarefDoorSwitch ¶
func (mod *Model) SarefDoorSwitch(prefix string) (res []SarefDoorSwitch)
SarefDoorSwitch returns all resources with given prefix
func (*Model) SarefElectricity ¶
func (mod *Model) SarefElectricity(prefix string) (res []SarefElectricity)
SarefElectricity returns all resources with given prefix
func (*Model) SarefEnergy ¶
func (mod *Model) SarefEnergy(prefix string) (res []SarefEnergy)
SarefEnergy returns all resources with given prefix
func (*Model) SarefEnergyMeter ¶
func (mod *Model) SarefEnergyMeter(prefix string) (res []SarefEnergyMeter)
SarefEnergyMeter returns all resources with given prefix
func (*Model) SarefEnergyRelated ¶
func (mod *Model) SarefEnergyRelated(prefix string) (res []SarefEnergyRelated)
SarefEnergyRelated returns all resources with given prefix
func (*Model) SarefEnergyUnit ¶
func (mod *Model) SarefEnergyUnit(prefix string) (res []SarefEnergyUnit)
SarefEnergyUnit returns all resources with given prefix
func (*Model) SarefEventFunction ¶
func (mod *Model) SarefEventFunction(prefix string) (res []SarefEventFunction)
SarefEventFunction returns all resources with given prefix
func (*Model) SarefFunction ¶
func (mod *Model) SarefFunction(prefix string) (res []SarefFunction)
SarefFunction returns all resources with given prefix
func (*Model) SarefFunctionRelated ¶
func (mod *Model) SarefFunctionRelated(prefix string) (res []SarefFunctionRelated)
SarefFunctionRelated returns all resources with given prefix
func (*Model) SarefGenerator ¶
func (mod *Model) SarefGenerator(prefix string) (res []SarefGenerator)
SarefGenerator returns all resources with given prefix
func (*Model) SarefGetCommand ¶
func (mod *Model) SarefGetCommand(prefix string) (res []SarefGetCommand)
SarefGetCommand returns all resources with given prefix
func (*Model) SarefGetCurrentMeterValueCommand ¶
func (mod *Model) SarefGetCurrentMeterValueCommand(prefix string) (res []SarefGetCurrentMeterValueCommand)
SarefGetCurrentMeterValueCommand returns all resources with given prefix
func (*Model) SarefGetMeterDataCommand ¶
func (mod *Model) SarefGetMeterDataCommand(prefix string) (res []SarefGetMeterDataCommand)
SarefGetMeterDataCommand returns all resources with given prefix
func (*Model) SarefGetMeterHistoryCommand ¶
func (mod *Model) SarefGetMeterHistoryCommand(prefix string) (res []SarefGetMeterHistoryCommand)
SarefGetMeterHistoryCommand returns all resources with given prefix
func (*Model) SarefGetSensingDataCommand ¶
func (mod *Model) SarefGetSensingDataCommand(prefix string) (res []SarefGetSensingDataCommand)
SarefGetSensingDataCommand returns all resources with given prefix
func (*Model) SarefHumidity ¶
func (mod *Model) SarefHumidity(prefix string) (res []SarefHumidity)
SarefHumidity returns all resources with given prefix
func (*Model) SarefIlluminanceUnit ¶
func (mod *Model) SarefIlluminanceUnit(prefix string) (res []SarefIlluminanceUnit)
SarefIlluminanceUnit returns all resources with given prefix
func (*Model) SarefLevelControlFunction ¶
func (mod *Model) SarefLevelControlFunction(prefix string) (res []SarefLevelControlFunction)
SarefLevelControlFunction returns all resources with given prefix
func (*Model) SarefLight ¶
func (mod *Model) SarefLight(prefix string) (res []SarefLight)
SarefLight returns all resources with given prefix
func (*Model) SarefLightSwitch ¶
func (mod *Model) SarefLightSwitch(prefix string) (res []SarefLightSwitch)
SarefLightSwitch returns all resources with given prefix
func (*Model) SarefLightingDevice ¶
func (mod *Model) SarefLightingDevice(prefix string) (res []SarefLightingDevice)
SarefLightingDevice returns all resources with given prefix
func (*Model) SarefMeasurement ¶
func (mod *Model) SarefMeasurement(prefix string) (res []SarefMeasurement)
SarefMeasurement returns all resources with given prefix
func (*Model) SarefMeter ¶
func (mod *Model) SarefMeter(prefix string) (res []SarefMeter)
SarefMeter returns all resources with given prefix
func (*Model) SarefMeteringFunction ¶
func (mod *Model) SarefMeteringFunction(prefix string) (res []SarefMeteringFunction)
SarefMeteringFunction returns all resources with given prefix
func (*Model) SarefMicroRenewable ¶
func (mod *Model) SarefMicroRenewable(prefix string) (res []SarefMicroRenewable)
SarefMicroRenewable returns all resources with given prefix
func (*Model) SarefMotion ¶
func (mod *Model) SarefMotion(prefix string) (res []SarefMotion)
SarefMotion returns all resources with given prefix
func (*Model) SarefMultiLevelState ¶
func (mod *Model) SarefMultiLevelState(prefix string) (res []SarefMultiLevelState)
SarefMultiLevelState returns all resources with given prefix
func (*Model) SarefMultimedia ¶
func (mod *Model) SarefMultimedia(prefix string) (res []SarefMultimedia)
SarefMultimedia returns all resources with given prefix
func (*Model) SarefNetwork ¶
func (mod *Model) SarefNetwork(prefix string) (res []SarefNetwork)
SarefNetwork returns all resources with given prefix
func (*Model) SarefNotifyCommand ¶
func (mod *Model) SarefNotifyCommand(prefix string) (res []SarefNotifyCommand)
SarefNotifyCommand returns all resources with given prefix
func (*Model) SarefOccupancy ¶
func (mod *Model) SarefOccupancy(prefix string) (res []SarefOccupancy)
SarefOccupancy returns all resources with given prefix
func (*Model) SarefOffCommand ¶
func (mod *Model) SarefOffCommand(prefix string) (res []SarefOffCommand)
SarefOffCommand returns all resources with given prefix
func (*Model) SarefOffState ¶
func (mod *Model) SarefOffState(prefix string) (res []SarefOffState)
SarefOffState returns all resources with given prefix
func (*Model) SarefOnCommand ¶
func (mod *Model) SarefOnCommand(prefix string) (res []SarefOnCommand)
SarefOnCommand returns all resources with given prefix
func (*Model) SarefOnOffFunction ¶
func (mod *Model) SarefOnOffFunction(prefix string) (res []SarefOnOffFunction)
SarefOnOffFunction returns all resources with given prefix
func (*Model) SarefOnOffState ¶
func (mod *Model) SarefOnOffState(prefix string) (res []SarefOnOffState)
SarefOnOffState returns all resources with given prefix
func (*Model) SarefOnState ¶
func (mod *Model) SarefOnState(prefix string) (res []SarefOnState)
SarefOnState returns all resources with given prefix
func (*Model) SarefOpenCloseFunction ¶
func (mod *Model) SarefOpenCloseFunction(prefix string) (res []SarefOpenCloseFunction)
SarefOpenCloseFunction returns all resources with given prefix
func (*Model) SarefOpenCloseState ¶
func (mod *Model) SarefOpenCloseState(prefix string) (res []SarefOpenCloseState)
SarefOpenCloseState returns all resources with given prefix
func (*Model) SarefOpenCommand ¶
func (mod *Model) SarefOpenCommand(prefix string) (res []SarefOpenCommand)
SarefOpenCommand returns all resources with given prefix
func (*Model) SarefOpenState ¶
func (mod *Model) SarefOpenState(prefix string) (res []SarefOpenState)
SarefOpenState returns all resources with given prefix
func (*Model) SarefPauseCommand ¶
func (mod *Model) SarefPauseCommand(prefix string) (res []SarefPauseCommand)
SarefPauseCommand returns all resources with given prefix
func (*Model) SarefPower ¶
func (mod *Model) SarefPower(prefix string) (res []SarefPower)
SarefPower returns all resources with given prefix
func (*Model) SarefPowerUnit ¶
func (mod *Model) SarefPowerUnit(prefix string) (res []SarefPowerUnit)
SarefPowerUnit returns all resources with given prefix
func (*Model) SarefPressure ¶
func (mod *Model) SarefPressure(prefix string) (res []SarefPressure)
SarefPressure returns all resources with given prefix
func (*Model) SarefPressureUnit ¶
func (mod *Model) SarefPressureUnit(prefix string) (res []SarefPressureUnit)
SarefPressureUnit returns all resources with given prefix
func (*Model) SarefPrice ¶
func (mod *Model) SarefPrice(prefix string) (res []SarefPrice)
SarefPrice returns all resources with given prefix
func (*Model) SarefProfile ¶
func (mod *Model) SarefProfile(prefix string) (res []SarefProfile)
SarefProfile returns all resources with given prefix
func (*Model) SarefProperty ¶
func (mod *Model) SarefProperty(prefix string) (res []SarefProperty)
SarefProperty returns all resources with given prefix
func (*Model) SarefSensingFunction ¶
func (mod *Model) SarefSensingFunction(prefix string) (res []SarefSensingFunction)
SarefSensingFunction returns all resources with given prefix
func (*Model) SarefSensor ¶
func (mod *Model) SarefSensor(prefix string) (res []SarefSensor)
SarefSensor returns all resources with given prefix
func (*Model) SarefService ¶
func (mod *Model) SarefService(prefix string) (res []SarefService)
SarefService returns all resources with given prefix
func (*Model) SarefSetAbsoluteLevelCommand ¶
func (mod *Model) SarefSetAbsoluteLevelCommand(prefix string) (res []SarefSetAbsoluteLevelCommand)
SarefSetAbsoluteLevelCommand returns all resources with given prefix
func (*Model) SarefSetLevelCommand ¶
func (mod *Model) SarefSetLevelCommand(prefix string) (res []SarefSetLevelCommand)
SarefSetLevelCommand returns all resources with given prefix
func (*Model) SarefSetRelativeLevelCommand ¶
func (mod *Model) SarefSetRelativeLevelCommand(prefix string) (res []SarefSetRelativeLevelCommand)
SarefSetRelativeLevelCommand returns all resources with given prefix
func (*Model) SarefSmoke ¶
func (mod *Model) SarefSmoke(prefix string) (res []SarefSmoke)
SarefSmoke returns all resources with given prefix
func (*Model) SarefSmokeSensor ¶
func (mod *Model) SarefSmokeSensor(prefix string) (res []SarefSmokeSensor)
SarefSmokeSensor returns all resources with given prefix
func (*Model) SarefStartCommand ¶
func (mod *Model) SarefStartCommand(prefix string) (res []SarefStartCommand)
SarefStartCommand returns all resources with given prefix
func (*Model) SarefStartState ¶
func (mod *Model) SarefStartState(prefix string) (res []SarefStartState)
SarefStartState returns all resources with given prefix
func (*Model) SarefStartStopFunction ¶
func (mod *Model) SarefStartStopFunction(prefix string) (res []SarefStartStopFunction)
SarefStartStopFunction returns all resources with given prefix
func (*Model) SarefStartStopState ¶
func (mod *Model) SarefStartStopState(prefix string) (res []SarefStartStopState)
SarefStartStopState returns all resources with given prefix
func (*Model) SarefState ¶
func (mod *Model) SarefState(prefix string) (res []SarefState)
SarefState returns all resources with given prefix
func (*Model) SarefStepDownCommand ¶
func (mod *Model) SarefStepDownCommand(prefix string) (res []SarefStepDownCommand)
SarefStepDownCommand returns all resources with given prefix
func (*Model) SarefStepUpCommand ¶
func (mod *Model) SarefStepUpCommand(prefix string) (res []SarefStepUpCommand)
SarefStepUpCommand returns all resources with given prefix
func (*Model) SarefStopCommand ¶
func (mod *Model) SarefStopCommand(prefix string) (res []SarefStopCommand)
SarefStopCommand returns all resources with given prefix
func (*Model) SarefStopState ¶
func (mod *Model) SarefStopState(prefix string) (res []SarefStopState)
SarefStopState returns all resources with given prefix
func (*Model) SarefStorage ¶
func (mod *Model) SarefStorage(prefix string) (res []SarefStorage)
SarefStorage returns all resources with given prefix
func (*Model) SarefSwitch ¶
func (mod *Model) SarefSwitch(prefix string) (res []SarefSwitch)
SarefSwitch returns all resources with given prefix
func (*Model) SarefSwitchOnService ¶
func (mod *Model) SarefSwitchOnService(prefix string) (res []SarefSwitchOnService)
SarefSwitchOnService returns all resources with given prefix
func (*Model) SarefTemperature ¶
func (mod *Model) SarefTemperature(prefix string) (res []SarefTemperature)
SarefTemperature returns all resources with given prefix
func (*Model) SarefTemperatureSensor ¶
func (mod *Model) SarefTemperatureSensor(prefix string) (res []SarefTemperatureSensor)
SarefTemperatureSensor returns all resources with given prefix
func (*Model) SarefTemperatureUnit ¶
func (mod *Model) SarefTemperatureUnit(prefix string) (res []SarefTemperatureUnit)
SarefTemperatureUnit returns all resources with given prefix
func (*Model) SarefToggleCommand ¶
func (mod *Model) SarefToggleCommand(prefix string) (res []SarefToggleCommand)
SarefToggleCommand returns all resources with given prefix
func (*Model) SarefUnitOfMeasure ¶
func (mod *Model) SarefUnitOfMeasure(prefix string) (res []SarefUnitOfMeasure)
SarefUnitOfMeasure returns all resources with given prefix
func (*Model) SarefWashingMachine ¶
func (mod *Model) SarefWashingMachine(prefix string) (res []SarefWashingMachine)
SarefWashingMachine returns all resources with given prefix
func (*Model) SarefWater ¶
func (mod *Model) SarefWater(prefix string) (res []SarefWater)
SarefWater returns all resources with given prefix
func (*Model) TimeDateTimeDescription ¶
func (mod *Model) TimeDateTimeDescription(prefix string) (res []TimeDateTimeDescription)
TimeDateTimeDescription returns all resources with given prefix
func (*Model) TimeDateTimeInterval ¶
func (mod *Model) TimeDateTimeInterval(prefix string) (res []TimeDateTimeInterval)
TimeDateTimeInterval returns all resources with given prefix
func (*Model) TimeDayOfWeek ¶
func (mod *Model) TimeDayOfWeek(prefix string) (res []TimeDayOfWeek)
TimeDayOfWeek returns all resources with given prefix
func (*Model) TimeDuration ¶
func (mod *Model) TimeDuration(prefix string) (res []TimeDuration)
TimeDuration returns all resources with given prefix
func (*Model) TimeDurationDescription ¶
func (mod *Model) TimeDurationDescription(prefix string) (res []TimeDurationDescription)
TimeDurationDescription returns all resources with given prefix
func (*Model) TimeGeneralDateTimeDescription ¶
func (mod *Model) TimeGeneralDateTimeDescription(prefix string) (res []TimeGeneralDateTimeDescription)
TimeGeneralDateTimeDescription returns all resources with given prefix
func (*Model) TimeGeneralDurationDescription ¶
func (mod *Model) TimeGeneralDurationDescription(prefix string) (res []TimeGeneralDurationDescription)
TimeGeneralDurationDescription returns all resources with given prefix
func (*Model) TimeInstant ¶
func (mod *Model) TimeInstant(prefix string) (res []TimeInstant)
TimeInstant returns all resources with given prefix
func (*Model) TimeInterval ¶
func (mod *Model) TimeInterval(prefix string) (res []TimeInterval)
TimeInterval returns all resources with given prefix
func (*Model) TimeMonthOfYear ¶
func (mod *Model) TimeMonthOfYear(prefix string) (res []TimeMonthOfYear)
TimeMonthOfYear returns all resources with given prefix
func (*Model) TimePosition ¶
func (mod *Model) TimePosition(prefix string) (res []TimePosition)
TimePosition returns all resources with given prefix
func (*Model) TimeProperInterval ¶
func (mod *Model) TimeProperInterval(prefix string) (res []TimeProperInterval)
TimeProperInterval returns all resources with given prefix
func (*Model) TimeTemporalDuration ¶
func (mod *Model) TimeTemporalDuration(prefix string) (res []TimeTemporalDuration)
TimeTemporalDuration returns all resources with given prefix
func (*Model) TimeTemporalEntity ¶
func (mod *Model) TimeTemporalEntity(prefix string) (res []TimeTemporalEntity)
TimeTemporalEntity returns all resources with given prefix
func (*Model) TimeTemporalPosition ¶
func (mod *Model) TimeTemporalPosition(prefix string) (res []TimeTemporalPosition)
TimeTemporalPosition returns all resources with given prefix
func (*Model) TimeTemporalUnit ¶
func (mod *Model) TimeTemporalUnit(prefix string) (res []TimeTemporalUnit)
TimeTemporalUnit returns all resources with given prefix
type SarefActuatingFunction ¶
type SarefActuatingFunction interface { SarefFunction IsSarefActuatingFunction() bool // indicates base class }
SarefActuatingFunction A function that allows to transmit data to actuators, such as level settings (e.g., temperature) or binary switching (e.g., open/close, on/off)
type SarefActuator ¶
type SarefActuator interface { SarefFunctionRelated IsSarefActuator() bool // indicates base class }
SarefActuator A device responsible for moving or controlling a mechanism or system by performing an actuating function
type SarefAppliance ¶
type SarefAppliance interface { SarefFunctionRelated IsSarefAppliance() bool // indicates base class }
SarefAppliance An electrical/mechanical machine that accomplish some household functions, such as cleaning or cooking
type SarefBuildingRelated ¶
type SarefBuildingRelated interface { SarefDevice IsSarefBuildingRelated() bool // indicates base class }
SarefBuildingRelated A category that includes devices as described by building related data models, such as IFC and FIEMSER
type SarefCloseCommand ¶
type SarefCloseCommand interface { SarefCommand IsSarefCloseCommand() bool // indicates base class }
SarefCloseCommand A type of command
type SarefCloseState ¶
type SarefCloseState interface { SarefOpenCloseState IsSarefCloseState() bool // indicates base class }
SarefCloseState The state of a device that is CLOSE
type SarefCoal ¶
type SarefCoal interface { SarefCommodity IsSarefCoal() bool // indicates base class }
SarefCoal A type of commodity
type SarefCommand ¶
type SarefCommand interface { owl.Thing IsSarefCommand() bool // indicates base class // contains filtered or unexported methods }
SarefCommand A directive that a device must support to perform a certain function. A command may act upon a state, but does not necessarily act upon a state. For example, the ON command acts upon the ON/OFF state, but the GET command does not act upon any state, it simply gives a directive to retrieve a certain value. We propose here a list of commands that are relevant for the purpose of SAREF, but this list can be extended.
type SarefCommodity ¶
type SarefCommodity interface { owl.Thing IsSarefCommodity() bool // indicates base class // contains filtered or unexported methods }
SarefCommodity A marketable item for which there is demand, but which is supplied without qualitative differentiation across a market. SAREF refers to energy commodities such as electricity, gas, coal and oil.
type SarefCurrency ¶
type SarefCurrency interface { SarefUnitOfMeasure IsSarefCurrency() bool // indicates base class }
SarefCurrency The unit of measure for price
type SarefDevice ¶
type SarefDevice interface { owl.Thing IsSarefDevice() bool // indicates base class // contains filtered or unexported methods }
SarefDevice A tangible object designed to accomplish a particular task in households, common public buildings or offices. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs a start and stop function. Devices can be structured in categories (subclasses) that reflect the different domain in which a device is used, e.g., smart appliances domain (subclass FunctionRelated) vs. building domain (subclass BuildingRelated) vs. smart grid domain (subclass EnergyRelated). New categories can be defined,if needed, to reflect other differences, for example different points of view, such as the point of view of the device's user vs. the point of view of the device's manufacturer. We propose a list of devices that are relevant for the purpose of SAREF, but this list can be extended.
type SarefDoorSwitch ¶
type SarefDoorSwitch interface { SarefSwitch IsSarefDoorSwitch() bool // indicates base class }
SarefDoorSwitch A device of category saref:Actuator that consists of a switch, accomplishes the task saref:Safety, performs the saref:OpenCloseFunction, is used for controlling a door, and can be found in the state saref:OpenCloseState.
type SarefElectricity ¶
type SarefElectricity interface { SarefCommodity IsSarefElectricity() bool // indicates base class }
SarefElectricity A type of commodity
type SarefEnergy ¶
type SarefEnergy interface { SarefProperty IsSarefEnergy() bool // indicates base class }
SarefEnergy A saref:Property related to some measurements that are characterized by a certain value measured in an energy unit (such as Kilowatt_Hour or Watt_hour). Furter specializations of the saref:Energy class can be found in the SAREF4ENER extension, where classes such as EnergyMax, EnergyMin and EnergyExpected are defined.
type SarefEnergyMeter ¶
type SarefEnergyMeter interface { SarefMeter IsSarefEnergyMeter() bool // indicates base class }
SarefEnergyMeter An energy meter is a device of category saref:Meter that consists of a meter, accomplishes the tasks saref:MeterReading and saref:EnergyEfficiency, performs the saref:MeteringFunction and is used for the purpose of measuring the saref:Energy property
type SarefEnergyRelated ¶
type SarefEnergyRelated interface { SarefDevice IsSarefEnergyRelated() bool // indicates base class }
SarefEnergyRelated A category that considers devices based on energy consumption information and profiles to optimize energy efficiency.
type SarefEnergyUnit ¶
type SarefEnergyUnit interface { SarefUnitOfMeasure IsSarefEnergyUnit() bool // indicates base class }
SarefEnergyUnit The unit of measure for energy
type SarefEventFunction ¶
type SarefEventFunction interface { SarefFunction IsSarefEventFunction() bool // indicates base class // contains filtered or unexported methods }
SarefEventFunction A function that allows to notify another device that a certain threshold value has been exceeded.
type SarefFunction ¶
type SarefFunction interface { owl.Thing IsSarefFunction() bool // indicates base class // contains filtered or unexported methods }
SarefFunction The functionality necessary to accomplish the task for which a Device is designed. A device can be designed to perform more than one function. Functions can be structured in categories (subclasses) that reflect different points of view, for example, considering the specific application area for which a function can be used (e.g., light, temperature, motion, heat, power, etc.), or the capability that a function can support (e.g., receive, reply, notify, etc.), and so forth.
type SarefFunctionRelated ¶
type SarefFunctionRelated interface { SarefDevice IsSarefFunctionRelated() bool // indicates base class }
SarefFunctionRelated A category that considers devices, sensors and their specification in terms of functions, states and services
type SarefGas ¶
type SarefGas interface { SarefCommodity IsSarefGas() bool // indicates base class }
SarefGas A type of commodity
type SarefGenerator ¶
type SarefGenerator interface { SarefEnergyRelated IsSarefGenerator() bool // indicates base class }
SarefGenerator A type of energy-related device that generates energy
type SarefGetCommand ¶
type SarefGetCommand interface { SarefCommand IsSarefGetCommand() bool // indicates base class }
SarefGetCommand A type of command
type SarefGetCurrentMeterValueCommand ¶
type SarefGetCurrentMeterValueCommand interface { SarefGetCommand IsSarefGetCurrentMeterValueCommand() bool // indicates base class }
SarefGetCurrentMeterValueCommand A type of get command
type SarefGetMeterDataCommand ¶
type SarefGetMeterDataCommand interface { SarefGetCommand IsSarefGetMeterDataCommand() bool // indicates base class }
SarefGetMeterDataCommand A type of get command
type SarefGetMeterHistoryCommand ¶
type SarefGetMeterHistoryCommand interface { SarefGetCommand IsSarefGetMeterHistoryCommand() bool // indicates base class }
SarefGetMeterHistoryCommand A type of get command
type SarefGetSensingDataCommand ¶
type SarefGetSensingDataCommand interface { SarefGetCommand IsSarefGetSensingDataCommand() bool // indicates base class }
SarefGetSensingDataCommand A type of get command
type SarefHVAC ¶
type SarefHVAC interface { SarefFunctionRelated IsSarefHVAC() bool // indicates base class }
SarefHVAC Heating, Ventilation and Air Conditioning (HVAC) device that provides indoor environmental comfort
type SarefHumidity ¶
type SarefHumidity interface { SarefProperty IsSarefHumidity() bool // indicates base class }
SarefHumidity A saref:Property related to some measurements that are characterized by a certain value that is measured in a humidity unit
type SarefIlluminanceUnit ¶
type SarefIlluminanceUnit interface { SarefUnitOfMeasure IsSarefIlluminanceUnit() bool // indicates base class }
SarefIlluminanceUnit The unit of measure for light
type SarefLevelControlFunction ¶
type SarefLevelControlFunction interface { SarefActuatingFunction IsSarefLevelControlFunction() bool // indicates base class }
SarefLevelControlFunction An actuating function that allows to do level adjustments of an actuator in a certain range (e.g., 0%-100%), such as dimming a light or set the speed of an electric motor.
type SarefLight ¶
type SarefLight interface { SarefProperty IsSarefLight() bool // indicates base class }
SarefLight A saref:Property related to some measurements that are characterized by a certain value that is measured in a illuminance unit (lux)
type SarefLightSwitch ¶
type SarefLightSwitch interface { SarefSwitch IsSarefLightSwitch() bool // indicates base class }
SarefLightSwitch A device of category saref:Actuator that consists of a switch, accomplishes the task saref:Lighting, performs the saref:OnOffFunction, measures the property saref:Light, and can be found in the state saref:OnOffState. It can offer a switch on service.
type SarefLightingDevice ¶
type SarefLightingDevice interface { SarefFunctionRelated IsSarefLightingDevice() bool // indicates base class }
SarefLightingDevice A device used for illumination, irradiation, signaling, or projection
type SarefLoad ¶
type SarefLoad interface { SarefEnergyRelated IsSarefLoad() bool // indicates base class }
SarefLoad A type of energy-related device that consumes energy
type SarefMeasurement ¶
type SarefMeasurement interface { owl.Thing IsSarefMeasurement() bool // indicates base class // contains filtered or unexported methods }
SarefMeasurement Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement.
type SarefMeter ¶
type SarefMeter interface { SarefFunctionRelated IsSarefMeter() bool // indicates base class }
SarefMeter A device built to accurately detect and display a quantity in a form readable by a human being. Further, a device of category saref:Meter that performs a saref:MeteringFunction.
type SarefMeteringFunction ¶
type SarefMeteringFunction interface { SarefFunction IsSarefMeteringFunction() bool // indicates base class // contains filtered or unexported methods }
SarefMeteringFunction A function that allows to get data from a meter, such as current meter reading or instantaneous demand
type SarefMicroRenewable ¶
type SarefMicroRenewable interface { SarefFunctionRelated IsSarefMicroRenewable() bool // indicates base class }
SarefMicroRenewable A device that generates renewable energy from natural resources such as teh sun, wind and water
type SarefMotion ¶
type SarefMotion interface { SarefProperty IsSarefMotion() bool // indicates base class }
SarefMotion A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for motion
type SarefMultiLevelState ¶
type SarefMultiLevelState interface { SarefState IsSarefMultiLevelState() bool // indicates base class }
SarefMultiLevelState A type of state
type SarefMultimedia ¶
type SarefMultimedia interface { SarefFunctionRelated IsSarefMultimedia() bool // indicates base class }
SarefMultimedia A device designed to display, store, record or play multimedia content such as audio, images, animation, video
type SarefNetwork ¶
type SarefNetwork interface { SarefFunctionRelated IsSarefNetwork() bool // indicates base class }
SarefNetwork A device used to connect other devices in a network, such as hub, switch or router in a Local Area Network (LAN).
type SarefNotifyCommand ¶
type SarefNotifyCommand interface { SarefCommand IsSarefNotifyCommand() bool // indicates base class }
SarefNotifyCommand A type of command
type SarefOccupancy ¶
type SarefOccupancy interface { SarefProperty IsSarefOccupancy() bool // indicates base class }
SarefOccupancy A saref:Property related to some measurements that are characterized by a certain value (saref:hasValue property) that is measured in a unit of measure for occupancy
type SarefOffCommand ¶
type SarefOffCommand interface { SarefCommand IsSarefOffCommand() bool // indicates base class }
SarefOffCommand A type of command
type SarefOffState ¶
type SarefOffState interface { SarefOnOffState IsSarefOffState() bool // indicates base class }
SarefOffState The state of a device that is ON
type SarefOnCommand ¶
type SarefOnCommand interface { SarefCommand IsSarefOnCommand() bool // indicates base class }
SarefOnCommand A type of command
type SarefOnOffFunction ¶
type SarefOnOffFunction interface { SarefActuatingFunction IsSarefOnOffFunction() bool // indicates base class }
SarefOnOffFunction An actuating function that allows to switch on and off an actuator
type SarefOnOffState ¶
type SarefOnOffState interface { SarefState IsSarefOnOffState() bool // indicates base class }
SarefOnOffState A type of state
type SarefOnState ¶
type SarefOnState interface { SarefOnOffState IsSarefOnState() bool // indicates base class }
SarefOnState The state of a device that is OFF
type SarefOpenCloseFunction ¶
type SarefOpenCloseFunction interface { SarefActuatingFunction IsSarefOpenCloseFunction() bool // indicates base class }
SarefOpenCloseFunction An actuating function that allows to open and close a device
type SarefOpenCloseState ¶
type SarefOpenCloseState interface { SarefState IsSarefOpenCloseState() bool // indicates base class }
SarefOpenCloseState A type of state
type SarefOpenCommand ¶
type SarefOpenCommand interface { SarefCommand IsSarefOpenCommand() bool // indicates base class }
SarefOpenCommand A type of command
type SarefOpenState ¶
type SarefOpenState interface { SarefOpenCloseState IsSarefOpenState() bool // indicates base class }
SarefOpenState The state of a device that is OPEN
type SarefPauseCommand ¶
type SarefPauseCommand interface { SarefCommand IsSarefPauseCommand() bool // indicates base class }
SarefPauseCommand A type of command
type SarefPower ¶
type SarefPower interface { SarefProperty IsSarefPower() bool // indicates base class }
SarefPower A saref:Property related to some measurements that are characterized by a certain value that is measured in a power unit (such as watt or kilowatt). Further specializations of the saref:Power class can be found in the SAREF4ENER extension, where classes such as PowerMax, PowerMin and PowerExpected are defined.
type SarefPowerUnit ¶
type SarefPowerUnit interface { SarefUnitOfMeasure IsSarefPowerUnit() bool // indicates base class }
SarefPowerUnit The unit of measure for power
type SarefPressure ¶
type SarefPressure interface { SarefProperty IsSarefPressure() bool // indicates base class }
SarefPressure A saref:Property related to some measurements that are characterized by a certain value that is measured in a pressure unit (bar or pascal)
type SarefPressureUnit ¶
type SarefPressureUnit interface { SarefUnitOfMeasure IsSarefPressureUnit() bool // indicates base class }
SarefPressureUnit The unit of measure for pressure
type SarefPrice ¶
type SarefPrice interface { SarefProperty IsSarefPrice() bool // indicates base class }
SarefPrice A saref:Property crelated to some measurements that are characterized by a certain value that is measured using saref:Currency
type SarefProfile ¶
type SarefProfile interface { owl.Thing IsSarefProfile() bool // indicates base class // contains filtered or unexported methods }
SarefProfile A specification associated to a device to collect information about a certain Property (e.g., Energy) or Commodity (e.g.Water) for optimizing its usage in the home, office or building in which the device is located. This specification is about a certain Property or Commodity (saref:isAbout), can be calculated over a time span (saref:hasTime ) and can be associated to some costs (saref:hasPrice). An example is the Power Profile defined in the SAREF4ENER extension that can be associated to a device for optimizing the Energy efficiency in the home, office or building in which the device is located.
type SarefProperty ¶
type SarefProperty interface { owl.Thing IsSarefProperty() bool // indicates base class // contains filtered or unexported methods }
SarefProperty Anything that can be sensed, measured or controlled in households, common public buildings or offices. We propose here a list of properties that are relevant for the purpose of SAREF, but this list can be extended.
type SarefSensingFunction ¶
type SarefSensingFunction interface { SarefFunction IsSarefSensingFunction() bool // indicates base class // contains filtered or unexported methods }
SarefSensingFunction A function that allows to transmit data from sensors, such as measurement values (e.g., temperature) or sensing data (e.g., occupancy)
type SarefSensor ¶
type SarefSensor interface { SarefFunctionRelated IsSarefSensor() bool // indicates base class }
SarefSensor A device that detects and responds to events or changes in the physical environment such as light, motion, or temperature changes. Further, a device of category saref:Sensor that performs a saref:SensingFunction.
type SarefService ¶
type SarefService interface { owl.Thing IsSarefService() bool // indicates base class // contains filtered or unexported methods }
SarefService A service is a representation of a function to a network that makes the function discoverable, registerable, remotely controllable by other devices in the network. A service can represent one or more functions. A Service is offered by a device that wants (a certain set of) its function(s) to be discoverable, registerable, remotely controllable by other devices in the network. A Service must specify the device that is offering the service and the function(s) to be represented.
type SarefSetAbsoluteLevelCommand ¶
type SarefSetAbsoluteLevelCommand interface { SarefSetLevelCommand IsSarefSetAbsoluteLevelCommand() bool // indicates base class }
SarefSetAbsoluteLevelCommand A type of set level command
type SarefSetLevelCommand ¶
type SarefSetLevelCommand interface { SarefCommand IsSarefSetLevelCommand() bool // indicates base class }
SarefSetLevelCommand A type of command
type SarefSetRelativeLevelCommand ¶
type SarefSetRelativeLevelCommand interface { SarefSetLevelCommand IsSarefSetRelativeLevelCommand() bool // indicates base class }
SarefSetRelativeLevelCommand A type of set level command
type SarefSmoke ¶
type SarefSmoke interface { SarefProperty IsSarefSmoke() bool // indicates base class }
SarefSmoke A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for smoke
type SarefSmokeSensor ¶
type SarefSmokeSensor interface { SarefSensor IsSarefSmokeSensor() bool // indicates base class }
SarefSmokeSensor A device that consists of a sensor, has category saref:Sensor, performs the saref:SensingFunction and saref:EventFunction (which notifies that a certain threshold has been exceeded), and is used for the purpose of sensing a property of type saref:Smoke.
type SarefStartCommand ¶
type SarefStartCommand interface { SarefCommand IsSarefStartCommand() bool // indicates base class }
SarefStartCommand A type of command
type SarefStartState ¶
type SarefStartState interface { SarefStartStopState IsSarefStartState() bool // indicates base class }
SarefStartState The state of a device that is STARTED
type SarefStartStopFunction ¶
type SarefStartStopFunction interface { SarefActuatingFunction IsSarefStartStopFunction() bool // indicates base class }
SarefStartStopFunction An actuating function that allows to start and stop a device
type SarefStartStopState ¶
type SarefStartStopState interface { SarefState IsSarefStartStopState() bool // indicates base class }
SarefStartStopState A type of state
type SarefState ¶
SarefState The state in which a device can be found, e.g, ON/OFF/STANDBY, or ONLINE/OFFLINE. We propose here a list of states that are relevant for the purpose of SAREF, but this list can be extended.
type SarefStepDownCommand ¶
type SarefStepDownCommand interface { SarefCommand IsSarefStepDownCommand() bool // indicates base class }
SarefStepDownCommand A type of command
type SarefStepUpCommand ¶
type SarefStepUpCommand interface { SarefCommand IsSarefStepUpCommand() bool // indicates base class }
SarefStepUpCommand A type of command
type SarefStopCommand ¶
type SarefStopCommand interface { SarefCommand IsSarefStopCommand() bool // indicates base class }
SarefStopCommand A type of command
type SarefStopState ¶
type SarefStopState interface { SarefStartStopState IsSarefStopState() bool // indicates base class }
SarefStopState The state of a device that is STOPPED
type SarefStorage ¶
type SarefStorage interface { SarefEnergyRelated IsSarefStorage() bool // indicates base class }
SarefStorage A type of energy-related device that stores energy
type SarefSwitch ¶
type SarefSwitch interface { SarefActuator IsSarefSwitch() bool // indicates base class }
SarefSwitch A device of category saref:Actuator that performs an actuating function of type saref:OnOffFunction or saref:OpenCloseFunction
type SarefSwitchOnService ¶
type SarefSwitchOnService interface { SarefService IsSarefSwitchOnService() bool // indicates base class }
SarefSwitchOnService A type of service that represents an on/off function to the network
type SarefTask ¶
type SarefTask interface { owl.Thing IsSarefTask() bool // indicates base class // contains filtered or unexported methods }
SarefTask The goal for which a device is designed (from a user perspective). For example, a washing machine is designed for the task of washing. We propose here a list of tasks that are relevant for the purpose of SAREF, but this list can be extended.
type SarefTemperature ¶
type SarefTemperature interface { SarefProperty IsSarefTemperature() bool // indicates base class }
SarefTemperature A saref:Property related to some measurements that are characterized by a certain value that is measured in a temperature unit (degree_Celsius, degree_Fahrenheit, or degree_kelvin)
type SarefTemperatureSensor ¶
type SarefTemperatureSensor interface { SarefSensor IsSarefTemperatureSensor() bool // indicates base class }
SarefTemperatureSensor A device that consists of a sensor, has category saref:Sensor, performs the saref:SensingFunction and is used for the purpose of sensing a property of type saref:Temperature
type SarefTemperatureUnit ¶
type SarefTemperatureUnit interface { SarefUnitOfMeasure IsSarefTemperatureUnit() bool // indicates base class }
SarefTemperatureUnit The unit of measure for temperature
type SarefTime ¶
type SarefTime interface { SarefProperty IsSarefTime() bool // indicates base class // contains filtered or unexported methods }
SarefTime A saref:Property that allows to specify the time concept in terms of instants or intervals according to the imported W3C Time ontology.
type SarefToggleCommand ¶
type SarefToggleCommand interface { SarefCommand IsSarefToggleCommand() bool // indicates base class }
SarefToggleCommand A type of command
type SarefUnitOfMeasure ¶
SarefUnitOfMeasure The unit of measure is a standard for measurement of a quantity, such as a Property. For example, Power is a property and Watt is a unit of power that represents a definite predetermined power: when we say 10 Watt, we actually mean 10 times the definite predetermined power called \"watt\". Our definition is based on the definition of unit of measure in the Ontology of units of Measure (OM). We propose here a list of some units of measure that are relevant for the purpose of SAREF, but this list can be extended, also using some other ontologies rather than the Ontology of units of Measure (OM).
type SarefWashingMachine ¶
type SarefWashingMachine interface { owl.Thing IsSarefWashingMachine() bool // indicates base class IsSarefAppliance() bool // indicates base class IsSarefLoad() bool // indicates base class IsSarefFunctionRelated() bool // indicates base class IsSarefDevice() bool // indicates base class IsSarefEnergyRelated() bool // indicates base class // contains filtered or unexported methods }
SarefWashingMachine A device of category saref:Appliance and saref:Load that accomplishes the task saref:Washing, performs an actuating function of type saref:StartStopFunction, can be found in the state saref:StartStopState, and can have a saref:Profile that characterizes its energy consumption.
type SarefWater ¶
type SarefWater interface { SarefCommodity IsSarefWater() bool // indicates base class }
SarefWater A type of commodity
type TimeDateTimeDescription ¶
type TimeDateTimeDescription interface { TimeGeneralDateTimeDescription IsTimeDateTimeDescription() bool // indicates base class }
TimeDateTimeDescription Description of date and time structured with separate values for the various elements of a calendar-clock system. The temporal reference system is fixed to Gregorian Calendar, and the range of year, month, day properties restricted to corresponding XML Schema types xsd:gYear, xsd:gMonth and xsd:gDay, respectively.
type TimeDateTimeInterval ¶
type TimeDateTimeInterval interface { TimeProperInterval IsTimeDateTimeInterval() bool // indicates base class // contains filtered or unexported methods }
TimeDateTimeInterval DateTimeInterval is a subclass of ProperInterval, defined using the multi-element DateTimeDescription.
type TimeDayOfWeek ¶
TimeDayOfWeek The day of week
type TimeDuration ¶
type TimeDuration interface { TimeTemporalDuration IsTimeDuration() bool // indicates base class // contains filtered or unexported methods }
TimeDuration Duration of a temporal extent expressed as a number scaled by a temporal unit
type TimeDurationDescription ¶
type TimeDurationDescription interface { TimeGeneralDurationDescription IsTimeDurationDescription() bool // indicates base class }
TimeDurationDescription Description of temporal extent structured with separate values for the various elements of a calendar-clock system. The temporal reference system is fixed to Gregorian Calendar, and the range of each of the numeric properties is restricted to xsd:decimal
type TimeGeneralDateTimeDescription ¶
type TimeGeneralDateTimeDescription interface { TimeTemporalPosition IsTimeGeneralDateTimeDescription() bool // indicates base class // contains filtered or unexported methods }
TimeGeneralDateTimeDescription Description of date and time structured with separate values for the various elements of a calendar-clock system
type TimeGeneralDurationDescription ¶
type TimeGeneralDurationDescription interface { TimeTemporalDuration IsTimeGeneralDurationDescription() bool // indicates base class // contains filtered or unexported methods }
TimeGeneralDurationDescription Description of temporal extent structured with separate values for the various elements of a calendar-clock system.
type TimeInstant ¶
type TimeInstant interface { TimeTemporalEntity IsTimeInstant() bool // indicates base class // contains filtered or unexported methods }
TimeInstant A temporal entity with zero extent or duration
type TimeInterval ¶
type TimeInterval interface { TimeTemporalEntity IsTimeInterval() bool // indicates base class // contains filtered or unexported methods }
TimeInterval A temporal entity with an extent or duration
type TimeMonthOfYear ¶
type TimeMonthOfYear interface { TimeDateTimeDescription IsTimeMonthOfYear() bool // indicates base class }
TimeMonthOfYear The month of the year
type TimePosition ¶
type TimePosition interface { TimeTemporalPosition IsTimePosition() bool // indicates base class // contains filtered or unexported methods }
TimePosition A temporal position described using either a (nominal) value from an ordinal reference system, or a (numeric) value in a temporal coordinate system.
type TimeProperInterval ¶
type TimeProperInterval interface { TimeInterval IsTimeProperInterval() bool // indicates base class // contains filtered or unexported methods }
TimeProperInterval A temporal entity with non-zero extent or duration, i.e. for which the value of the beginning and end are different
type TimeTRS ¶
TimeTRS A temporal reference system, such as a temporal coordinate system (with an origin, direction, and scale), a calendar-clock combination, or a (possibly hierarchical) ordinal system. This is a stub class, representing the set of all temporal reference systems.
type TimeTemporalDuration ¶
type TimeTemporalDuration interface { owl.Thing IsTimeTemporalDuration() bool // indicates base class }
TimeTemporalDuration Time extent; duration of a time interval separate from its particular start position
type TimeTemporalEntity ¶
type TimeTemporalEntity interface { owl.Thing IsTimeTemporalEntity() bool // indicates base class // contains filtered or unexported methods }
TimeTemporalEntity A temporal interval or instant.
type TimeTemporalPosition ¶
type TimeTemporalPosition interface { owl.Thing IsTimeTemporalPosition() bool // indicates base class // contains filtered or unexported methods }
TimeTemporalPosition A position on a time-line
type TimeTemporalUnit ¶
type TimeTemporalUnit interface { owl.Thing IsTimeTemporalUnit() bool // indicates base class IsSarefUnitOfMeasure() bool // indicates base class IsTimeTemporalDuration() bool // indicates base class }
TimeTemporalUnit The unit of measure for time
type TimeZone ¶
TimeZone A Time Zone specifies the amount by which the local time is offset from UTC. A time zone is usually denoted geographically (e.g. Australian Eastern Daylight Time), with a constant value in a given region. The region where it applies and the offset from UTC are specified by a locally recognised governing authority.
Source Files ¶
- SarefActuatingFunction.go
- SarefActuator.go
- SarefAppliance.go
- SarefBuildingRelated.go
- SarefCloseCommand.go
- SarefCloseState.go
- SarefCoal.go
- SarefCommand.go
- SarefCommodity.go
- SarefCurrency.go
- SarefDevice.go
- SarefDoorSwitch.go
- SarefElectricity.go
- SarefEnergy.go
- SarefEnergyMeter.go
- SarefEnergyRelated.go
- SarefEnergyUnit.go
- SarefEventFunction.go
- SarefFunction.go
- SarefFunctionRelated.go
- SarefGas.go
- SarefGenerator.go
- SarefGetCommand.go
- SarefGetCurrentMeterValueCommand.go
- SarefGetMeterDataCommand.go
- SarefGetMeterHistoryCommand.go
- SarefGetSensingDataCommand.go
- SarefHVAC.go
- SarefHumidity.go
- SarefIlluminanceUnit.go
- SarefLevelControlFunction.go
- SarefLight.go
- SarefLightSwitch.go
- SarefLightingDevice.go
- SarefLoad.go
- SarefMeasurement.go
- SarefMeter.go
- SarefMeteringFunction.go
- SarefMicroRenewable.go
- SarefMotion.go
- SarefMultiLevelState.go
- SarefMultimedia.go
- SarefNetwork.go
- SarefNotifyCommand.go
- SarefOccupancy.go
- SarefOffCommand.go
- SarefOffState.go
- SarefOnCommand.go
- SarefOnOffFunction.go
- SarefOnOffState.go
- SarefOnState.go
- SarefOpenCloseFunction.go
- SarefOpenCloseState.go
- SarefOpenCommand.go
- SarefOpenState.go
- SarefPauseCommand.go
- SarefPower.go
- SarefPowerUnit.go
- SarefPressure.go
- SarefPressureUnit.go
- SarefPrice.go
- SarefProfile.go
- SarefProperty.go
- SarefSensingFunction.go
- SarefSensor.go
- SarefService.go
- SarefSetAbsoluteLevelCommand.go
- SarefSetLevelCommand.go
- SarefSetRelativeLevelCommand.go
- SarefSmoke.go
- SarefSmokeSensor.go
- SarefStartCommand.go
- SarefStartState.go
- SarefStartStopFunction.go
- SarefStartStopState.go
- SarefState.go
- SarefStepDownCommand.go
- SarefStepUpCommand.go
- SarefStopCommand.go
- SarefStopState.go
- SarefStorage.go
- SarefSwitch.go
- SarefSwitchOnService.go
- SarefTask.go
- SarefTemperature.go
- SarefTemperatureSensor.go
- SarefTemperatureUnit.go
- SarefTime.go
- SarefToggleCommand.go
- SarefUnitOfMeasure.go
- SarefWashingMachine.go
- SarefWater.go
- TimeDateTimeDescription.go
- TimeDateTimeInterval.go
- TimeDayOfWeek.go
- TimeDuration.go
- TimeDurationDescription.go
- TimeGeneralDateTimeDescription.go
- TimeGeneralDurationDescription.go
- TimeInstant.go
- TimeInterval.go
- TimeMonthOfYear.go
- TimePosition.go
- TimeProperInterval.go
- TimeTRS.go
- TimeTemporalDuration.go
- TimeTemporalEntity.go
- TimeTemporalPosition.go
- TimeTemporalUnit.go
- TimeZone.go
- individuals.go
- model.go
- propinterface.go
- propmanipulator.go
- propserializer.go
- propstruct.go