public void setChecksum(String checksum) { GphotoChecksum ext = null; if (checksum != null) { ext = new GphotoChecksum(checksum); } setChecksumExt(ext); }
public void setChecksum(String checksum) { GphotoChecksum ext = null; if (checksum != null) { ext = new GphotoChecksum(checksum); } setChecksumExt(ext); }
/** * Set the checksum of the photo this item is about. * * @param checksum the checksum on the photo. */ public void setChecksum(String checksum) { if (checksum != null) { setExtension(new GphotoChecksum(checksum)); } else { removeExtension(GphotoChecksum.class); } }
/** * Set the checksum of the photo this item is about. * * @param checksum the checksum on the photo. */ public void setChecksum(String checksum) { if (checksum != null) { setExtension(new GphotoChecksum(checksum)); } else { removeExtension(GphotoChecksum.class); } }