protected SubstanceAmount typedCopy() { return copy(); }
public SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent copy() { SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent dst = new SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent(); copyValues(dst); dst.degree = degree == null ? null : degree.copy(); dst.amount = amount == null ? null : amount.copy(); return dst; }
public SubstancePolymerRepeatRepeatUnitComponent copy() { SubstancePolymerRepeatRepeatUnitComponent dst = new SubstancePolymerRepeatRepeatUnitComponent(); copyValues(dst); dst.orientationOfPolymerisation = orientationOfPolymerisation == null ? null : orientationOfPolymerisation.copy(); dst.repeatUnit = repeatUnit == null ? null : repeatUnit.copy(); dst.amount = amount == null ? null : amount.copy(); if (degreeOfPolymerisation != null) { dst.degreeOfPolymerisation = new ArrayList<SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent>(); for (SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent i : degreeOfPolymerisation) dst.degreeOfPolymerisation.add(i.copy()); }; if (structuralRepresentation != null) { dst.structuralRepresentation = new ArrayList<SubstancePolymerRepeatRepeatUnitStructuralRepresentationComponent>(); for (SubstancePolymerRepeatRepeatUnitStructuralRepresentationComponent i : structuralRepresentation) dst.structuralRepresentation.add(i.copy()); }; return dst; }
public SubstancePolymerMonomerSetStartingMaterialComponent copy() { SubstancePolymerMonomerSetStartingMaterialComponent dst = new SubstancePolymerMonomerSetStartingMaterialComponent(); copyValues(dst); dst.material = material == null ? null : material.copy(); dst.type = type == null ? null : type.copy(); dst.isDefining = isDefining == null ? null : isDefining.copy(); dst.amount = amount == null ? null : amount.copy(); return dst; }
public SubstanceMoiety copy() { SubstanceMoiety dst = new SubstanceMoiety(); copyValues(dst); dst.role = role == null ? null : role.copy(); dst.identifier = identifier == null ? null : identifier.copy(); dst.name = name == null ? null : name.copy(); dst.stereochemistry = stereochemistry == null ? null : stereochemistry.copy(); dst.opticalActivity = opticalActivity == null ? null : opticalActivity.copy(); dst.molecularFormula = molecularFormula == null ? null : molecularFormula.copy(); dst.amount = amount == null ? null : amount.copy(); return dst; }
protected SubstanceAmount typedCopy() { return copy(); }
public SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent copy() { SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent dst = new SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent(); copyValues(dst); dst.degree = degree == null ? null : degree.copy(); dst.amount = amount == null ? null : amount.copy(); return dst; }
public SubstancePolymerRepeatRepeatUnitComponent copy() { SubstancePolymerRepeatRepeatUnitComponent dst = new SubstancePolymerRepeatRepeatUnitComponent(); copyValues(dst); dst.orientationOfPolymerisation = orientationOfPolymerisation == null ? null : orientationOfPolymerisation.copy(); dst.repeatUnit = repeatUnit == null ? null : repeatUnit.copy(); dst.amount = amount == null ? null : amount.copy(); if (degreeOfPolymerisation != null) { dst.degreeOfPolymerisation = new ArrayList<SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent>(); for (SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent i : degreeOfPolymerisation) dst.degreeOfPolymerisation.add(i.copy()); }; if (structuralRepresentation != null) { dst.structuralRepresentation = new ArrayList<SubstancePolymerRepeatRepeatUnitStructuralRepresentationComponent>(); for (SubstancePolymerRepeatRepeatUnitStructuralRepresentationComponent i : structuralRepresentation) dst.structuralRepresentation.add(i.copy()); }; return dst; }
public SubstancePolymerMonomerSetStartingMaterialComponent copy() { SubstancePolymerMonomerSetStartingMaterialComponent dst = new SubstancePolymerMonomerSetStartingMaterialComponent(); copyValues(dst); dst.material = material == null ? null : material.copy(); dst.type = type == null ? null : type.copy(); dst.isDefining = isDefining == null ? null : isDefining.copy(); dst.amount = amount == null ? null : amount.copy(); return dst; }
public SubstanceMoiety copy() { SubstanceMoiety dst = new SubstanceMoiety(); copyValues(dst); dst.role = role == null ? null : role.copy(); dst.identifier = identifier == null ? null : identifier.copy(); dst.name = name == null ? null : name.copy(); dst.stereochemistry = stereochemistry == null ? null : stereochemistry.copy(); dst.opticalActivity = opticalActivity == null ? null : opticalActivity.copy(); dst.molecularFormula = molecularFormula == null ? null : molecularFormula.copy(); dst.amount = amount == null ? null : amount.copy(); return dst; }