public class TypeMetadata extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeMetadata.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
TypeMetadata(TypeMetadata.Builder builder) |
protected TypeMetadata(TypeMetadata.Builder builder)
public Class<?> getType()
public Set<PropertyMetadata> getAllPropertyMetadata()
public PropertyMetadata getPropertyMetadataForProperty(String propertyName)
public PropertyMetadata getIdPropertyMetadata()
public Set<DocumentFieldMetadata> getClassBridgeMetadata()
public Set<SortableFieldMetadata> getClassBridgeSortableFieldMetadata()
public Set<BridgeDefinedField> getClassBridgeDefinedFields()
public DocumentFieldMetadata getDocumentFieldMetadataFor(String fieldName)
public Collection<DocumentFieldMetadata> getAllDocumentFieldMetadata()
DocumentFieldMetadata.
Instances are not duplicated in the collection. We use Collection instead of Set for
implementation reasons.DocumentFieldMetadatapublic List<EmbeddedTypeMetadata> getEmbeddedTypeMetadata()
public Set<ContainedInMetadata> getContainedInMetadata()
public Collection<org.hibernate.annotations.common.reflection.XClass> getOptimizationBlackList()
public boolean containsCollectionRole(String role)
public boolean areClassBridgesUsed()
public DocumentFieldMetadata getFieldMetadataForClassBridgeField(String fieldName)
public Discriminator getDiscriminator()
public org.hibernate.annotations.common.reflection.XMember getDiscriminatorGetter()
public boolean areStateInspectionOptimizationsEnabled()
public void disableStateInspectionOptimizations()
public LuceneOptions getClassLuceneOptions(DocumentFieldMetadata fieldMetadata, float documentLevelBoost)
public LuceneOptions getFieldLuceneOptions(PropertyMetadata propertyMetadata, DocumentFieldMetadata fieldMetadata, Object value, float inheritedBoost)
public BoostStrategy getDynamicBoost()
public float getStaticBoost()
public float getClassBoost(Object value)
public ScopedAnalyzerReference getDefaultAnalyzerReference()
public boolean isJpaIdUsedAsDocumentId()
Copyright © 2006–2016 Hibernate. All rights reserved.