public static class QueryModel.PropertyProjection extends QueryModel.Projection
Constructor and Description |
---|
PropertyProjection(java.lang.String propertyName)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
QueryModel.PropertyProjection |
aliased()
Include an alias that is the same as the property name.
|
java.util.Optional<java.lang.String> |
getAlias() |
java.lang.String |
getPropertyName() |
public PropertyProjection(java.lang.String propertyName)
propertyName
- The property namepublic java.lang.String getPropertyName()
public QueryModel.PropertyProjection aliased()
public java.util.Optional<java.lang.String> getAlias()