// src directory =/home/dke/Documents/project/nexus//src/au/gov/ansto/bragg/nexus/auto/
package au.gov.ansto.bragg.nexus.auto;
import neutron.nexus.*;
import au.gov.ansto.bragg.nexus.base.*;

//  Generated from XML template(http://svn.nexusformat.org/definitions/trunk/base_classes/NXdata.xml)
/** 
URL:     http://www.nexus.anl.gov/classes/xml/NXdata.xml
Editor:  NIAC
$Id$

Template of plottable data and their dimension scales. It is mandatory that
there is at least one group of this type in each NXentry group.  Note that
"variable" and "data" can be defined with different names.  The "signal" and
"axes" attribute of the "data" item define which items are plottable data and
which are dimension scales.

 */

 public class NXdata
 extends NXgroup_ {


/** Property string for bean property 'variable' */
final static public String $variable = "variable";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Dimension scale defining an axis of the data}? */
private Variable variable_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Dimension scale defining an axis of the data}? */
public Variable getVariable(){
 return variable_;
}
public void setVariable(final Variable variable){
 variable_ = variable;
}

/** Property string for bean property 'variable_errors' */
final static public String $variable_errors = "variable_errors";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Errors associated with axis "variable"}? */
private Variable_errors variable_errors_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Errors associated with axis "variable"}? */
public Variable_errors getVariable_errors(){
 return variable_errors_;
}
public void setVariable_errors(final Variable_errors variable_errors){
 variable_errors_ = variable_errors;
}

/** Property string for bean property 'data' */
final static public String $data = "data";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Data values}? */
private Data data_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Data values}? */
public Data getData(){
 return data_;
}
public void setData(final Data data){
 data_ = data;
}

/** Property string for bean property 'errors' */
final static public String $errors = "errors";

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Standard deviations of data values - the data array is identified by the attribute signal="1". This array must have the same dimensions as the data}? */
private Errors errors_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Standard deviations of data values - the data array is identified by the attribute signal="1". This array must have the same dimensions as the data}? */
public Errors getErrors(){
 return errors_;
}
public void setErrors(final Errors errors){
 errors_ = errors;
}


/** constructor */
public NXdata(){
 super();
}



static public class Variable
 extends NXdataItem_ {


/** Property string for bean property 'long_name' */
final static public String $long_name = "long_name";

// indexed = false
// required = false
private String long_name_;
public String getLong_name(){
 return long_name_;
}
public void setLong_name(final String long_name){
 long_name_ = long_name;
}

/** Property string for bean property 'distribution' */
final static public String $distribution = "distribution";

// indexed = false
// required = false
private String distribution_;
public String getDistribution(){
 return distribution_;
}
public void setDistribution(final String distribution){
 distribution_ = distribution;
}

/** Property string for bean property 'first_good' */
final static public String $first_good = "first_good";

// indexed = false
// required = false
private String first_good_;
public String getFirst_good(){
 return first_good_;
}
public void setFirst_good(final String first_good){
 first_good_ = first_good;
}

/** Property string for bean property 'last_good' */
final static public String $last_good = "last_good";

// indexed = false
// required = false
private String last_good_;
public String getLast_good(){
 return last_good_;
}
public void setLast_good(final String last_good){
 last_good_ = last_good;
}


/** constructor */
public Variable(){
 super();
}


/** constructor */
public Variable(Object content){
 super(content);
}

}


static public class Variable_errors
 extends NXdataItem_ {



/** constructor */
public Variable_errors(){
 super();
}


/** constructor */
public Variable_errors(Object content){
 super(content);
}

}


static public class Data
 extends NXdataItem_ {


/** Property string for bean property 'signal' */
final static public String $signal = "signal";

// indexed = false
// required = false
private String signal_;
public String getSignal(){
 return signal_;
}
public void setSignal(final String signal){
 signal_ = signal;
}

/** Property string for bean property 'axes' */
final static public String $axes = "axes";

// indexed = false
// required = false
private String axes_;
public String getAxes(){
 return axes_;
}
public void setAxes(final String axes){
 axes_ = axes;
}

/** Property string for bean property 'long_name' */
final static public String $long_name = "long_name";

// indexed = false
// required = false
private String long_name_;
public String getLong_name(){
 return long_name_;
}
public void setLong_name(final String long_name){
 long_name_ = long_name;
}


/** constructor */
public Data(){
 super();
}


/** constructor */
public Data(Object content){
 super(content);
}

}


static public class Errors
 extends NXdataItem_ {



/** constructor */
public Errors(){
 super();
}


/** constructor */
public Errors(Object content){
 super(content);
}

}
}
