Class DirectedEdge

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, java.io.Serializable

    @Valid
    public class DirectedEdge
    extends java.lang.Object
    implements com.anaptecs.jeaf.core.api.ServiceObject
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DirectedEdge.Builder
      Class implements builder to create a new instance of class DirectedEdge.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DirectedEdge()
      Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
      protected DirectedEdge​(DirectedEdge.Builder pBuilder)
      Initialize object using the passed builder.
    • Constructor Detail

      • DirectedEdge

        protected DirectedEdge()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
      • DirectedEdge

        protected DirectedEdge​(DirectedEdge.Builder pBuilder)
        Initialize object using the passed builder.
        Parameters:
        pBuilder - Builder that should be used to initialize this object. The parameter must not be null.
    • Method Detail

      • builder

        public static DirectedEdge.Builder builder​(DirectedEdge pObject)
        Method creates a new builder and initialize it with the data from the passed object.
        Parameters:
        pObject - Object that should be used to initialize the builder. The parameter may be null.
        Returns:
        DirectedEdge.Builder New builder that can be used to create new DirectedEdge objects. The method never returns null.
      • builder

        public static DirectedEdge.Builder builder​(Stop pEnd,
                                                   java.lang.String pLink)
        Method creates a new builder and initializes it with the passed attributes.
      • getStart

        public Stop getStart()
        Method returns association start.
        The start
        Returns:
        Stop Value to which start is set.
      • setStart

        public void setStart​(Stop pStart)
        Method sets association start.
        The start
        Parameters:
        pStart - Value to which start should be set.
      • unsetStart

        public final void unsetStart()
        Method unsets start.
      • getEnd

        public Stop getEnd()
        Method returns association end.
        The end
        Returns:
        Stop Value to which end is set.
      • setEnd

        public void setEnd​(Stop pEnd)
        Method sets association end.
        The end
        Parameters:
        pEnd - Value to which end should be set.
      • unsetEnd

        public final void unsetEnd()
        Method unsets end.
      • getLink

        public java.lang.String getLink()
        Method returns attribute link.
        Returns:
        String Value to which link is set.
      • setLink

        public void setLink​(java.lang.String pLink)
        Method sets attribute link.
        Parameters:
        pLink - Value to which link should be set.
      • toStringBuilder

        public java.lang.StringBuilder toStringBuilder​(java.lang.String pIndent)
        Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.
        Returns:
        StringBuilder StringBuilder representing this object. The method never returns null.
      • toString

        public java.lang.String toString()
        Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String String representation of this object. The method never returns null.