Package in.erail.glue

Class DefaultValueProxy

    • Field Detail

      • logger

        protected org.apache.logging.log4j.Logger logger
    • Constructor Detail

      • DefaultValueProxy

        public DefaultValueProxy()
    • Method Detail

      • init

        public void init()
        Description copied from interface: ValueProxy
        Initialise value proxy instance
        Specified by:
        init in interface ValueProxy
      • process

        public void process()
        Description copied from interface: ValueProxy
        Process String based Property Value
        Specified by:
        process in interface ValueProxy
      • getValueAsString

        protected String getValueAsString()
      • getValue

        public Object getValue()
        Description copied from interface: ValueProxy
        Return resolved value
        Specified by:
        getValue in interface ValueProxy
        Returns:
        Resolve object
      • setValue

        protected void setValue​(Object pValue)
      • getTargetClass

        public Class getTargetClass()
        Description copied from interface: ValueProxy
        Resolved object expected class
        Specified by:
        getTargetClass in interface ValueProxy
        Returns:
        Resolved object expected class
      • setTargetClass

        public void setTargetClass​(Class pTargetClass)
        Description copied from interface: ValueProxy
        Expected target value class
        Specified by:
        setTargetClass in interface ValueProxy
        Parameters:
        pTargetClass - Target value class
      • setDeferredComponentPath

        protected void setDeferredComponentPath​(String pDeferredComponentPath)
      • getDeferredComponentProperty

        protected String getDeferredComponentProperty()
      • setDeferredComponentProperty

        protected void setDeferredComponentProperty​(String pDeferredComponentProperty)
      • getDeferredComponent

        protected Object getDeferredComponent()
      • setDeferredComponent

        public void setDeferredComponent​(Object pDeferredComponent)
        Description copied from interface: ValueProxy
        Deferred component instance
        Specified by:
        setDeferredComponent in interface ValueProxy
        Parameters:
        pDeferredComponent - component instance
      • getComponentPath

        protected String getComponentPath()
      • setComponentPath

        public void setComponentPath​(String pComponentPath)
        Description copied from interface: ValueProxy
        Path of component to which this property/value belongs
        Specified by:
        setComponentPath in interface ValueProxy
        Parameters:
        pComponentPath - Path
      • isDeferredValue

        public boolean isDeferredValue()
        Description copied from interface: ValueProxy
        Does value required deferred processing. Deferred processing happens in case of one component property pointing to another component or property.
        Specified by:
        isDeferredValue in interface ValueProxy
        Returns:
      • setDeferredValue

        protected void setDeferredValue​(boolean pDeferredValue)
      • isProcessed

        protected boolean isProcessed()
      • setProcessed

        protected void setProcessed​(boolean pProcessed)
      • isDeferredComponentProcessed

        public boolean isDeferredComponentProcessed()
        Description copied from interface: ValueProxy
        Check if deferred value is already calculated.
        Specified by:
        isDeferredComponentProcessed in interface ValueProxy
        Returns:
      • setDeferredComponentProcessed

        public void setDeferredComponentProcessed​(boolean pDeferredComponentProcessed)
        Description copied from interface: ValueProxy
        Mark deferred processing status
        Specified by:
        setDeferredComponentProcessed in interface ValueProxy
        Parameters:
        pDeferredComponentProcessed - True is processed or else false