Class AbstractTriple.GenericTriple

    • Field Detail

      • subject

        private final Resource subject
      • predicate

        private final IRI predicate
      • object

        private final Value object
    • Constructor Detail

      • GenericTriple

        GenericTriple​(Resource subject,
                      IRI predicate,
                      Value object)
    • Method Detail

      • getSubject

        public Resource getSubject()
        Description copied from interface: Triple
        Gets the subject of this triple.
        Returns:
        The triple's subject.
      • getPredicate

        public IRI getPredicate()
        Description copied from interface: Triple
        Gets the predicate of this triple.
        Returns:
        The triple's predicate.
      • getObject

        public Value getObject()
        Description copied from interface: Triple
        Gets the object of this triple.
        Returns:
        The triple's object.