Class Edge


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-04-12T17:29:07.363401Z[Etc/UTC]")
    public class Edge
    extends java.lang.Object
    Information about a relatonship edge.
    • Constructor Detail

      • Edge

        public Edge()
    • Method Detail

      • sourceUrn

        public Edge sourceUrn​(java.lang.String sourceUrn)
      • getSourceUrn

        @NotNull
        public @NotNull java.lang.String getSourceUrn()
        Urn of the source of this relationship edge.
        Returns:
        sourceUrn
      • setSourceUrn

        public void setSourceUrn​(java.lang.String sourceUrn)
      • destinationUrn

        public Edge destinationUrn​(java.lang.String destinationUrn)
      • getDestinationUrn

        @NotNull
        public @NotNull java.lang.String getDestinationUrn()
        Urn of the destination of this relationship edge.
        Returns:
        destinationUrn
      • setDestinationUrn

        public void setDestinationUrn​(java.lang.String destinationUrn)
      • getCreated

        @NotNull
        @Valid
        public @NotNull @Valid AuditStamp getCreated()
        Get created
        Returns:
        created
      • setCreated

        public void setCreated​(AuditStamp created)
      • lastModified

        public Edge lastModified​(AuditStamp lastModified)
      • getLastModified

        @NotNull
        @Valid
        public @NotNull @Valid AuditStamp getLastModified()
        Get lastModified
        Returns:
        lastModified
      • setLastModified

        public void setLastModified​(AuditStamp lastModified)
      • properties

        public Edge properties​(java.util.Map<java.lang.String,​java.lang.String> properties)
      • putPropertiesItem

        public Edge putPropertiesItem​(java.lang.String key,
                                      java.lang.String propertiesItem)
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
        A generic properties bag that allows us to store specific information on this graph edge.
        Returns:
        properties
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.String> properties)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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