/** {@inheritDoc} */ @Override public ICrystal getCrystal() { logger.debug("Getting crystal: ", super.getCrystal()); return super.getCrystal(); }
/** * Returns a String representation of the contents of this * IChemObject. * * @return String representation of content */ @Override public String toString() { StringBuffer buffer = new StringBuffer(64); buffer.append("ChemModel("); buffer.append(hashCode()); if (getMoleculeSet() != null) { buffer.append(", "); buffer.append(getMoleculeSet().toString()); } if (getCrystal() != null) { buffer.append(", "); buffer.append(getCrystal().toString()); } if (getReactionSet() != null) { buffer.append(", "); buffer.append(getReactionSet().toString()); } buffer.append(')'); return buffer.toString(); }
/** * Returns a String representation of the contents of this * IChemObject. * * @return String representation of content */ @Override public String toString() { StringBuffer buffer = new StringBuffer(64); buffer.append("ChemModel("); buffer.append(hashCode()); if (getMoleculeSet() != null) { buffer.append(", "); buffer.append(getMoleculeSet().toString()); } if (getCrystal() != null) { buffer.append(", "); buffer.append(getCrystal().toString()); } if (getReactionSet() != null) { buffer.append(", "); buffer.append(getReactionSet().toString()); } buffer.append(')'); return buffer.toString(); }