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

This is the description of the general shape and size of a 
component, which may be made up of "numobj" separate elements - 
it is used by the NXgeometry.xml class
 */

 public class NXshape
 extends NXgroup_ {


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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {"nxcylinder", "nxbox", "nxsphere", ...}? */
private Shape shape_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {"nxcylinder", "nxbox", "nxsphere", ...}? */
public Shape getShape(){
 return shape_;
}
public void setShape(final Shape shape){
 shape_ = shape;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {physical extent of the object along its local axes (after NXorientation) with the center of mass at the local origin (after NXtranslate).}{The meaning and location of these axes will vary according to the value of the "shape" variable. nshapepar defines how many parameters. For the "nxcylinder" type the paramters are (diameter,height). For the "nxbox" type the parameters are (length,width,height). For the "nxsphere" type the parameters are (diameter).}? */
private Size size_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {physical extent of the object along its local axes (after NXorientation) with the center of mass at the local origin (after NXtranslate).}{The meaning and location of these axes will vary according to the value of the "shape" variable. nshapepar defines how many parameters. For the "nxcylinder" type the paramters are (diameter,height). For the "nxbox" type the parameters are (length,width,height). For the "nxsphere" type the parameters are (diameter).}? */
public Size getSize(){
 return size_;
}
public void setSize(final Size size){
 size_ = size;
}


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



static public class Shape
 extends NXdataItem_ {



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


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

}


static public class Size
 extends NXdataItem_ {



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


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

}
}
