Class Global

    • Constructor Detail

      • Global

        public Global()
        Instantiates a new global.
    • Method Detail

      • getName

        public String getName()
        Gets the name.
        Returns:
        the name
      • getRef

        public String getRef()
        Gets the reference.
        Returns:
        the reference
      • getType

        public String getType()
        Gets the type.
        Returns:
        the type
      • getValue

        public String getValue()
        Gets the value.
        Returns:
        the value
      • setName

        public void setName​(String name)
        Sets the name.
        Parameters:
        name - the new name
      • setRef

        public void setRef​(String ref)
        Sets the reference.
        Parameters:
        ref - the new reference
      • setType

        public void setType​(String type)
        Sets the type.
        Parameters:
        type - the new type
      • setValue

        public void setValue​(String value)
        Sets the value.
        Parameters:
        value - the new value
      • convertStringTo

        public <T> T convertStringTo​(String value,
                                     Class<T> typeClass)
        Convert string to.
        Type Parameters:
        T - the generic type
        Parameters:
        value - the value
        typeClass - the type class
        Returns:
        the t
      • getTypeClass

        public Class<?> getTypeClass()
        Gets the type class.
        Returns:
        the type class
      • getValueAsType

        public Object getValueAsType​(Class<?> typeClass)
        Gets the value as type.
        Parameters:
        typeClass - the type class
        Returns:
        the value as type
      • constructValue

        public Object constructValue​(org.springframework.context.ApplicationContext context)
        Construct value.
        Parameters:
        context - the context
        Returns:
        the object