// 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/NXenvironment.xml)
/** 
URL:     http://www.nexus.anl.gov/classes/xml/NXenvironment.xml
Editor:  NIAC
$Id$

This class describes an external condition applied to the sample
 */

 public class NXenvironment
 extends NXgroup_ {


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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Apparatus identification code/model number; e.g. OC100 011 }? */
private ExtraName extraName_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Apparatus identification code/model number; e.g. OC100 011 }? */
public ExtraName getExtraName(){
 return extraName_;
}
public void setExtraName(final ExtraName extraName){
 extraName_ = extraName;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Alternative short name, perhaps for dashboard display like a present Seblock name}? */
private Short_name short_name_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Alternative short name, perhaps for dashboard display like a present Seblock name}? */
public Short_name getShort_name(){
 return short_name_;
}
public void setShort_name(final Short_name short_name){
 short_name_ = short_name;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Type of apparatus. This could be the SE codes in scheduling database; e.g. OC/100}? */
private Type type_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Type of apparatus. This could be the SE codes in scheduling database; e.g. OC/100}? */
public Type getType(){
 return type_;
}
public void setType(final Type type){
 type_ = type;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Description of the apparatus; e.g. 100mm bore orange cryostat with Roots pump }? */
private Description description_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Description of the apparatus; e.g. 100mm bore orange cryostat with Roots pump }? */
public Description getDescription(){
 return description_;
}
public void setDescription(final Description description){
 description_ = description;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Program controlling the apparatus; e.g. LabView VI name}? */
private Program program_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Program controlling the apparatus; e.g. LabView VI name}? */
public Program getProgram(){
 return program_;
}
public void setProgram(final Program program){
 program_ = program;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {The position and orientation of the apparatus}? */
private Position position_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {The position and orientation of the apparatus}? */
public Position getPosition(){
 return position_;
}
public void setPosition(final Position position){
 position_ = position;
}

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

// indexed = true
// required = false
// Extracted NeXus multiplicity indicator (*) means (May occur 0 or more times)
/** {Additional information, LabView logs, digital photographs, etc}* */
private java.util.List<NXnote> nXnote_;
private java.util.List<NXnote> nXnote(){
 if (nXnote_ == null) nXnote_ = new java.util.ArrayList<NXnote>();
 return nXnote_;
}
// Extracted NeXus multiplicity indicator (*) means (May occur 0 or more times)
/** {Additional information, LabView logs, digital photographs, etc}* */
public NXnote[] getNXnote(){
 return nXnote().toArray(new NXnote[0]);
}
public NXnote getNXnote(int index){
 return nXnote().get(index);
}
public void addNXnote(final NXnote nXnote){
 nXnote().add(nXnote);
}

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

// indexed = true
// required = false
// Extracted NeXus multiplicity indicator (*) means (May occur 0 or more times)
/** * */
private java.util.List<NXsensor> nXsensor_;
private java.util.List<NXsensor> nXsensor(){
 if (nXsensor_ == null) nXsensor_ = new java.util.ArrayList<NXsensor>();
 return nXsensor_;
}
// Extracted NeXus multiplicity indicator (*) means (May occur 0 or more times)
/** * */
public NXsensor[] getNXsensor(){
 return nXsensor().toArray(new NXsensor[0]);
}
public NXsensor getNXsensor(int index){
 return nXsensor().get(index);
}
public void addNXsensor(final NXsensor nXsensor){
 nXsensor().add(nXsensor);
}


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



static public class ExtraName
 extends NXdataItem_ {



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


/** constructor */
public ExtraName(String content){
 super(content);
}

}


static public class Short_name
 extends NXdataItem_ {



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


/** constructor */
public Short_name(String content){
 super(content);
}

}


static public class Type
 extends NXdataItem_ {



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


/** constructor */
public Type(String content){
 super(content);
}

}


static public class Description
 extends NXdataItem_ {



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


/** constructor */
public Description(String content){
 super(content);
}

}


static public class Program
 extends NXdataItem_ {



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


/** constructor */
public Program(String content){
 super(content);
}

}


static public class Position
 extends NXdataItem_ {



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


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

}
}
