Class BasicRefactoringTool.AttributeNameRenamer

    • Field Detail

      • newAttributeName

        protected final java.lang.String newAttributeName
        The new name of the attribute.
      • oldAttributeName

        protected final java.lang.String oldAttributeName
        The current name of the attribute to rename.
      • typeName

        protected final java.lang.String typeName
        The fully qualified name of the type that got one of its attributes renamed.
    • Constructor Detail

      • AttributeNameRenamer

        public AttributeNameRenamer​(JPQLQueryContext queryContext,
                                    java.lang.String typeName,
                                    java.lang.String oldAttributeName,
                                    java.lang.String newAttributeName)
        Creates a new AttributeNameRenamer.
        Parameters:
        queryContext - The context used to query information about the JPQL query
        typeName - The fully qualified name of the type that got one of its attributes renamed
        oldAttributeName - The current name of the attribute to rename
        newAttributeName - The new name of the attribute