private void setAtomArray(CMLAtomArray atomArray) { for (CMLAtomArray aa : this.getAtomArrayElements()) { aa.detach(); } super.appendChild(atomArray); }
/** Format of the reaction component. * Indicates how the components of reactionScheme, reactionStepList, etc. should be processed. No controlled vocabulary. One example is format="cmlSnap" asserts that the processor can assume that the reactants and products can be rendered using the CMLSnap design. Note that the reaction can be interpreted without reference to the format, which is primarily a processing instruction. * @param reactionStep child to add */ public void addReactionStep(AbstractReactionStep reactionStep) { reactionStep.detach(); this.appendChild(reactionStep); } /** Format of the reaction component.
/** Yield of a reaction or reactionStep. * Yields can be given on either element. They should lie in the range 0 to 1 inclusive (i.e. percentages will need to be converted). Software may use yield to calculate amounts of substances created during a reaction or series of reactions. * @param map child to add */ public void addMap(AbstractMap map) { map.detach(); this.appendChild(map); } /** Yield of a reaction or reactionStep.
/** An inline representation of the object. * No description * @param atomArray child to add */ public void addAtomArray(AbstractAtomArray atomArray) { atomArray.detach(); this.appendChild(atomArray); } /** An inline representation of the object.
/** null * @param molecule child to add */ public void addMolecule(AbstractMolecule molecule) { molecule.detach(); this.appendChild(molecule); } /** null
/** Format of the reaction component. * Indicates how the components of reactionScheme, reactionStepList, etc. should be processed. No controlled vocabulary. One example is format="cmlSnap" asserts that the processor can assume that the reactants and products can be rendered using the CMLSnap design. Note that the reaction can be interpreted without reference to the format, which is primarily a processing instruction. * @param label child to add */ public void addLabel(AbstractLabel label) { label.detach(); this.appendChild(label); } /** Format of the reaction component.
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param fragment child to add */ public void addFragment(AbstractFragment fragment) { fragment.detach(); this.appendChild(fragment); } /** Role of the object.
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param link child to add */ public void addLink(AbstractLink link) { link.detach(); this.appendChild(link); } /** Role of the object.
/** The physical state of the substance. * No fixed semantics or default. * @param parameterList child to add */ public void addParameterList(AbstractParameterList parameterList) { parameterList.detach(); this.appendChild(parameterList); } /** The physical state of the substance.
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param scalar child to add */ public void addScalar(AbstractScalar scalar) { scalar.detach(); this.appendChild(scalar); } /** Role of the object.
/** The physical state of the substance. * No fixed semantics or default. * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** The physical state of the substance.
/** Role of the object. * How the object functions or its position in the architecture. No controlled vocabulary. * @param metadataList child to add */ public void addMetadataList(AbstractMetadataList metadataList) { metadataList.detach(); this.appendChild(metadataList); } /** Role of the object.
/** null * @param fragmentList child to add */ public void addFragmentList(AbstractFragmentList fragmentList) { fragmentList.detach(); this.appendChild(fragmentList); } /** null
/** null * @param molecule child to add */ public void addMolecule(AbstractMolecule molecule) { molecule.detach(); this.appendChild(molecule); } /** null
/** The spaceType of the lattice. * Usually real or reciprocal. No default. The semantics of this are software-dependent (i.e. this Schema does not check for consistency for unitTypes, etc. * @param scalar child to add */ public void addScalar(AbstractScalar scalar) { scalar.detach(); this.appendChild(scalar); } /** The spaceType of the lattice.
/** null * @param list child to add */ public void addList(AbstractList list) { list.detach(); this.appendChild(list); } /** null
/** null * @param cellParameter child to add */ public void addCellParameter(AbstractCellParameter cellParameter) { cellParameter.detach(); this.appendChild(cellParameter); } /** null
/** null * @param atomType child to add */ public void addAtomType(AbstractAtomType atomType) { atomType.detach(); this.appendChild(atomType); } /** null
/** The order of the bond. * There is NO default. This order is for bookkeeping only and is not related to length, QM calculations or other experimental or theoretical calculations. * @param length child to add */ public void addLength(AbstractLength length) { length.detach(); this.appendChild(length); } /** The order of the bond.