/** * Constructs a new Value with a name. * * @param name * Sets the name of the Value */ public Value( String name ) { // clearValue(); setName( name ); }
/** * Constructs a new Value as a copy of another value and renames it... * * @param name * The new name of the copied Value * @param v * The value to be copied */ public Value( String name, Value v ) { this( v ); setName( name ); }
public void jsConstructor( String name ) { setName( name ); }
/** * Constructs a new Value with a name and a type. * * @param name * Sets the name of the Value * @param val_type * Sets the type of the Value (Value.VALUE_TYPE_*) */ public Value( String name, int val_type ) { // clearValue(); newValue( val_type ); setName( name ); }
/** * Constructs a new Value of Type VALUE_TYPE_BIGNUMBER, with a name, containing a BigDecimal number * * @param name * Sets the name of the Value * @param bignum * The number to store in this Value */ public Value( String name, BigDecimal bignum ) { // clearValue(); setValue( bignum ); setName( name ); }
/** * Constructs a new Value of Type VALUE_TYPE_STRING, with a name, containing a String * * @param name * Sets the name of the Value * @param str * The text to store in this Value */ public Value( String name, String str ) { // clearValue(); setValue( str ); setName( name ); }
/** * Constructs a new Value of Type VALUE_TYPE_NUMBER, with a name, containing a number * * @param name * Sets the name of the Value * @param num * The number to store in this Value */ public Value( String name, double num ) { // clearValue(); setValue( num ); setName( name ); }
/** * Constructs a new Value of Type VALUE_TYPE_DATE, with a name, containing a Date * * @param name * Sets the name of the Value * @param dat * The date to store in this Value */ public Value( String name, Date dat ) { // clearValue(); setValue( dat ); setName( name ); }
/** * Constructs a new Value of Type VALUE_TYPE_BOOLEAN, with a name, containing a boolean value * * @param name * Sets the name of the Value * @param bool * The boolean to store in this Value */ public Value( String name, boolean bool ) { // clearValue(); setValue( bool ); setName( name ); }
/** * Constructs a new Value of Type VALUE_TYPE_INTEGER, with a name, containing an integer number * * @param name * Sets the name of the Value * @param l * The integer to store in this Value */ public Value( String name, long l ) { // clearValue(); setValue( l ); setName( name ); }
public void jsConstructor( String name, String value ) { setName( name ); setValue( value ); }
/** * Constructs a new Value of Type VALUE_TYPE_BINARY, with a name, containing a bytes value * * @param name * Sets the name of the Value * @param b * The bytes to store in this Value */ public Value( String name, byte[] b ) { clearValue(); setValue( b ); setName( name ); }
nameBuffer.append( dis.readChar() ); setName( new String( nameBuffer ) );
setName( metaData.getName() );
res.setName( rename[i] ); res.setType( type[i] );
res.setName( rename[i] ); res.setType( type[i] );
/** * Constructs a new Value as a copy of another value * * @param v * The Value to be copied */ public Value( Value v ) { if ( v != null ) { // setType(v.getType()); // Is this really needed??? value = v.getValueCopy(); setName( v.getName() ); setLength( v.getLength(), v.getPrecision() ); setNull( v.isNull() ); setOrigin( v.origin ); } else { clearValue(); setNull( true ); } }
int prec = Const.toInt( XMLHandler.getTagValue( valnode, "precision" ), -1 ); setName( valname ); setValue( text ); setLength( len, prec );