java.lang.Object
org.seasar.doma.jdbc.query.ReturningPropertyNames
- All Implemented Interfaces:
ReturningProperties
A class that resolves property names to entity property types for returning clauses.
This class implements ReturningProperties to provide a way to specify which entity
properties should be returned from database operations using property names. It supports
including specific properties and excluding others.
-
Field Summary
Fields inherited from interface org.seasar.doma.jdbc.query.ReturningProperties
ALL, NONE -
Method Summary
Modifier and TypeMethodDescriptionstatic ReturningPropertiesCreates a newReturningPropertiesinstance with the specified included and excluded names.List<? extends EntityPropertyType<?,?>> resolve(EntityType<?> entityType) Resolves a list of entity property types for the given entity type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.seasar.doma.jdbc.query.ReturningProperties
isAll, isNone
-
Method Details
-
resolve
Resolves a list of entity property types for the given entity type.- Specified by:
resolvein interfaceReturningProperties- Parameters:
entityType- the entity type for which to resolve property types- Returns:
- a list of entity property types associated with the given entity type
-
of
Creates a newReturningPropertiesinstance with the specified included and excluded names.- Parameters:
includedNames- the names of properties to includeexcludedNames- the names of properties to exclude- Returns:
- a new
ReturningPropertiesinstance
-