Class NFPropertyMetaInfo

    • Field Detail

      • name

        protected java.lang.String name
        Name of the property.
      • type

        protected ClassInfo type
        Type of the property.
      • unit

        protected ClassInfo unit
        Unit of the property value.
      • dynamic

        protected boolean dynamic
        Flag indicating if the property is dynamic.
      • updaterate

        protected long updaterate
        The update rate.
      • realtime

        protected boolean realtime
        Flag indicating if the update rate is real time.
    • Constructor Detail

      • NFPropertyMetaInfo

        public NFPropertyMetaInfo()
        Creates an empty meta info.
      • NFPropertyMetaInfo

        public NFPropertyMetaInfo​(java.lang.String name,
                                  ClassInfo type)
        Creates a meta info.
        Parameters:
        name - Name of the property.
      • NFPropertyMetaInfo

        public NFPropertyMetaInfo​(java.lang.String name,
                                  java.lang.Class<?> type,
                                  java.lang.Class<?> unit,
                                  boolean dynamic)
        Creates a meta info.
        Parameters:
        name - Name of the property.
      • NFPropertyMetaInfo

        public NFPropertyMetaInfo​(java.lang.String name,
                                  ClassInfo type,
                                  ClassInfo unit,
                                  boolean dynamic)
        Creates a meta info.
        Parameters:
        name - Name of the property.
      • NFPropertyMetaInfo

        public NFPropertyMetaInfo​(java.lang.String name,
                                  java.lang.Class<?> type,
                                  java.lang.Class<?> unit,
                                  boolean dynamic,
                                  long updaterate,
                                  boolean realtime,
                                  INFProperty.Target target)
        Creates a meta info.
        Parameters:
        name - Name of the property.
      • NFPropertyMetaInfo

        public NFPropertyMetaInfo​(java.lang.String name,
                                  ClassInfo type,
                                  ClassInfo unit,
                                  boolean dynamic,
                                  long updaterate,
                                  boolean realtime,
                                  INFProperty.Target target)
        Creates a meta info.
        Parameters:
        name - Name of the property.
        type - Type of the property.
        unit - Unit of the property.
        dynamic - Flag if the property is dynamic.
        updaterate - Update rate of the property.
        target - Target of the property.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name of the property.
        Specified by:
        getName in interface INFPropertyMetaInfo
        Returns:
        The name of the property.
      • isDynamic

        public boolean isDynamic()
        Checks if the property is dynamic.
        Specified by:
        isDynamic in interface INFPropertyMetaInfo
        Returns:
        The dynamic.
      • getUpdateRate

        public long getUpdateRate()
        Gets the update rate of the property, if it exists, for dynamic properties.
        Specified by:
        getUpdateRate in interface INFPropertyMetaInfo
        Returns:
        The update rate.
      • isRealtime

        public boolean isRealtime()
        Checks if the property is real time.
        Specified by:
        isRealtime in interface INFPropertyMetaInfo
        Returns:
        The real time flag.
      • setName

        public void setName​(java.lang.String name)
        Sets the name of the property.
        Parameters:
        name - The name of the property.
      • setType

        public void setType​(ClassInfo type)
        Sets the type of the property.
        Parameters:
        type - The type.
      • setUnit

        public void setUnit​(ClassInfo unit)
        Sets the unit of the property.
        Parameters:
        unit - The unit of the property.
      • setDynamic

        public void setDynamic​(boolean dynamic)
        Sets the dynamic flag of the property.
        Parameters:
        dynamic - The dynamic flag value.
      • setUpdateRate

        public void setUpdateRate​(long updaterate)
        Sets the update rate of the property for dynamic properties.
        Parameters:
        updaterate - The update rate.
      • setRealtime

        public void setRealtime​(boolean realtime)
        Sets the real time flag of the property.
        Parameters:
        realtime - The real time flag value.
      • setTarget

        public void setTarget​(INFProperty.Target target)
        Set the target.
        Parameters:
        target - The target to set.