Class Operation


  • public class Operation
    extends java.lang.Object
    Operations are symbol to look up in the OperationRegistry.operationToHandler map. The name of an Operation is not related to the service name used to invoke the operation which is determined by the Endpoint.
    • Method Detail

      • alloc

        public static Operation alloc​(java.lang.String iriStr,
                                      java.lang.String name,
                                      java.lang.String description)
        Create an Operation - this operation interns operations so there is only one object for each operation. It is an extensible enum.
      • alloc

        public static Operation alloc​(Node op,
                                      java.lang.String name,
                                      java.lang.String description)
        Create an Operation - this operation interns operations so there is only object for each operation. It is an extensible enum.
      • getId

        public Node getId()
      • getName

        public java.lang.String getName()
        Return the display name for this operation.
      • getJsonName

        public java.lang.String getJsonName()
        Name used in JSON in the "server" description and "stats" details. Highlighted by JENA-1766. This name is know to the JS code.
      • getDescription

        public java.lang.String getDescription()
        Return the description for this operation.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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