public CalculatedMember(org.eigenbase.xom.DOMWrapper _def)
throws org.eigenbase.xom.XOMException
{
try {
org.eigenbase.xom.DOMElementParser _parser = new org.eigenbase.xom.DOMElementParser(_def, "", MondrianDef.class);
org.eigenbase.xom.NodeDef[] _tempArray;
name = (String)_parser.getAttribute("name", "String", null, null, true);
formatString = (String)_parser.getAttribute("formatString", "String", null, null, false);
caption = (String)_parser.getAttribute("caption", "String", null, null, false);
description = (String)_parser.getAttribute("description", "String", null, null, false);
formula = (String)_parser.getAttribute("formula", "String", null, null, false);
dimension = (String)_parser.getAttribute("dimension", "String", null, null, false);
hierarchy = (String)_parser.getAttribute("hierarchy", "String", null, null, false);
parent = (String)_parser.getAttribute("parent", "String", null, null, false);
visible = (Boolean)_parser.getAttribute("visible", "Boolean", null, null, false);
annotations = (Annotations)_parser.getElement(Annotations.class, false);
formulaElement = (Formula)_parser.getElement(Formula.class, false);
cellFormatter = (CellFormatter)_parser.getElement(CellFormatter.class, false);
_tempArray = _parser.getArray(CalculatedMemberProperty.class, 0, 0);
memberProperties = new CalculatedMemberProperty[_tempArray.length];
for (int _i = 0; _i < memberProperties.length; _i++)
memberProperties[_i] = (CalculatedMemberProperty)_tempArray[_i];
} catch(org.eigenbase.xom.XOMException _ex) {
throw new org.eigenbase.xom.XOMException("In " + getName() + ": " + _ex.getMessage());
}
}