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

Template of user's contact information.  The format allows more than 
one user with the same affiliation and contact information, but a 
second NXuser group should be used if they have different 
affiliations, etc.

 */

 public class NXuser
 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))
/** {Name of user responsible for this entry}? */
private ExtraName extraName_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Name of user responsible for this entry}? */
public ExtraName getExtraName(){
 return extraName_;
}
public void setExtraName(final ExtraName extraName){
 extraName_ = extraName;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {role of user responsible for this entry}{Suggested roles are "local_contact", "principal_investigator", and "proposer"}? */
private Role role_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {role of user responsible for this entry}{Suggested roles are "local_contact", "principal_investigator", and "proposer"}? */
public Role getRole(){
 return role_;
}
public void setRole(final Role role){
 role_ = role;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Affiliation of user}? */
private Affiliation affiliation_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Affiliation of user}? */
public Affiliation getAffiliation(){
 return affiliation_;
}
public void setAffiliation(final Affiliation affiliation){
 affiliation_ = affiliation;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Address of user}? */
private Address address_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Address of user}? */
public Address getAddress(){
 return address_;
}
public void setAddress(final Address address){
 address_ = address;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Telephone number of user}? */
private Telephone_number telephone_number_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Telephone number of user}? */
public Telephone_number getTelephone_number(){
 return telephone_number_;
}
public void setTelephone_number(final Telephone_number telephone_number){
 telephone_number_ = telephone_number;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Fax number of user}? */
private Fax_number fax_number_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Fax number of user}? */
public Fax_number getFax_number(){
 return fax_number_;
}
public void setFax_number(final Fax_number fax_number){
 fax_number_ = fax_number;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Email of user}? */
private Email email_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {Email of user}? */
public Email getEmail(){
 return email_;
}
public void setEmail(final Email email){
 email_ = email;
}

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

// indexed = false
// required = false
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {facility based unique identifier for this person e.g. their identification code on the facility address/contact database}? */
private Facility_user_id facility_user_id_;
// Extracted NeXus multiplicity indicator (?) means (May occur 0 or one times (i.e. no more than once))
/** {facility based unique identifier for this person e.g. their identification code on the facility address/contact database}? */
public Facility_user_id getFacility_user_id(){
 return facility_user_id_;
}
public void setFacility_user_id(final Facility_user_id facility_user_id){
 facility_user_id_ = facility_user_id;
}


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



static public class ExtraName
 extends NXdataItem_ {



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


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

}


static public class Role
 extends NXdataItem_ {



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


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

}


static public class Affiliation
 extends NXdataItem_ {



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


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

}


static public class Address
 extends NXdataItem_ {



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


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

}


static public class Telephone_number
 extends NXdataItem_ {



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


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

}


static public class Fax_number
 extends NXdataItem_ {



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


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

}


static public class Email
 extends NXdataItem_ {



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


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

}


static public class Facility_user_id
 extends NXdataItem_ {



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


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

}
}
