Package io.jmix.data.impl.jpql.model
Class JpqlEntityModelImpl
java.lang.Object
io.jmix.data.impl.jpql.model.JpqlEntityModelImpl
- All Implemented Interfaces:
JpqlEntityModel
- Direct Known Subclasses:
VirtualJpqlEntityModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeCopy
(Attribute attribute) void
addCollectionReferenceAttribute
(String referencedEntityName, String name) void
addCollectionReferenceAttribute
(String referencedEntityName, String name, String userFriendlyName) void
addReferenceAttribute
(String referencedEntityName, String name) void
addReferenceAttribute
(String referencedEntityName, String name, String userFriendlyName, boolean isEmbedded) void
addSingleValueAttribute
(Class aClass, String name) void
addSingleValueAttribute
(Class aClass, String name, String userFriendlyName) findAttributesStartsWith
(String fieldNamePattern, Set<InferredType> expectedTypes) getAttributeByName
(String attributeName) getName()
void
setUserFriendlyName
(String userFriendlyName)
-
Constructor Details
-
JpqlEntityModelImpl
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceJpqlEntityModel
-
getDisplayedName
- Specified by:
getDisplayedName
in interfaceJpqlEntityModel
-
setUserFriendlyName
-
addSingleValueAttribute
-
addSingleValueAttribute
- Specified by:
addSingleValueAttribute
in interfaceJpqlEntityModel
-
getAttributeByName
- Specified by:
getAttributeByName
in interfaceJpqlEntityModel
-
findAttributesStartsWith
public List<Attribute> findAttributesStartsWith(String fieldNamePattern, Set<InferredType> expectedTypes) - Specified by:
findAttributesStartsWith
in interfaceJpqlEntityModel
-
addReferenceAttribute
-
addReferenceAttribute
public void addReferenceAttribute(String referencedEntityName, String name, String userFriendlyName, boolean isEmbedded) - Specified by:
addReferenceAttribute
in interfaceJpqlEntityModel
-
addCollectionReferenceAttribute
-
addCollectionReferenceAttribute
public void addCollectionReferenceAttribute(String referencedEntityName, String name, String userFriendlyName) - Specified by:
addCollectionReferenceAttribute
in interfaceJpqlEntityModel
-
addAttributeCopy
- Specified by:
addAttributeCopy
in interfaceJpqlEntityModel
-