public class SplitConnectionContext extends DefaultContext implements ISplitConnectionContext
Constructor and Description |
---|
SplitConnectionContext(Connection connection,
Shape shape)
Creates a new
SplitConnectionContext . |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Gets the connection.
|
Shape |
getShape()
Gets the shape.
|
java.lang.String |
toString() |
getProperty, getPropertyKeys, putProperty
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyKeys, putProperty
public SplitConnectionContext(Connection connection, Shape shape)
SplitConnectionContext
.connection
- the connectionshape
- the shapepublic Connection getConnection()
ISplitConnectionContext
getConnection
in interface ISplitConnectionContext
public Shape getShape()
ISplitConnectionContext
getShape
in interface ISplitConnectionContext
public java.lang.String toString()
toString
in class DefaultContext