E
- the generic type of the type
of this EntityAlias
.public interface EntityAlias<E> extends PathRoot<E>
Alias
Modifier and Type | Method and Description |
---|---|
Alias<E> |
as(String aliasName) |
Class<?> |
getEntityType() |
String |
getName() |
E |
getPrototype() |
Class<E> |
getResultType() |
String |
getSource() |
String getSource()
EntityAlias
. Typically the name of a table, entity, class, etc. Shall NOT
be null
.String getName()
getName
in interface AttributeReadName
EntityAlias
(what is "alias" in "SELECT FROM Foo AS alias").Class<?> getEntityType()
Class
reflecting the internal entity of the source
. It is not
bound to <E> as the internal entity does not necessarily have to be the queried
result type
. May be null
.Class<E> getResultType()
Class
reflecting the external result when this EntityAlias
gets queried.E getPrototype()
getPrototype
in interface PathRoot<E>
prototype
of this source. May be null
.Alias<E> as(String aliasName)
aliasName
- the new alias name
.Alias
with the given alias name
.Copyright © 2001–2016 mmm-Team. All rights reserved.