|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openscience.nmrshiftdb.util.ValuesForVelocityBean
public class ValuesForVelocityBean
This is a java bean needed for putting data into the velocity context
Field Summary | |
---|---|
private org.openscience.cdk.interfaces.IAtom |
atom
|
private java.util.ArrayList |
couplings
|
private java.lang.Integer |
currentSelectedNumber
|
private java.lang.String |
delta
|
private java.lang.String |
displayText
|
private java.lang.String |
identifier
|
private java.lang.String |
intensity
|
private boolean |
isInRange
|
private double |
lower
|
private java.lang.String |
multiplicity
|
private java.lang.String |
nameForElements
|
private java.util.ArrayList |
possibleAtomNumbers
|
private java.lang.String |
range
|
double[] |
statistics
Description of the Field |
double[] |
statistics2
Description of the Field |
private double |
upper
|
private java.lang.Float |
value
|
Constructor Summary | |
---|---|
ValuesForVelocityBean()
Constructor for the ValuesForVelocityBean object |
|
ValuesForVelocityBean(java.lang.Float value,
java.lang.String nameForElements,
double lower,
double upper,
java.lang.String range,
java.lang.String displayText)
Constructor for the ValuesForVelocityBean object |
|
ValuesForVelocityBean(java.lang.Float value,
java.lang.String nameForElements,
double lower,
double upper,
java.lang.String range,
java.lang.String displayText,
boolean isInRange)
Constructor for the ValuesForVelocityBean object |
|
ValuesForVelocityBean(java.lang.Float value,
java.lang.String nameForElements,
double lower,
double upper,
java.lang.String range,
java.lang.String displayText,
org.openscience.cdk.interfaces.IAtom atom)
Constructor for the ValuesForVelocityBean object |
|
ValuesForVelocityBean(java.lang.Float value,
java.lang.String nameForElements,
double lower,
double upper,
java.lang.String range,
java.lang.String displayText,
java.lang.String delta)
Constructor for the ValuesForVelocityBean object |
|
ValuesForVelocityBean(java.lang.Float value,
java.lang.String nameForElements,
double lower,
double upper,
java.lang.String range,
java.lang.String displayText,
java.lang.String delta,
java.lang.String multis)
Constructor for the ValuesForVelocityBean object |
|
ValuesForVelocityBean(java.lang.String displayText,
java.lang.String nameForElements,
java.lang.String range)
Constructor for the ValuesForVelocityBean object |
Method Summary | |
---|---|
org.openscience.cdk.interfaces.IAtom |
getAtom()
Gets the atom attribute of the ValuesForVelocityBean object |
java.util.ArrayList |
getCouplings()
Gets the couplings attribute of the ValuesForVelocityBean object |
java.lang.Integer |
getCurrentSelectedNumber()
Gets the currentSelectedNumber attribute of the ValuesForVelocityBean object |
java.lang.String |
getDelta()
Gets the delta attribute of the ValuesForVelocityBean object |
java.lang.String |
getDeltaEsc()
Gets the delta attribute of the ValuesForVelocityBean object. |
java.lang.String |
getDisplayText()
Gets the displayText attribute of the ValuesForVelocityBean object |
java.lang.String |
getIdentifier()
Gets the identifier attribute of the ValuesForVelocityBean object |
java.lang.String |
getIdentifierEsc()
Gets the identifier attribute of the ValuesForVelocityBean object, & escaped. |
java.lang.String |
getIntensity()
Gets the intensity attribute of the ValuesForVelocityBean object |
java.lang.String |
getIntensityEsc()
Gets the intensity attribute of the ValuesForVelocityBean object |
boolean |
getIsInRange()
Gets the isInRange attribute of the ValuesForVelocityBean object |
double |
getLower()
Gets the lower attribute of the ValuesForVelocityBean object |
int |
getLowerAsInt()
Gets the lower attribute of the ValuesForVelocityBean object as an integer |
java.lang.String |
getMultiplicity()
Gets the multiplicity attribute of the ValuesForVelocityBean object |
java.lang.String |
getNameForElements()
Gets the nameForElements attribute of the ValuesForVelocityBean object |
java.util.ArrayList |
getPossibleAtomNumbers()
Gets the possibleAtomNumbers attribute of the ValuesForVelocityBean object |
java.lang.String |
getRange()
Gets the range attribute of the ValuesForVelocityBean object |
java.lang.String |
getRangeWithoutZeros(org.apache.turbine.util.RunData runData)
Gets the range attribute formatted without the assignemnts and intensities, if zero. |
java.lang.String |
getStatistics(int i)
Gets the ith values of the statistics attribute of the ValuesForVelocityBean object. |
java.lang.String |
getStatistics2(int i)
Gets the ith values of the statistics2 attribute of the ValuesForVelocityBean object. |
double |
getUpper()
Gets the upper attribute of the ValuesForVelocityBean object |
java.lang.Float |
getValue()
Gets the value attribute of the ValuesForVelocityBean object |
java.lang.Integer |
getValueAsInt()
Gets the value attribute of the ValuesForVelocityBean object as an Integer. |
java.lang.Integer |
getValueAsIntPlus1()
Gets the value attribute +1 of the ValuesForVelocityBean object as an Integer. |
void |
setCouplings(java.util.ArrayList v)
Sets the couplings attribute of the ValuesForVelocityBean object |
void |
setCurrentSelectedNumber(java.lang.Integer i)
Sets the currentSelectedNumber attribute of the ValuesForVelocityBean object |
void |
setDelta(java.lang.String delta)
Sets the delta attribute of the ValuesForVelocityBean object |
void |
setDisplayText(java.lang.String t)
Sets the displayText attribute of the ValuesForVelocityBean object |
void |
setIdentifier(java.lang.String i)
Sets the identifier attribute of the ValuesForVelocityBean object |
void |
setIntensity(java.lang.String intensity)
Sets the intensity attribute of the ValuesForVelocityBean object |
void |
setIsInRange(boolean s)
Sets the isInRange attribute of the ValuesForVelocityBean object |
void |
setLower(float d)
Sets the lower attribute of the ValuesForVelocityBean object |
void |
setMultiplicity(java.lang.String m)
Sets the multiplicity attribute of the ValuesForVelocityBean object |
void |
setNameForElements(java.lang.String s)
Sets the nameForElements attribute of the ValuesForVelocityBean object |
void |
setPossibleAtomNumbers(java.util.ArrayList v)
Sets the possibleAtomNumbers attribute of the ValuesForVelocityBean object |
void |
setRange(java.lang.String s)
Sets the range attribute of the ValuesForVelocityBean object |
void |
setUpper(float d)
Sets the upper attribute of the ValuesForVelocityBean object |
void |
setValue(java.lang.Float f)
Sets the value attribute of the ValuesForVelocityBean object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double[] statistics
public double[] statistics2
private java.lang.String displayText
private java.lang.String range
private java.lang.Float value
private double lower
private double upper
private java.lang.String nameForElements
private boolean isInRange
private java.util.ArrayList possibleAtomNumbers
private java.lang.Integer currentSelectedNumber
private java.lang.String multiplicity
private java.lang.String delta
private java.lang.String identifier
private java.lang.String intensity
private org.openscience.cdk.interfaces.IAtom atom
private java.util.ArrayList couplings
Constructor Detail |
---|
public ValuesForVelocityBean()
public ValuesForVelocityBean(java.lang.String displayText, java.lang.String nameForElements, java.lang.String range)
displayText
- The text to displayrange
- The rangenameForElements
- Description of Parameterpublic ValuesForVelocityBean(java.lang.Float value, java.lang.String nameForElements, double lower, double upper, java.lang.String range, java.lang.String displayText)
value
- The valuenameForElements
- The name for elementsrange
- The rangelower
- Upperupper
- LowerdisplayText
- The text to displaypublic ValuesForVelocityBean(java.lang.Float value, java.lang.String nameForElements, double lower, double upper, java.lang.String range, java.lang.String displayText, org.openscience.cdk.interfaces.IAtom atom)
value
- The valuenameForElements
- The name for elementsrange
- The rangelower
- Upperupper
- LowerdisplayText
- The text to displayatom
- The atom this line refers to.public ValuesForVelocityBean(java.lang.Float value, java.lang.String nameForElements, double lower, double upper, java.lang.String range, java.lang.String displayText, java.lang.String delta)
value
- The valuenameForElements
- The name for elementsrange
- The rangelower
- Upperupper
- LowerdisplayText
- The text to displaydelta
- Description of Parameterpublic ValuesForVelocityBean(java.lang.Float value, java.lang.String nameForElements, double lower, double upper, java.lang.String range, java.lang.String displayText, boolean isInRange)
value
- The valuenameForElements
- The name for elementsrange
- The rangelower
- Upperupper
- LowerdisplayText
- The text to displayisInRange
- Says if value is between lower and upperpublic ValuesForVelocityBean(java.lang.Float value, java.lang.String nameForElements, double lower, double upper, java.lang.String range, java.lang.String displayText, java.lang.String delta, java.lang.String multis)
value
- The valuenameForElements
- The name for elementsrange
- The rangelower
- Upperupper
- LowerdisplayText
- The text to displaydelta
- Description of Parametermultis
- Description of ParameterMethod Detail |
---|
public void setValue(java.lang.Float f)
f
- The new value valuepublic void setNameForElements(java.lang.String s)
s
- The new nameForElements valuepublic void setIsInRange(boolean s)
s
- The new isInRange valuepublic void setRange(java.lang.String s)
s
- The new range valuepublic void setUpper(float d)
d
- The new upper valuepublic void setLower(float d)
d
- The new lower valuepublic void setDisplayText(java.lang.String t)
t
- The new displayText valuepublic void setPossibleAtomNumbers(java.util.ArrayList v)
v
- The new possibleAtomNumbers valuepublic void setCurrentSelectedNumber(java.lang.Integer i)
i
- The new currentSelectedNumber valuepublic void setMultiplicity(java.lang.String m)
m
- The new multiplicity valuepublic void setDelta(java.lang.String delta)
delta
- The new delta valuepublic void setIdentifier(java.lang.String i)
i
- The new identifier valuepublic void setIntensity(java.lang.String intensity)
intensity
- The new intensity valuepublic void setCouplings(java.util.ArrayList v)
v
- The new couplings valuepublic java.lang.String getDelta()
public java.lang.String getDeltaEsc()
public java.lang.Integer getValueAsIntPlus1()
public java.lang.Integer getValueAsInt()
public boolean getIsInRange()
public java.lang.String getNameForElements()
public java.lang.Float getValue()
public java.lang.String getRange()
public double getUpper()
public double getLower()
public int getLowerAsInt()
public java.lang.String getIdentifier()
public java.lang.String getIdentifierEsc()
public java.lang.String getDisplayText()
public java.util.ArrayList getPossibleAtomNumbers()
public java.lang.Integer getCurrentSelectedNumber()
public java.lang.String getMultiplicity()
public java.lang.String getRangeWithoutZeros(org.apache.turbine.util.RunData runData) throws java.lang.Exception
java.lang.Exception
public java.lang.String getIntensity()
public java.lang.String getIntensityEsc()
public java.lang.String getStatistics(int i)
i
- index.
public java.lang.String getStatistics2(int i)
i
- index.
public org.openscience.cdk.interfaces.IAtom getAtom()
public java.util.ArrayList getCouplings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |