public class JpqlEntityModelImpl extends java.lang.Object implements JpqlEntityModel
Constructor and Description |
---|
JpqlEntityModelImpl(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeCopy(Attribute attribute) |
void |
addCollectionReferenceAttribute(java.lang.String referencedEntityName,
java.lang.String name) |
void |
addCollectionReferenceAttribute(java.lang.String referencedEntityName,
java.lang.String name,
java.lang.String userFriendlyName) |
void |
addReferenceAttribute(java.lang.String referencedEntityName,
java.lang.String name) |
void |
addReferenceAttribute(java.lang.String referencedEntityName,
java.lang.String name,
java.lang.String userFriendlyName,
boolean isEmbedded) |
void |
addSingleValueAttribute(java.lang.Class aClass,
java.lang.String name) |
void |
addSingleValueAttribute(java.lang.Class aClass,
java.lang.String name,
java.lang.String userFriendlyName) |
java.util.List<Attribute> |
findAttributesStartingWith(java.lang.String fieldNamePattern,
java.util.Set<InferredType> expectedTypes) |
AttributeImpl |
getAttributeByName(java.lang.String attributeName) |
java.lang.String |
getName() |
java.lang.String |
getUserFriendlyName() |
void |
setUserFriendlyName(java.lang.String userFriendlyName) |
public java.lang.String getName()
getName
in interface JpqlEntityModel
public java.lang.String getUserFriendlyName()
getUserFriendlyName
in interface JpqlEntityModel
public void setUserFriendlyName(java.lang.String userFriendlyName)
public void addSingleValueAttribute(java.lang.Class aClass, java.lang.String name)
public void addSingleValueAttribute(java.lang.Class aClass, java.lang.String name, java.lang.String userFriendlyName)
addSingleValueAttribute
in interface JpqlEntityModel
public AttributeImpl getAttributeByName(java.lang.String attributeName)
getAttributeByName
in interface JpqlEntityModel
public java.util.List<Attribute> findAttributesStartingWith(java.lang.String fieldNamePattern, java.util.Set<InferredType> expectedTypes)
findAttributesStartingWith
in interface JpqlEntityModel
public void addReferenceAttribute(java.lang.String referencedEntityName, java.lang.String name)
public void addReferenceAttribute(java.lang.String referencedEntityName, java.lang.String name, java.lang.String userFriendlyName, boolean isEmbedded)
addReferenceAttribute
in interface JpqlEntityModel
public void addCollectionReferenceAttribute(java.lang.String referencedEntityName, java.lang.String name)
public void addCollectionReferenceAttribute(java.lang.String referencedEntityName, java.lang.String name, java.lang.String userFriendlyName)
addCollectionReferenceAttribute
in interface JpqlEntityModel
public void addAttributeCopy(Attribute attribute)
addAttributeCopy
in interface JpqlEntityModel