Class ToolingHintContext


  • public class ToolingHintContext
    extends java.lang.Object
    Represents a collection of "tooling hints" (<meta/> mapping info) keyed by a name.

    NOTE : historically these were called "meta attributes", but as these are values used solely by external tooling it was decided to begin calling them tooling hints. For temporary backwards compatibility (temporary until we move away from o.h.mapping model) you will see mixed usage.

    • Method Detail

      • getToolingHints

        public java.util.Collection<ToolingHint> getToolingHints()
      • getKeys

        public java.lang.Iterable<java.lang.String> getKeys()
      • getToolingHint

        public ToolingHint getToolingHint​(java.lang.String key)
      • getMetaAttributeMap

        public java.util.Map<java.lang.String,​MetaAttribute> getMetaAttributeMap()
        The org.hibernate.mapping package accepts these as a Map, so for now expose the underlying Map. But we unfortunately need to collect a Map...
        Returns:
        The underlying Map