public class Segment extends AbstractEscherBase implements Element
Modifier and Type | Method and Description |
---|---|
Segment |
clone() |
boolean |
equals(Object obj) |
Point |
getBasePoint1() |
Point |
getBasePoint2() |
String |
getFromNodeId() |
String |
getId() |
String |
getToNodeId() |
int |
hashCode() |
boolean |
isSetBasePoint1() |
boolean |
isSetBasePoint2() |
boolean |
isSetFromNodeId() |
boolean |
isSetId() |
boolean |
isSetToNodeId() |
Point |
removeBasePoint1() |
Point |
removeBasePoint2() |
void |
setBasePoint1(Point b1) |
void |
setBasePoint2(Point b2) |
void |
setFromNodeId(String fromNodeId) |
void |
setId(String id) |
void |
setToNodeId(String toNodeId) |
String |
toString() |
String |
unsetFromNodeId() |
String |
unsetToNodeId() |
getUserObject, putUserObject, userObjectEntrySet, userObjectKeys
finalize, getClass, notify, notifyAll, wait, wait, wait
getUserObject, putUserObject, userObjectEntrySet, userObjectKeys
public Segment()
public Segment(Segment segment)
segment
- public Segment clone()
clone
in class AbstractEscherBase
public boolean equals(Object obj)
equals
in class AbstractEscherBase
public Point getBasePoint1()
public Point getBasePoint2()
public String getFromNodeId()
public String getToNodeId()
public int hashCode()
hashCode
in class AbstractEscherBase
public boolean isSetBasePoint1()
true
if the requested property is not null
.public boolean isSetBasePoint2()
true
if the requested property is not null
.public boolean isSetFromNodeId()
true
if the requested property is not null
.public boolean isSetId()
public boolean isSetToNodeId()
true
if the requested property is not null
.public Point removeBasePoint1()
public Point removeBasePoint2()
public void setBasePoint1(Point b1)
b1
- the b1 to setpublic void setBasePoint2(Point b2)
b2
- the b2 to setpublic void setFromNodeId(String fromNodeId)
fromNodeId
- the fromNodeId to setpublic void setId(String id)
public void setToNodeId(String toNodeId)
toNodeId
- the toNodeId to setpublic String unsetFromNodeId()
from
node id.public String unsetToNodeId()
to
node id.Copyright © 2015–2019 University of Tübingen. All rights reserved.