Class RegexEntityReference

    • Constructor Detail

      • RegexEntityReference

        public RegexEntityReference​(Pattern pattern,
                                    EntityType type)
        Parameters:
        pattern - the pattern used to match the name
        type - the type of the reference
      • RegexEntityReference

        public RegexEntityReference​(Pattern pattern,
                                    EntityType type,
                                    EntityReference parent)
        Parameters:
        pattern - the pattern used to match the name
        type - the type of the reference
        parent - the parent of the reference
    • Method Detail

      • getPattern

        public Pattern getPattern()
        Returns:
        the pattern used to match the name
      • isNameEqual

        protected boolean isNameEqual​(String name)
        Overrides:
        isNameEqual in class PartialEntityReference
        Parameters:
        name - the name to compare to this name
        Returns:
        true of the passed name is equal to this name