ucl.physiol.neuroconstruct.project
Class MaxMinLength

java.lang.Object
  extended by ucl.physiol.neuroconstruct.project.MaxMinLength

public class MaxMinLength
extends Object

Helper class for specifying maximum and minimum lengths for synaptic connections

Author:
Padraig Gleeson

Field Summary
static String RADIAL
           
static String SOMA
           
static String X_DIR
           
static String Y_DIR
           
static String Z_DIR
           
 
Constructor Summary
MaxMinLength()
           
MaxMinLength(float maxLength, float minLength, String dimension, int numberAttempts)
          Creates new MaxMinLength based on explicit values
 
Method Summary
 boolean equals(Object obj)
           
 String getDimension()
           
 float getMaxLength()
           
 float getMinLength()
           
 int getNumberAttempts()
           
 int hashCode()
           
 void setDimension(String dimension)
           
 void setMaxLength(float maxLength)
           
 void setMinLength(float minLength)
           
 void setNumberAttempts(int numberAttempts)
           
 String toString()
          Return a simple string representation...
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RADIAL

public static final String RADIAL
See Also:
Constant Field Values

X_DIR

public static final String X_DIR
See Also:
Constant Field Values

Y_DIR

public static final String Y_DIR
See Also:
Constant Field Values

Z_DIR

public static final String Z_DIR
See Also:
Constant Field Values

SOMA

public static final String SOMA
See Also:
Constant Field Values
Constructor Detail

MaxMinLength

public MaxMinLength()

MaxMinLength

public MaxMinLength(float maxLength,
                    float minLength,
                    String dimension,
                    int numberAttempts)
Creates new MaxMinLength based on explicit values

Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Return a simple string representation...

Overrides:
toString in class Object
Returns:
A string summarising the state

getMaxLength

public float getMaxLength()

getMinLength

public float getMinLength()

getDimension

public String getDimension()

setDimension

public void setDimension(String dimension)

getNumberAttempts

public int getNumberAttempts()

setMaxLength

public void setMaxLength(float maxLength)

setMinLength

public void setMinLength(float minLength)

setNumberAttempts

public void setNumberAttempts(int numberAttempts)