public final class Well extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable, java.lang.Comparable<Well>
Constructor and Description |
---|
Well(int wellY,
int wellX)
Constructor.
|
Well(Well parent)
Clone constructor.
|
Modifier and Type | Method and Description |
---|---|
Well |
clone() |
int |
compareTo(Well arg0) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getWellName()
Returns the common name for a well, e.g.
|
static java.lang.String |
getWellName(int wellY,
int wellX)
Returns the common name for a well, e.g.
|
int |
getWellX()
Returns the X-position of the well, starting at 0.
|
int |
getWellY()
Returns the Y-position of the well, starting at 0.
|
java.lang.String |
getXWellName()
Returns the name of a well in the x-direction.
|
static java.lang.String |
getXWellName(int wellX)
Returns the name of a well in the x-direction.
|
java.lang.String |
getYWellName()
Returns the name of a well in the y-direction.
|
static java.lang.String |
getYWellName(int wellY)
Returns the name of a well in the y-direction.
|
int |
hashCode() |
java.lang.String |
toString() |
public Well(int wellY, int wellX)
wellX
- X-position of well, starting at 0.wellY
- Y-position of well, starting at 0.public Well(Well parent)
parent
- The well which should be cloned.public Well clone()
clone
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int getWellX()
public int getWellY()
public java.lang.String getXWellName()
public static java.lang.String getXWellName(int wellX)
wellX
- The x-position of the well, starting at 0.public java.lang.String getYWellName()
public static java.lang.String getYWellName(int wellY)
wellY
- The y-position of the well, starting at 0.public java.lang.String getWellName()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String getWellName(int wellY, int wellX)
wellY
- The y-position of the well, starting at 0.wellX
- The x-position of the well, starting at 0.