Class Property

  • All Implemented Interfaces:
    Node, Resource

    public final class Property
    extends java.lang.Object
    implements Resource
    It models the concept of RDF Property in the context of Digital Twin Knowledge Graph.
    • Constructor Summary

      Constructors 
      Constructor Description
      Property​(java.lang.String propertyUri)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getUri()
      Get the URI of the Resource.
      • Methods inherited from class java.lang.Object

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

      • Property

        public Property​(java.lang.String propertyUri)
        Default constructor.
        Parameters:
        propertyUri - the uri of the property
    • Method Detail

      • getUri

        public java.util.Optional<java.lang.String> getUri()
        Description copied from interface: Resource
        Get the URI of the Resource.
        Specified by:
        getUri in interface Resource
        Returns:
        the uri, as an Optional String, of the resource