QueryDomainType represents the domain type of a query. The
domain type validates property names that are used to filter
results.
public interface QueryDomainType<E> extends, QueryDefinition<E> {
// Public Methods public abstract PredicateOperand get(String propertyName);
public abstract Class<E> getType();
}
public abstract PredicateOperand get(String propertyName);
Get a PredicateOperand representing a property of the domain
type.
Table 4.115 get(String)
Parameter |
Description |
propertyName |
the name of the property |
return |
a representation the value of the property |
public abstract Class<E> getType();
Get the domain type of the query.
Table 4.116 getType()
Parameter |
Description |
return |
the domain type of the query |