public class MetamodelGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Function<Class<?>,EntityOps> |
entityOpsGenerator |
| Constructor and Description |
|---|
MetamodelGenerator(java.util.function.Function<Class<?>,EntityOps> entityOpsGenerator) |
| Modifier and Type | Method and Description |
|---|---|
<X> javax.persistence.metamodel.EntityType<X> |
apply(Class<X> cls) |
<X> javax.persistence.metamodel.Attribute<X,?> |
createAttribute(Class<X> cls,
PropertyOps pop) |
protected java.util.function.Function<Class<?>,EntityOps> entityOpsGenerator
public MetamodelGenerator(java.util.function.Function<Class<?>,EntityOps> entityOpsGenerator)
public <X> javax.persistence.metamodel.EntityType<X> apply(Class<X> cls)
public <X> javax.persistence.metamodel.Attribute<X,?> createAttribute(Class<X> cls, PropertyOps pop)
Copyright © 2017. All rights reserved.