code: protected boolean semanticallyEquivalent(BioPAXElement element)
  	{
  		final chemicalStructure that = (chemicalStructure) element;
  
  		return
  			(STRUCTURE_DATA != null ?
  				STRUCTURE_DATA.equals(that.getSTRUCTURE_DATA()) :
  				that.getSTRUCTURE_DATA() == null)
  				&&
  
  				(STRUCTURE_FORMAT != null ?
  					STRUCTURE_FORMAT.equals(that.getSTRUCTURE_FORMAT()) :
  					that.getSTRUCTURE_FORMAT() == null);
  	}
docs: --------------------- Interface BioPAXElement ---------------------