Interface Datum

  • All Implemented Interfaces:

    
    public interface Datum
    
                        

    Data object instance, whether structural or not.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Map<String, Object> propertiesToPersist() Properties to persist Subclasses can add their own properties but must call super to include these.
      Set<String> labels() Labels of the entity.
      abstract String getId() Embabel id.
      abstract String getUri() URI for the content.
      abstract Map<String, Object> getMetadata()
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • labels

         Set<String> labels()

        Labels of the entity. In Neo, this might include multiple labels. In a relational database, this might be a single table name.

      • getId

         abstract String getId()

        Embabel id. Will be synthetic.

      • getUri

         abstract String getUri()

        URI for the content. May be a URL. Not generated by Embabel, but from the source.