org.eclipse.rdf4j.sparqlbuilder.rdf

## Class RdfPredicateObjectList

- java.lang.Object
- - org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<T>
  - - org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection<RdfObject>
    - - org.eclipse.rdf4j.sparqlbuilder.rdf.RdfPredicateObjectList

- All Implemented Interfaces:
    QueryElement

      public class RdfPredicateObjectList
      extends StandardQueryElementCollection<RdfObject>

  A Predicate-Object List
  See Also:
    SPARQL Predicate-Object List

- - ### Field Summary

    - ### Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection

      `elements`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RdfPredicateObjectList` | `and(RdfObject... objects)` Add `RdfObject` instances to this predicate-object list

    - ### Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection

      `getQueryString, printBodyIfEmpty, printNameIfEmpty, resetWrapperMethod, setOperatorName, setOperatorName, setWrapperMethod`

    - ### Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection

      `addElements, addElements, isEmpty`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### and

          public RdfPredicateObjectList and(RdfObject... objects)

      Add `RdfObject` instances to this predicate-object list
      Parameters:
        `objects` - the objects to add to this list
      Returns:
        this `RdfPredicateObjectList` instance

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.