public void setUsername(String username) { GphotoUsername ext = null; if (username != null) { ext = new GphotoUsername(username); } setUsernameExt(ext); } }
@Override public String toString() { return "{GphotoUsername value=" + getValue() + "}"; }
/** * Constructor (mutable or immutable). * * @param value immutable username or <code>null</code> for a mutable username */ public GphotoUsername(String value) { super(Namespaces.PHOTOS_NAMESPACE, XML_NAME, null, value); setRequired(false); }
@Override public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); declare(extProfile, GphotoUsername.getDefaultDescription(false, false)); declare(extProfile, GphotoNickname.getDefaultDescription(false, false)); declare(extProfile, GphotoThumbnail.getDefaultDescription(false, false)); declare(extProfile, GphotoQuotaUsed.getDefaultDescription(false, false)); declare(extProfile, GphotoQuotaLimit.getDefaultDescription(false, false)); declare(extProfile, GphotoMaxPhotos.getDefaultDescription(false, false)); }
@Override public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); declare(extProfile, GphotoUsername.getDefaultDescription(false, false)); declare(extProfile, GphotoNickname.getDefaultDescription(false, false)); declare(extProfile, GphotoThumbnail.getDefaultDescription(false, false)); declare(extProfile, GphotoQuotaUsed.getDefaultDescription(false, false)); declare(extProfile, GphotoQuotaLimit.getDefaultDescription(false, false)); declare(extProfile, GphotoMaxPhotos.getDefaultDescription(false, false)); }
public void setUsername(String username) { GphotoUsername usernameExt = null; if (username != null) { usernameExt = new GphotoUsername(username); } setUsernameExt(usernameExt); }
@Override public String toString() { return "{GphotoUsername value=" + getValue() + "}"; }
@Override @SuppressWarnings("deprecation") public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); declare(extProfile, PheedThumbnail.getDefaultDescription()); declare(extProfile, PheedImageUrl.getDefaultDescription()); declare(extProfile, GphotoName.getDefaultDescription(false, false)); declare(extProfile, GphotoLocation.getDefaultDescription(false, false)); declare(extProfile, GphotoTimestamp.getDefaultDescription(false, false)); declare(extProfile, GphotoAccess.getDefaultDescription(false, false)); declare(extProfile, GphotoPhotosUsed.getDefaultDescription(false, false)); declare(extProfile, GphotoPhotosLeft.getDefaultDescription(false, false)); declare(extProfile, GphotoBytesUsed.getDefaultDescription(false, false)); declare(extProfile, GphotoUsername.getDefaultDescription(false, false)); declare(extProfile, GphotoNickname.getDefaultDescription(false, false)); declare(extProfile, GphotoCommentsEnabled.getDefaultDescription(false, false)); declare(extProfile, GphotoCommentCount.getDefaultDescription(false, false)); pointData.declareExtensions(extProfile); boundingBoxData.declareExtensions(extProfile); mediaData.declareExtensions(extProfile); }
/** * Constructor (mutable or immutable). * * @param value immutable username or <code>null</code> for a mutable username */ public GphotoUsername(String value) { super(Namespaces.PHOTOS_NAMESPACE, XML_NAME, null, value); setRequired(false); }
public void setUsername(String username) { GphotoUsername ext = null; if (username != null) { ext = new GphotoUsername(username); } setUsernameExt(ext); } }
public String getUsername() { GphotoUsername ext = getUsernameExt(); return ext == null ? null : ext.getValue(); }
@Override @SuppressWarnings("deprecation") public void declareExtensions(ExtensionProfile extProfile) { super.declareExtensions(extProfile); declare(extProfile, PheedThumbnail.getDefaultDescription()); declare(extProfile, PheedImageUrl.getDefaultDescription()); declare(extProfile, GphotoName.getDefaultDescription(false, false)); declare(extProfile, GphotoLocation.getDefaultDescription(false, false)); declare(extProfile, GphotoTimestamp.getDefaultDescription(false, false)); declare(extProfile, GphotoAccess.getDefaultDescription(false, false)); declare(extProfile, GphotoPhotosUsed.getDefaultDescription(false, false)); declare(extProfile, GphotoPhotosLeft.getDefaultDescription(false, false)); declare(extProfile, GphotoBytesUsed.getDefaultDescription(false, false)); declare(extProfile, GphotoUsername.getDefaultDescription(false, false)); declare(extProfile, GphotoNickname.getDefaultDescription(false, false)); declare(extProfile, GphotoCommentsEnabled.getDefaultDescription(false, false)); declare(extProfile, GphotoCommentCount.getDefaultDescription(false, false)); pointData.declareExtensions(extProfile); boundingBoxData.declareExtensions(extProfile); mediaData.declareExtensions(extProfile); }
public void setUsername(String username) { GphotoUsername usernameExt = null; if (username != null) { usernameExt = new GphotoUsername(username); } setUsernameExt(usernameExt); }
public String getUsername() { GphotoUsername ext = getUsernameExt(); return ext == null ? null : ext.getValue(); }
/** * Set the username for the owner of the album this entry represents. * * @param username the username of the owner. */ public void setUsername(String username) { if (username != null) { setExtension(new GphotoUsername(username)); } else { removeExtension(GphotoUsername.class); } }
public String getUsername() { GphotoUsername username = getUsernameExt(); return username == null ? null : username.getValue(); }
/** * Set the username for the user this item represents. * * @param username the username of the user. */ public void setUsername(String username) { if (username != null) { setExtension(new GphotoUsername(username)); } else { removeExtension(GphotoUsername.class); } }
public String getUsername() { GphotoUsername username = getUsernameExt(); return username == null ? null : username.getValue(); }
/** * Set the username for the owner of the album this entry represents. * * @param username the username of the owner. */ public void setUsername(String username) { if (username != null) { setExtension(new GphotoUsername(username)); } else { removeExtension(GphotoUsername.class); } }
/** * Set the username for the user this item represents. * * @param username the username of the user. */ public void setUsername(String username) { if (username != null) { setExtension(new GphotoUsername(username)); } else { removeExtension(GphotoUsername.class); } }