// 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/NXpolarizer.xml)
/** 
URL:     http://www.neutron.anl.gov/nexus/xml/NXpolarizer.xml
Editor:  Nicholas C. Maliszewskyj <nickm@nist.gov>
$Id$

Template of a beamline spin polarizer.

This is a first cut. This is NOT the last word.

 */

 public class NXpolarizer
 extends NXgroup_ {


/** 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))
/** {crystal,supermirror}? */
private Type type_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {crystal,supermirror}? */
public Type getType(){
 return type_;
}
public void setType(final Type type){
 type_ = type;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** ? */
private Composition composition_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** ? */
public Composition getComposition(){
 return composition_;
}
public void setComposition(final Composition composition){
 composition_ = composition;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {[hkl] values of nominal reflection}? */
private Reflection reflection_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {[hkl] values of nominal reflection}? */
public Reflection getReflection(){
 return reflection_;
}
public void setReflection(final Reflection reflection){
 reflection_ = reflection;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {polarizing efficiency}? */
private Efficiency efficiency_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {polarizing efficiency}? */
public Efficiency getEfficiency(){
 return efficiency_;
}
public void setEfficiency(final Efficiency efficiency){
 efficiency_ = efficiency;
}


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



static public class Type
 extends NXdataItem_ {



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


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

}


static public class Composition
 extends NXdataItem_ {



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


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

}


static public class Reflection
 extends NXdataItem_ {



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


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

}


static public class Efficiency
 extends NXdataItem_ {



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


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

}
}
