|
|||||||||
| Home >> All >> joelib >> desc >> [ result overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
joelib.desc.result
Class DynamicArrayResult

java.lang.Objectjoelib.data.JOEGenericData
joelib.data.JOEPairData
joelib.desc.result.DynamicArrayResult
- All Implemented Interfaces:
- java.lang.Cloneable, joelib.desc.DescResult, joelib.desc.NumberFormatDescResult, java.io.Serializable
- Direct Known Subclasses:
- AtomDynamicResult, BondDynamicResult
- public class DynamicArrayResult
- extends joelib.data.JOEPairData
- implements java.lang.Cloneable, joelib.desc.DescResult, joelib.desc.NumberFormatDescResult, java.io.Serializable
- extends joelib.data.JOEPairData
Dynamic array results of variable size.
| Field Summary | |
protected java.lang.Object |
array
Description of the Field |
private static java.lang.String |
basicFormat
|
static java.lang.String |
BOOLEAN
Description of the Field |
protected java.lang.String |
dataDescription
Description of the Field |
protected java.lang.String |
dataUnit
Description of the Field |
static java.lang.String |
DOUBLE
Description of the Field |
static java.lang.String |
INT
Description of the Field |
private static java.lang.String |
lineFormat
|
private static org.apache.log4j.Category |
logger
Obtain a suitable logger. |
protected java.lang.String |
propertyType
Description of the Field |
| Fields inherited from class joelib.data.JOEPairData |
_value |
| Fields inherited from class joelib.data.JOEGenericData |
dataType |
| Constructor Summary | |
DynamicArrayResult()
Constructor for the IntArrayResult object |
|
| Method Summary | |
java.lang.Object |
clone()
This method may be called to create a new copy of the Object. |
DynamicArrayResult |
clone(DynamicArrayResult _target,
int size)
|
java.lang.String |
formatDescription(joelib.io.IOType ioType)
Description of the Method |
boolean |
fromPairData(joelib.io.IOType ioType,
joelib.data.JOEPairData pairData)
Description of the Method |
boolean |
fromString(joelib.io.IOType ioType,
java.lang.String sValue)
Description of the Method |
private boolean |
fromString(joelib.io.IOType ioType,
java.lang.String sValue,
java.lang.String _arrayType)
Description of the Method |
java.lang.Object |
getArray()
Gets the array attribute of the DynamicArrayResult object |
boolean[] |
getBooleanArray()
Gets the booleanArray attribute of the DynamicArrayResult object |
java.lang.String |
getDataDescription()
Gets the dataDescription attribute of the DynamicArrayResult object |
java.lang.String |
getDataUnit()
Gets the dataUnit attribute of the DynamicArrayResult object |
double[] |
getDoubleArray()
Gets the doubleArray attribute of the DynamicArrayResult object |
int[] |
getIntArray()
Gets the intArray attribute of the DynamicArrayResult object |
static java.lang.Object |
getNewArray(java.lang.String type,
int size)
Gets the newArray attribute of the DynamicArrayResult class |
java.lang.String |
getPropertyType()
Gets the propertyType attribute of the DynamicArrayResult object |
boolean |
init(java.lang.String _descName)
Constructor for the IntArrayResult object |
void |
setArray(java.lang.Object newArray)
Sets the array attribute of the DynamicArrayResult object |
void |
setDataDescription(java.lang.String _desc)
Sets the dataDescription attribute of the DynamicArrayResult object |
void |
setDataUnit(java.lang.String _unit)
Sets the dataUnit attribute of the DynamicArrayResult object |
void |
setPropertyType(java.lang.String _pType)
Sets the propertyType attribute of the DynamicArrayResult object |
java.lang.String |
toString(joelib.io.IOType ioType)
Description of the Method |
java.lang.String |
toString(joelib.io.IOType ioType,
wsi.ra.text.DecimalFormatter format)
Description of the Method |
private java.lang.String |
toString(joelib.io.IOType ioType,
java.lang.String arrayType,
wsi.ra.text.DecimalFormatter format)
Write this array to String . |
| Methods inherited from class joelib.data.JOEPairData |
getValue, setValue, toString |
| Methods inherited from class joelib.data.JOEGenericData |
equals, finalize, getAttribute, getDataType, setAttribute |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
logger
private static org.apache.log4j.Category logger
- Obtain a suitable logger.
INT
public static final java.lang.String INT
- Description of the Field
- See Also:
- Constant Field Values
DOUBLE
public static final java.lang.String DOUBLE
- Description of the Field
- See Also:
- Constant Field Values
BOOLEAN
public static final java.lang.String BOOLEAN
- Description of the Field
- See Also:
- Constant Field Values
basicFormat
private static final java.lang.String basicFormat
- See Also:
- Constant Field Values
lineFormat
private static final java.lang.String lineFormat
- See Also:
- Constant Field Values
array
protected java.lang.Object array
- Description of the Field
dataDescription
protected java.lang.String dataDescription
- Description of the Field
dataUnit
protected java.lang.String dataUnit
- Description of the Field
propertyType
protected java.lang.String propertyType
- Description of the Field
| Constructor Detail |
DynamicArrayResult
public DynamicArrayResult()
- Constructor for the IntArrayResult object
| Method Detail |
setArray
public void setArray(java.lang.Object newArray)
- Sets the array attribute of the DynamicArrayResult object
getArray
public java.lang.Object getArray()
- Gets the array attribute of the DynamicArrayResult object
getBooleanArray
public boolean[] getBooleanArray()
- Gets the booleanArray attribute of the DynamicArrayResult object
setDataDescription
public void setDataDescription(java.lang.String _desc)
- Sets the dataDescription attribute of the DynamicArrayResult object
getDataDescription
public java.lang.String getDataDescription()
- Gets the dataDescription attribute of the DynamicArrayResult object
setDataUnit
public void setDataUnit(java.lang.String _unit)
- Sets the dataUnit attribute of the DynamicArrayResult object
getDataUnit
public java.lang.String getDataUnit()
- Gets the dataUnit attribute of the DynamicArrayResult object
getDoubleArray
public double[] getDoubleArray()
- Gets the doubleArray attribute of the DynamicArrayResult object
getIntArray
public int[] getIntArray()
- Gets the intArray attribute of the DynamicArrayResult object
getNewArray
public static java.lang.Object getNewArray(java.lang.String type, int size)
- Gets the newArray attribute of the DynamicArrayResult class
setPropertyType
public void setPropertyType(java.lang.String _pType)
- Sets the propertyType attribute of the DynamicArrayResult object
getPropertyType
public java.lang.String getPropertyType()
- Gets the propertyType attribute of the DynamicArrayResult object
clone
public DynamicArrayResult clone(DynamicArrayResult _target, int size)
clone
public java.lang.Object clone()
- Description copied from class:
java.lang.Object - This method may be called to create a new copy of the
Object. The typical behavior is as follows:
o == o.clone()is falseo.getClass() == o.clone().getClass()is trueo.equals(o)is true
However, these are not strict requirements, and may be violated if necessary. Of the three requirements, the last is the most commonly violated, particularly if the subclass does not override Object.equals(Object)>
Object.equals(Object)55 .If the Object you call clone() on does not implement java.lang.Cloneable (which is a placeholder interface), then a CloneNotSupportedException is thrown. Notice that Object does not implement Cloneable; this method exists as a convenience for subclasses that do.
Object's implementation of clone allocates space for the new Object using the correct class, without calling any constructors, and then fills in all of the new field values with the old field values. Thus, it is a shallow copy. However, subclasses are permitted to make a deep copy.
All array types implement Cloneable, and override this method as follows (it should never fail):
public Object clone() { try { super.clone(); } catch (CloneNotSupportedException e) { throw new InternalError(e.getMessage()); } }- Specified by:
clonein interfacejoelib.desc.DescResult
formatDescription
public java.lang.String formatDescription(joelib.io.IOType ioType)
- Description of the Method
- Specified by:
formatDescriptionin interfacejoelib.desc.DescResult
fromPairData
public boolean fromPairData(joelib.io.IOType ioType, joelib.data.JOEPairData pairData)
- Description of the Method
- Specified by:
fromPairDatain interfacejoelib.desc.DescResult
fromString
public boolean fromString(joelib.io.IOType ioType, java.lang.String sValue)
- Description of the Method
- Specified by:
fromStringin interfacejoelib.desc.DescResult
init
public boolean init(java.lang.String _descName)
- Constructor for the IntArrayResult object
- Specified by:
initin interfacejoelib.desc.DescResult
toString
public java.lang.String toString(joelib.io.IOType ioType)
- Description of the Method
- Specified by:
toStringin interfacejoelib.desc.DescResult
toString
public java.lang.String toString(joelib.io.IOType ioType, wsi.ra.text.DecimalFormatter format)
- Description of the Method
- Specified by:
toStringin interfacejoelib.desc.NumberFormatDescResult
fromString
private boolean fromString(joelib.io.IOType ioType, java.lang.String sValue, java.lang.String _arrayType)
- Description of the Method
toString
private java.lang.String toString(joelib.io.IOType ioType, java.lang.String arrayType, wsi.ra.text.DecimalFormatter format)
- Write this array to String .
|
|||||||||
| Home >> All >> joelib >> desc >> [ result overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC