java.lang.Object
io.inverno.core.compiler.spi.QualifiedName
io.inverno.core.compiler.spi.BeanQualifiedName
io.inverno.mod.configuration.compiler.spi.PropertyQualifiedName

public class PropertyQualifiedName extends io.inverno.core.compiler.spi.BeanQualifiedName
Author:
Jeremy Kuhn
  • Field Summary

    Fields inherited from class io.inverno.core.compiler.spi.QualifiedName

    SEPARATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    PropertyQualifiedName​(io.inverno.core.compiler.spi.BeanQualifiedName beanQName, String name)
    Creates a property qualified name with the specified bean qualified name and property name.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.inverno.core.compiler.spi.BeanQualifiedName
    Returns the name of the bean defining the property.
    Returns the name of the property.
    valueOf​(io.inverno.core.compiler.spi.ModuleQualifiedName moduleQName, String qname)
    Creates a property qualified name from the specified module qualified name and the specified raw value of the form <beanName>:<propertyName> where <beanName> and <propertyName> are valid Java name.
    valueOf​(String qname)
    Creates a property qualified name from the specified raw value of the form BeanQualifiedName():<propertyName> where <propertyName> is a valid Java name.

    Methods inherited from class io.inverno.core.compiler.spi.BeanQualifiedName

    getBeanName, getModuleQName, getSimpleValue

    Methods inherited from class io.inverno.core.compiler.spi.QualifiedName

    equals, getValue, hashCode, normalize, toString, validateQualifiedNamePart

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PropertyQualifiedName

      public PropertyQualifiedName(io.inverno.core.compiler.spi.BeanQualifiedName beanQName, String name) throws io.inverno.core.compiler.spi.QualifiedNameFormatException

      Creates a property qualified name with the specified bean qualified name and property name.

      Parameters:
      beanQName - a bean qualified name
      name - the property name
      Throws:
      io.inverno.core.compiler.spi.QualifiedNameFormatException - if the name is invalid
  • Method Details

    • getBeanQName

      public io.inverno.core.compiler.spi.BeanQualifiedName getBeanQName()

      Returns the name of the bean defining the property.

      Returns:
      a bean qualified name
    • getPropertyName

      public String getPropertyName()

      Returns the name of the property.

      Returns:
      the socket name
    • valueOf

      public static PropertyQualifiedName valueOf(String qname) throws io.inverno.core.compiler.spi.QualifiedNameFormatException

      Creates a property qualified name from the specified raw value of the form BeanQualifiedName():<propertyName> where <propertyName> is a valid Java name.

      Parameters:
      qname - a raw qualified name
      Returns:
      a property qualified name
      Throws:
      io.inverno.core.compiler.spi.QualifiedNameFormatException - if the specified value is not a property qualified name
    • valueOf

      public static PropertyQualifiedName valueOf(io.inverno.core.compiler.spi.ModuleQualifiedName moduleQName, String qname) throws io.inverno.core.compiler.spi.QualifiedNameFormatException

      Creates a property qualified name from the specified module qualified name and the specified raw value of the form <beanName>:<propertyName> where <beanName> and <propertyName> are valid Java name.

      Parameters:
      moduleQName - a module qualified name
      qname - a raw qualified name
      Returns:
      a property qualified name
      Throws:
      io.inverno.core.compiler.spi.QualifiedNameFormatException - if the specified value is not a property qualified name