public void setByteValue(byte value) {if (!(fieldsData instanceof Byte)) {throw new IllegalArgumentException("cannot change value type from " + fieldsData.getClass().getSimpleName() + " to Byte");}fieldsData = Byte.valueOf(value);}

public void setByteValue ( byte value ) { if ( ! ( fieldsData instanceof Byte ) ) { throw new IllegalArgumentException ( "cannot change value type from " + fieldsData . getClass ( ) . getSimpleName ( ) + " to Byte" ) ; } fieldsData = Byte . valueOf ( value ) ; }
public virtual void SetByteValue(byte value){if (!(FieldsData is Byte)){throw new System.ArgumentException("cannot change value type from " + FieldsData.GetType().Name + " to Byte");}FieldsData = new Byte(value);}
