public class ComponentJoin.ComponentFromElementType
extends java.lang.Object
Constructor and Description |
---|
ComponentFromElementType(FromElement fromElement) |
Modifier and Type | Method and Description |
---|---|
void |
applyTreatAsDeclarations(java.util.Set<java.lang.String> treatAsDeclarations) |
CollectionPropertyReference |
getCollectionPropertyReference(java.lang.String propertyName) |
java.lang.String |
getCollectionSuffix() |
Type |
getDataType() |
EntityPersister |
getEntityPersister() |
java.lang.String |
getIdentifierPropertyName() |
ParameterSpecification |
getIndexCollectionSelectorParamSpec() |
JoinSequence |
getJoinSequence() |
PropertyMapping |
getPropertyMapping(java.lang.String propertyName) |
Type |
getPropertyType(java.lang.String propertyName,
java.lang.String propertyPath)
Returns the type of a property, given it's name (the last part) and the full path.
|
Queryable |
getQueryable()
Returns the Hibernate queryable implementation for the HQL class.
|
QueryableCollection |
getQueryableCollection() |
Type |
getSelectType() |
boolean |
isCollectionOfValuesOrComponents() |
boolean |
isEntity() |
java.lang.String |
renderMapEntryPropertySelectFragment(int size,
int k) |
java.lang.String |
renderMapKeyPropertySelectFragment(int size,
int k) |
java.lang.String |
renderScalarIdentifierSelect(int i)
Render the identifier select, but in a 'scalar' context (i.e.
|
java.lang.String |
renderValueCollectionSelectFragment(int size,
int k) |
void |
setCollectionSuffix(java.lang.String suffix) |
void |
setIndexCollectionSelectorParamSpec(ParameterSpecification indexCollectionSelectorParamSpec) |
void |
setJoinSequence(JoinSequence joinSequence) |
void |
setQueryableCollection(QueryableCollection queryableCollection) |
public ComponentFromElementType(FromElement fromElement)
public Type getDataType()
public QueryableCollection getQueryableCollection()
public PropertyMapping getPropertyMapping(java.lang.String propertyName)
public Type getPropertyType(java.lang.String propertyName, java.lang.String propertyPath)
propertyName
- The last part of the full path to the property.public java.lang.String renderScalarIdentifierSelect(int i)
i
- the sequence of the returned typepublic java.lang.String getCollectionSuffix()
public void setCollectionSuffix(java.lang.String suffix)
public EntityPersister getEntityPersister()
public Type getSelectType()
public Queryable getQueryable()
public java.lang.String renderMapKeyPropertySelectFragment(int size, int k)
public java.lang.String renderMapEntryPropertySelectFragment(int size, int k)
public java.lang.String renderValueCollectionSelectFragment(int size, int k)
public void setJoinSequence(JoinSequence joinSequence)
public JoinSequence getJoinSequence()
public void applyTreatAsDeclarations(java.util.Set<java.lang.String> treatAsDeclarations)
public void setQueryableCollection(QueryableCollection queryableCollection)
public boolean isCollectionOfValuesOrComponents()
public boolean isEntity()
public ParameterSpecification getIndexCollectionSelectorParamSpec()
public void setIndexCollectionSelectorParamSpec(ParameterSpecification indexCollectionSelectorParamSpec)
public CollectionPropertyReference getCollectionPropertyReference(java.lang.String propertyName)
public java.lang.String getIdentifierPropertyName()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.