//generated Class Substantiv
// Do not edit outside marked user editing areas (UEA)


//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~2(ZK[(dgo
//RCS-generated log goes here. Do not edit this UEA
//$Log: Substantiv.js,v $
//Revision 1.1  2003-04-16 14:59:13+02  bh
//<>
//
//Revision 1.0  2001-06-06 09:47:33+02  bh
//Initial revision
//
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~2(ZK[(dgo


/*
* .<!>
*<P>
*@author $Author: bh $.<!>
*@version $Revision: 1.1 $
*/
//static attributes

//designed operations
	function Substantiv_getSex () {

//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~(om|[mp( !
		return this.sex;
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~(om|[mp( !
	}

	function Substantiv_toString ( asPostfix) {

//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~(|g[|zafo( jggdmif!
		var result = 0;
		if(asPostfix) result = this.postfix;
		else result = this.prefix;
		return result;
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~(|g[|zafo( jggdmif!
	}

//constructor
	function Substantiv( thatSex,  thatPrefix,  thatPostfix,  thatTheme) {
//methods
		this.getSex = Substantiv_getSex;
		this.toString = Substantiv_toString;
//associations
//attributes
		this.sex =  0;
		this.prefix =  0;
		this.postfix =  0;

//------------------------------------------>UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~WKgf{|z}k|gz
		this.sex = thatSex;
		this.prefix = thatPrefix;
		this.postfix = thatPostfix;
		this.forTheme = thatTheme;
//<------------------------------------------UEAlm&mpxmz|mie&j}dd{`a|&[}j{|if|a~WKgf{|z}k|gz
	}

//superclass
	Substantiv.prototype = new ThemedWordlet;