Package com.stardog.stark

# Class Axioms.ExpressionList<T extends Axiom>

java.lang.Object
com.stardog.stark.Axioms.ExpressionList<T>

All Implemented Interfaces:
  `Axiom`, `Iterable<Statement>`

Enclosing class:
  `Axioms`

public static class Axioms.ExpressionList<T extends Axiom> extends Object implements Axiom

Expression which represents an rdf:List of other expressions.

Author:
  Michael Grove

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface com.stardog.stark.Axiom

  `Axiom.ClassExpression, Axiom.Datatype, Axiom.NamedDatatype, Axiom.PropertyExpression`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExpressionList(List<T> theElements)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Iterator<Statement>`
  `iterator()`
  `Resource`
  `mainNode()`
  The subject of the main triple

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

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

  ### Methods inherited from interface com.stardog.stark.Axiom

  `toGraph`

  ### Methods inherited from interface java.lang.Iterable

  `forEach, spliterator`

- ## Constructor Details

  - ### ExpressionList

    public ExpressionList(List<T> theElements)

- ## Method Details

  - ### mainNode

    @Nullable public Resource mainNode()
    The subject of the main triple
    Specified by:
      `mainNode` in interface `Axiom`
    Returns:
      the main node
    See Also:
      - Table 1 in Translation of Axioms
      - Main Triple

  - ### iterator

    public Iterator<Statement> iterator()
    Specified by:
      `iterator` in interface `Iterable<T extends Axiom>`