Uses of Class
com.storedobject.iot.Unit
Packages that use Unit
-
Uses of Unit in com.storedobject.iot
Subclasses of Unit in com.storedobject.iotFields in com.storedobject.iot declared as UnitMethods in com.storedobject.iot that return UnitModifier and TypeMethodDescriptionstatic UnitRetrieves a Unit instance that matches the given name.AQI.getUnit()Command.getUnit()final UnitData.getUnit()Get the unit to which this data belong to.final UnitDataSet.DataStatus.getUnit()Retrieves the unit associated with the current data status.DataSet.UnitData.getUnit()Statistics.getUnit()Retrieves the unit associated with this instance based on theunitId.UnitItem.getUnit()protected UnitSuperUnit.getUnitForStatistics(String name) Methods in com.storedobject.iot that return types with arguments of type UnitModifier and TypeMethodDescriptionData.getUnitClass()Get the Unit's class for this data instance.Data.getUnitClass(Class<? extends Data> dataClass) Get the Unit's class for the given data class.UnitDefinition.getUnitClass()UnitType.getUnitClass()ValueDefinition.getUnitClass()static ObjectIterator<? extends Unit> Lists theUnitobjects based on the given name.SuperUnit.listAllChildren()SuperUnit.listImmediateChildren()Block.listUnits()Retrieves an iterator of units associated with the block.Methods in com.storedobject.iot with parameters of type UnitModifier and TypeMethodDescriptionValueDefinition.getCaption(Unit unit) intintValueDefinition.getTooltip(Unit unit) voidValueDefinition.savePosition(Transaction t, int imageX, int imageY, Unit unit) voidfinal voidSet the unit of this IoT object.voidAssigns the given Unit to this Statistics instance by extracting its identifier.voidMethod parameters in com.storedobject.iot with type arguments of type UnitModifier and TypeMethodDescriptionstatic <I extends Index>
Istatic UnitItemTypeUnitItemType.create(TransactionManager tm, Class<? extends Unit> uClass) static UnitTypeUnitType.create(TransactionManager tm, Class<? extends Unit> uClass) static UnitDefinitionstatic UnitItemTypestatic UnitTypeConstructors in com.storedobject.iot with parameters of type UnitModifierConstructorDescriptionprotectedDataStatus(Unit unit, ValueDefinition<V> valueDefinition) protected -
Uses of Unit in com.storedobject.ui.iot
Methods in com.storedobject.ui.iot that return UnitModifier and TypeMethodDescriptionGUI.getUnit()Retrieves the currently set unit.Data4Unit.unit()Returns the value of theunitrecord component.Methods in com.storedobject.ui.iot with parameters of type UnitModifier and TypeMethodDescriptionbooleanChecks if the specified unit is present in the collection of units.protected voidRenders or updates the visual representation of the given unit.static voidData4Unit.process(Unit unit, Collection<ValueDefinition> valueDefinitions, TimestampPeriod period, long timeSlice, Consumer<Data4Unit> processor) protected voidDownloadData.process(Unit unit, Collection<ValueDefinition> valueDefinitions) protected voidSelectData.process(Unit unit, Collection<ValueDefinition> valueDefinitions) protected abstract voidCommandSelector.processCommandFor(Unit unit, ValueDefinition<?> valueDefinition) protected voidSendCommand.processCommandFor(Unit unit, ValueDefinition<?> valueDefinition) protected voidViewCommandHistory.processCommandFor(Unit unit, ValueDefinition<?> valueDefinition) voidSets the current unit for the GUI instance.Constructors in com.storedobject.ui.iot with parameters of type UnitModifierConstructorDescriptionCommandSelector(Unit unit, ValueDefinition valueDefinition) Data4Unit(Class<? extends Data> dataClass, Unit unit, TimestampPeriod period, long timeSlice, Collection<String> attributes) Creates an instance of aData4Unitrecord class.SendCommand(Consumer<Command> sendAction, Unit unit, ValueDefinition valueDefinition)