Module io.github.mmm.entity.bean
Package io.github.mmm.entity.bean.sql
Class AssignmentClause<E extends EntityBean,SELF extends AssignmentClause<E,SELF>>
- java.lang.Object
-
- io.github.mmm.marshall.AbstractMarshallingObject
-
- io.github.mmm.entity.bean.sql.AbstractClause
-
- io.github.mmm.entity.bean.sql.AbstractTypedClause<E,SELF>
-
- io.github.mmm.entity.bean.sql.AssignmentClause<E,SELF>
-
- Type Parameters:
E- type of theEntityBeanto query.SELF- type of this class itself.
- All Implemented Interfaces:
Clause,TypedClause<E>,io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>
public abstract class AssignmentClause<E extends EntityBean,SELF extends AssignmentClause<E,SELF>> extends AbstractTypedClause<E,SELF>
- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME_ASSIGNMENTSName of the propertygetAssignments()for marshaling.
-
Constructor Summary
Constructors Constructor Description AssignmentClause()The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELFand(io.github.mmm.property.criteria.PropertyAssignment<?> assignment)SELFand(io.github.mmm.property.criteria.PropertyAssignment<?>... propertyAssignments)<V> SELFand(io.github.mmm.value.PropertyPath<V> property, V value)List<io.github.mmm.property.criteria.PropertyAssignment<?>>getAssignments()protected voidreadProperty(io.github.mmm.marshall.StructuredReader reader, String name)protected voidwriteProperties(io.github.mmm.marshall.StructuredWriter writer)-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractTypedClause
self
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractClause
getMarshallingName, toString
-
-
-
-
Field Detail
-
NAME_ASSIGNMENTS
public static final String NAME_ASSIGNMENTS
Name of the propertygetAssignments()for marshaling.- See Also:
- Constant Field Values
-
-
Method Detail
-
and
public SELF and(io.github.mmm.property.criteria.PropertyAssignment<?> assignment)
- Parameters:
assignment- thePropertyAssignmentto add.- Returns:
- this
Clauseitself for fluent API calls.
-
and
public <V> SELF and(io.github.mmm.value.PropertyPath<V> property, V value)
- Type Parameters:
V- type of thevalue.- Parameters:
property- thepropertyto set.value- theLiteralvalue to insert (assign thepropertyto).- Returns:
- this
Clauseitself for fluent API calls.
-
and
public SELF and(io.github.mmm.property.criteria.PropertyAssignment<?>... propertyAssignments)
- Parameters:
propertyAssignments- thePropertyAssignments to add.- Returns:
- this
Clauseitself for fluent API calls.
-
getAssignments
public List<io.github.mmm.property.criteria.PropertyAssignment<?>> getAssignments()
- Returns:
- the
ListofPropertyAssignments.
-
writeProperties
protected void writeProperties(io.github.mmm.marshall.StructuredWriter writer)
- Overrides:
writePropertiesin classAbstractClause
-
readProperty
protected void readProperty(io.github.mmm.marshall.StructuredReader reader, String name)- Overrides:
readPropertyin classAbstractClause
-
-