public interface SqlResultSetMapping<T> extends Child<T>, OrmSqlResultSetMappingCommType<T,SqlResultSetMapping<T>,EntityResult<SqlResultSetMapping<T>>,ColumnResult<SqlResultSetMapping<T>>>
sql-result-set-mapping
xsd typeModifier and Type | Method and Description |
---|---|
ColumnResult<SqlResultSetMapping<T>> |
createColumnResult()
Creates a new
column-result element |
ConstructorResult<SqlResultSetMapping<T>> |
createConstructorResult()
Creates a new
constructor-result element |
EntityResult<SqlResultSetMapping<T>> |
createEntityResult()
Creates a new
entity-result element |
SqlResultSetMapping<T> |
description(String description)
Sets the
description element |
List<ColumnResult<SqlResultSetMapping<T>>> |
getAllColumnResult()
Returns all
column-result elements |
List<ConstructorResult<SqlResultSetMapping<T>>> |
getAllConstructorResult()
Returns all
constructor-result elements |
List<EntityResult<SqlResultSetMapping<T>>> |
getAllEntityResult()
Returns all
entity-result elements |
String |
getDescription()
Returns the
description element |
String |
getName()
Returns the
name attribute |
ColumnResult<SqlResultSetMapping<T>> |
getOrCreateColumnResult()
If not already created, a new
column-result element will be created and returned. |
ConstructorResult<SqlResultSetMapping<T>> |
getOrCreateConstructorResult()
If not already created, a new
constructor-result element will be created and returned. |
EntityResult<SqlResultSetMapping<T>> |
getOrCreateEntityResult()
If not already created, a new
entity-result element will be created and returned. |
SqlResultSetMapping<T> |
name(String name)
Sets the
name attribute |
SqlResultSetMapping<T> |
removeAllColumnResult()
Removes all
column-result elements |
SqlResultSetMapping<T> |
removeAllConstructorResult()
Removes all
constructor-result elements |
SqlResultSetMapping<T> |
removeAllEntityResult()
Removes all
entity-result elements |
SqlResultSetMapping<T> |
removeDescription()
Removes the
description element |
SqlResultSetMapping<T> |
removeName()
Removes the
name attribute |
SqlResultSetMapping<T> description(String description)
description
elementdescription
- the value for the element description
SqlResultSetMapping
String getDescription()
description
elementdescription
SqlResultSetMapping<T> removeDescription()
description
elementSqlResultSetMapping
EntityResult<SqlResultSetMapping<T>> getOrCreateEntityResult()
entity-result
element will be created and returned.
Otherwise, the first existing entity-result
element will be returned.entity-result
EntityResult<SqlResultSetMapping<T>> createEntityResult()
entity-result
elementEntityResult>
List<EntityResult<SqlResultSetMapping<T>>> getAllEntityResult()
entity-result
elementsentity-result
SqlResultSetMapping<T> removeAllEntityResult()
entity-result
elementsEntityResult>
ConstructorResult<SqlResultSetMapping<T>> getOrCreateConstructorResult()
constructor-result
element will be created and returned.
Otherwise, the first existing constructor-result
element will be returned.constructor-result
ConstructorResult<SqlResultSetMapping<T>> createConstructorResult()
constructor-result
elementConstructorResult>
List<ConstructorResult<SqlResultSetMapping<T>>> getAllConstructorResult()
constructor-result
elementsconstructor-result
SqlResultSetMapping<T> removeAllConstructorResult()
constructor-result
elementsConstructorResult>
ColumnResult<SqlResultSetMapping<T>> getOrCreateColumnResult()
column-result
element will be created and returned.
Otherwise, the first existing column-result
element will be returned.column-result
ColumnResult<SqlResultSetMapping<T>> createColumnResult()
column-result
elementColumnResult>
List<ColumnResult<SqlResultSetMapping<T>>> getAllColumnResult()
column-result
elementscolumn-result
SqlResultSetMapping<T> removeAllColumnResult()
column-result
elementsColumnResult>
SqlResultSetMapping<T> name(String name)
name
attributename
- the value for the attribute name
SqlResultSetMapping
String getName()
name
attributename
SqlResultSetMapping<T> removeName()
name
attributeSqlResultSetMapping
Copyright © 2023 JBoss by Red Hat. All rights reserved.