public void setVersion(Long version) { GphotoVersion ext = null; if (version != null) { ext = new GphotoVersion(version); } setVersionExt(ext); }
public void setVersion(Long version) { GphotoVersion ext = null; if (version != null) { ext = new GphotoVersion(version); } setVersionExt(ext); }
/** * Set the version of the photo this item is about. * * @param version the version of the photo. */ public void setVersion(Long version) { if (version != null) { setExtension(new GphotoVersion(version)); } else { removeExtension(GphotoVersion.class); } }
/** * Set the version of the photo this item is about. * * @param version the version of the photo. */ public void setVersion(Long version) { if (version != null) { setExtension(new GphotoVersion(version)); } else { removeExtension(GphotoVersion.class); } }