@Override public String toString() { return "{GphotoName value=" + getValue() + "}"; }
/** * Constructor (mutable or immutable). * * @param value immutable canonical name or <code>null</code> for a mutable * canonical name */ public GphotoName(String value) { super(Namespaces.PHOTOS_NAMESPACE, XML_NAME, null, value); setRequired(false); }
public void setName(String name) { GphotoName nameExt = null; if (name != null) { nameExt = new GphotoName(name); } setNameExt(nameExt); }
@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 setName(String name) { GphotoName nameExt = null; if (name != null) { nameExt = new GphotoName(name); } setNameExt(nameExt); }
@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); }
/** * Set the name for the album this entry represents. * * @param name the canonical name of the album. */ public void setName(String name) { if (name != null) { setExtension(new GphotoName(name)); } else { removeExtension(GphotoName.class); } }
@Override public String toString() { return "{GphotoName value=" + getValue() + "}"; }
/** * Constructor (mutable or immutable). * * @param value immutable canonical name or <code>null</code> for a mutable * canonical name */ public GphotoName(String value) { super(Namespaces.PHOTOS_NAMESPACE, XML_NAME, null, value); setRequired(false); }
/** * Set the name for the album this entry represents. * * @param name the canonical name of the album. */ public void setName(String name) { if (name != null) { setExtension(new GphotoName(name)); } else { removeExtension(GphotoName.class); } }
public String getName() { GphotoName name = getNameExt(); return name == null ? null : name.getValue(); }
public String getName() { GphotoName name = getNameExt(); return name == null ? null : name.getValue(); }