Class AssignmentClause<E extends EntityBean,​SELF extends AssignmentClause<E,​SELF>>

  • Type Parameters:
    E - type of the EntityBean to 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>
    Direct Known Subclasses:
    Set, Values

    public abstract class AssignmentClause<E extends EntityBean,​SELF extends AssignmentClause<E,​SELF>>
    extends AbstractTypedClause<E,​SELF>
    Clause containing assignments like a InsertValues-clause.
    Since:
    1.0.0
    • Constructor Detail

      • AssignmentClause

        public AssignmentClause()
        The constructor.
    • Method Detail

      • and

        public SELF and​(io.github.mmm.property.criteria.PropertyAssignment<?> assignment)
        Parameters:
        assignment - the PropertyAssignment to add.
        Returns:
        this Clause itself for fluent API calls.
      • and

        public <V> SELF and​(io.github.mmm.value.PropertyPath<V> property,
                            V value)
        Type Parameters:
        V - type of the value.
        Parameters:
        property - the property to set.
        value - the Literal value to insert (assign the property to).
        Returns:
        this Clause itself for fluent API calls.
      • and

        public SELF and​(io.github.mmm.property.criteria.PropertyAssignment<?>... propertyAssignments)
        Parameters:
        propertyAssignments - the PropertyAssignments to add.
        Returns:
        this Clause itself for fluent API calls.
      • getAssignments

        public List<io.github.mmm.property.criteria.PropertyAssignment<?>> getAssignments()
        Returns:
        the List of PropertyAssignments.
      • writeProperties

        protected void writeProperties​(io.github.mmm.marshall.StructuredWriter writer)
        Overrides:
        writeProperties in class AbstractClause
      • readProperty

        protected void readProperty​(io.github.mmm.marshall.StructuredReader reader,
                                    String name)
        Overrides:
        readProperty in class AbstractClause