Class NFPropertyMetaInfo

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean dynamic
      Flag indicating if the property is dynamic.
      protected java.lang.String name
      Name of the property.
      protected boolean realtime
      Flag indicating if the update rate is real time.
      protected INFProperty.Target target
      The target.
      protected jadex.bridge.ClassInfo type
      Type of the property.
      protected jadex.bridge.ClassInfo unit
      Unit of the property value.
      protected long updaterate
      The update rate.
    • Constructor Summary

      Constructors 
      Constructor Description
      NFPropertyMetaInfo()
      Creates an empty meta info.
      NFPropertyMetaInfo​(java.lang.String name, jadex.bridge.ClassInfo type)
      Creates a meta info.
      NFPropertyMetaInfo​(java.lang.String name, jadex.bridge.ClassInfo type, jadex.bridge.ClassInfo unit, boolean dynamic)
      Creates a meta info.
      NFPropertyMetaInfo​(java.lang.String name, jadex.bridge.ClassInfo type, jadex.bridge.ClassInfo unit, boolean dynamic, long updaterate, boolean realtime, INFProperty.Target target)
      Creates a meta info.
      NFPropertyMetaInfo​(java.lang.String name, java.lang.Class<?> type, java.lang.Class<?> unit, boolean dynamic)
      Creates a meta info.
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the name of the property.
      INFProperty.Target getTarget()
      Get the target.
      jadex.bridge.ClassInfo getType()
      Gets the type of the property.
      jadex.bridge.ClassInfo getUnit()
      Gets the unit of the property.
      long getUpdateRate()
      Gets the update rate of the property, if it exists, for dynamic properties.
      boolean isDynamic()
      Checks if the property is dynamic.
      boolean isRealtime()
      Checks if the property is real time.
      void setDynamic​(boolean dynamic)
      Sets the dynamic flag of the property.
      void setName​(java.lang.String name)
      Sets the name of the property.
      void setRealtime​(boolean realtime)
      Sets the real time flag of the property.
      void setTarget​(INFProperty.Target target)
      Set the target.
      void setType​(jadex.bridge.ClassInfo type)
      Sets the type of the property.
      void setUnit​(jadex.bridge.ClassInfo unit)
      Sets the unit of the property.
      void setUpdateRate​(long updaterate)
      Sets the update rate of the property for dynamic properties.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

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

        protected jadex.bridge.ClassInfo type
        Type of the property.
      • unit

        protected jadex.bridge.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,
                                  jadex.bridge.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,
                                  jadex.bridge.ClassInfo type,
                                  jadex.bridge.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,
                                  jadex.bridge.ClassInfo type,
                                  jadex.bridge.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.
      • getType

        public jadex.bridge.ClassInfo getType()
        Gets the type of the property.
        Specified by:
        getType in interface INFPropertyMetaInfo
        Returns:
        The type of the property.
      • getUnit

        public jadex.bridge.ClassInfo getUnit()
        Gets the unit of the property.
        Specified by:
        getUnit in interface INFPropertyMetaInfo
        Returns:
        The unit 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​(jadex.bridge.ClassInfo type)
        Sets the type of the property.
        Parameters:
        type - The type.
      • setUnit

        public void setUnit​(jadex.bridge.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.