类 ToolingHintContext
- java.lang.Object
-
- org.hibernate.boot.model.source.spi.ToolingHintContext
-
public class ToolingHintContext extends 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.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 ToolingHintContext(ToolingHintContext baseline)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidadd(ToolingHint toolingHint)Iterable<String>getKeys()Map<String,MetaAttribute>getMetaAttributeMap()Theorg.hibernate.mappingpackage accepts these as a Map, so for now expose the underlying Map.ToolingHintgetToolingHint(String key)Collection<ToolingHint>getToolingHints()
-
-
-
构造器详细资料
-
ToolingHintContext
public ToolingHintContext(ToolingHintContext baseline)
-
-
方法详细资料
-
getToolingHints
public Collection<ToolingHint> getToolingHints()
-
getToolingHint
public ToolingHint getToolingHint(String key)
-
add
public void add(ToolingHint toolingHint)
-
getMetaAttributeMap
public Map<String,MetaAttribute> getMetaAttributeMap()
Theorg.hibernate.mappingpackage accepts these as a Map, so for now expose the underlying Map. But we unfortunately need to collect a Map...- 返回:
- The underlying Map
-
-