Class DestinationSourceManagementQuery<T extends DestinationSourceManagementQuery<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String DEFAULT  
      private java.util.Optional<Iri> from  
      private boolean fromDefault  
      private java.util.Optional<Iri> to  
      private static java.lang.String TO  
      private boolean toDefault  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      T from​(IRI from)  
      T from​(Iri from)
      Specify the query source graph
      T fromDefault()
      Specify that the source graph of this query should be the default graph
      T fromDefault​(boolean fromDefault)
      Specify if this query's source should be the default graph
      protected abstract java.lang.String getQueryActionString()  
      java.lang.String getQueryString()  
      T to​(IRI to)
      Specify the query destination graph
      T to​(Iri to)
      Specify the query destination graph
      T toDefault()
      Specify that the destination graph of this query should be the default graph
      T toDefault​(boolean toDefault)
      Specify if this query's destination should be the default graph
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • from

        private java.util.Optional<Iri> from
      • to

        private java.util.Optional<Iri> to
      • fromDefault

        private boolean fromDefault
      • toDefault

        private boolean toDefault
    • Constructor Detail

      • DestinationSourceManagementQuery

        public DestinationSourceManagementQuery()
    • Method Detail

      • from

        public T from​(Iri from)
        Specify the query source graph
        Parameters:
        from - the Iri identifying the source graph
        Returns:
        this query instance
      • from

        public T from​(IRI from)
      • to

        public T to​(Iri to)
        Specify the query destination graph
        Parameters:
        to - the Iri identifying the destination graph
        Returns:
        this query instance
      • to

        public T to​(IRI to)
        Specify the query destination graph
        Parameters:
        to - the Iri identifying the destination graph
        Returns:
        this query instance
      • fromDefault

        public T fromDefault()
        Specify that the source graph of this query should be the default graph
        Returns:
        this query instance
      • fromDefault

        public T fromDefault​(boolean fromDefault)
        Specify if this query's source should be the default graph
        Parameters:
        fromDefault - if this query's source should be the default graph
        Returns:
        this query instance
      • toDefault

        public T toDefault()
        Specify that the destination graph of this query should be the default graph
        Returns:
        this query instance
      • toDefault

        public T toDefault​(boolean toDefault)
        Specify if this query's destination should be the default graph
        Parameters:
        toDefault - if this query's destination should be the default graph
        Returns:
        this query instance
      • getQueryActionString

        protected abstract java.lang.String getQueryActionString()
      • getQueryString

        public java.lang.String getQueryString()
        Returns:
        the String representing the SPARQL syntax of this element