@Valid public class DirectedEdge extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
DirectedEdge.Builder
Class implements builder to create a new instance of class DirectedEdge.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DirectedEdge()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
DirectedEdge(DirectedEdge.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static DirectedEdge.Builder |
builder()
Method returns a new builder.
|
static DirectedEdge.Builder |
builder(DirectedEdge pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
Stop |
getEnd()
Method returns the association "end".
|
String |
getLink()
Method returns the attribute "link".
|
Stop |
getStart()
Method returns the association "start".
|
void |
setEnd(Stop pEnd)
Method sets the association "end".
|
void |
setLink(String pLink)
Method sets the attribute "link".
|
void |
setStart(Stop pStart)
Method sets the association "start".
|
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
void |
unsetEnd()
Method unsets the association "end".
|
void |
unsetStart()
Method unsets the association "start".
|
protected DirectedEdge()
protected DirectedEdge(DirectedEdge.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static DirectedEdge.Builder builder()
DirectedEdge.Builder New builder that can be used to create new DirectedEdge objects.public static DirectedEdge.Builder builder(DirectedEdge pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.DirectedEdge.Builder New builder that can be used to create new DirectedEdge objects. The method never returns
null.public Stop getStart()
public void setStart(Stop pStart)
pStart - Stop to which the association "start" should be set.public final void unsetStart()
public Stop getEnd()
public void setEnd(Stop pEnd)
pEnd - Stop to which the association "end" should be set.public final void unsetEnd()
public String getLink()
public void setLink(String pLink)
pLink - Value to which the attribute "link" should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.