Class EntityDomainTypeImpl
- java.lang.Object
-
- com.blazebit.domain.impl.runtime.model.AbstractMetadataHolder
-
- com.blazebit.domain.impl.runtime.model.AbstractDomainType
-
- com.blazebit.domain.impl.runtime.model.EntityDomainTypeImpl
-
- All Implemented Interfaces:
DomainTypeDefinition,EntityDomainTypeDefinition,MetadataDefinitionHolder,DomainTypeDefinitionImplementor,DomainTypeImplementor,DomainType,EntityDomainType,MetadataHolder,Serializable
public class EntityDomainTypeImpl extends AbstractDomainType implements EntityDomainType, EntityDomainTypeDefinition
- Since:
- 1.0.0
- Author:
- Christian Beikov
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.blazebit.domain.runtime.model.DomainType
DomainType.DomainTypeKind
-
-
Constructor Summary
Constructors Constructor Description EntityDomainTypeImpl(EntityDomainTypeDefinitionImpl typeDefinition, MetamodelBuildingContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityDomainTypeAttributeImplgetAttribute(String name)Map<String,EntityDomainTypeAttributeImpl>getAttributes()DomainType.DomainTypeKindgetKind()Map<Class<?>,Object>getMetadata()<T> TgetMetadata(Class<T> metadataType)Map<Class<?>,MetadataDefinition<?>>getMetadataDefinitions()-
Methods inherited from class com.blazebit.domain.impl.runtime.model.AbstractDomainType
bindTypes, getEnabledOperators, getEnabledPredicates, getJavaType, getName, getType, toString
-
Methods inherited from class com.blazebit.domain.impl.runtime.model.AbstractMetadataHolder
getMetadataDefinitions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.blazebit.domain.runtime.model.DomainType
getEnabledOperators, getEnabledPredicates, getJavaType, getName
-
Methods inherited from interface com.blazebit.domain.boot.model.DomainTypeDefinition
getJavaType, getName
-
-
-
-
Constructor Detail
-
EntityDomainTypeImpl
public EntityDomainTypeImpl(EntityDomainTypeDefinitionImpl typeDefinition, MetamodelBuildingContext context)
-
-
Method Detail
-
getKind
public DomainType.DomainTypeKind getKind()
- Specified by:
getKindin interfaceDomainType
-
getAttribute
public EntityDomainTypeAttributeImpl getAttribute(String name)
- Specified by:
getAttributein interfaceEntityDomainType- Specified by:
getAttributein interfaceEntityDomainTypeDefinition
-
getAttributes
public Map<String,EntityDomainTypeAttributeImpl> getAttributes()
- Specified by:
getAttributesin interfaceEntityDomainType- Specified by:
getAttributesin interfaceEntityDomainTypeDefinition
-
getMetadata
public <T> T getMetadata(Class<T> metadataType)
- Specified by:
getMetadatain interfaceMetadataHolder
-
getMetadata
public Map<Class<?>,Object> getMetadata()
- Specified by:
getMetadatain interfaceMetadataHolder
-
getMetadataDefinitions
public Map<Class<?>,MetadataDefinition<?>> getMetadataDefinitions()
- Specified by:
getMetadataDefinitionsin interfaceMetadataDefinitionHolder
-
-