Class CriteriaContainerImpl

    • Method Detail

      • add

        public void add​(Criteria... criteria)
        Description copied from interface: CriteriaContainer
        Adds Criteria to this container
        Specified by:
        add in interface CriteriaContainer
        Parameters:
        criteria - the criteria to add
      • remove

        public void remove​(Criteria criteria)
        Description copied from interface: CriteriaContainer
        Removes Criteria to this container
        Specified by:
        remove in interface CriteriaContainer
        Parameters:
        criteria - the criteria to remove
      • toDBObject

        public com.mongodb.DBObject toDBObject()
        Specified by:
        toDBObject in interface Criteria
        Returns:
        the DBObject form of this type
      • getFieldName

        public java.lang.String getFieldName()
        Specified by:
        getFieldName in interface Criteria
        Returns:
        the field name for the criteria
      • getQuery

        public QueryImpl<?> getQuery()
        Returns:
        the Query for this CriteriaContainer
      • setQuery

        public void setQuery​(QueryImpl<?> query)
        Sets the Query for this CriteriaContainer
        Parameters:
        query - the query
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object