/** * Add a name to the list of standardized names. * * @param name The name to be added. */ public void AddName(TextValue name) { if (name != null) { if (_names == null) { _names = new List<TextValue>(); } _names.Add(name); } }
/** * Build out this source description with a description. * @param description The description. * @return this. */ public SourceDescription SetDescription(TextValue description) { if (this._descriptions == null) { this._descriptions = new List<TextValue>(); } this._descriptions.Add(description); return this; }
/** * Build out this description with a name. * * @param name The name. * @return this. */ public PlaceDescription SetName(TextValue name) { AddName(name); return this; }
/** * Build out this source description with a title. * @param title The title. * @return this. */ public SourceDescription SetTitle(TextValue title) { if (this._titles == null) { this._titles = new List<TextValue>(); } this._titles.Add(title); return this; }
/** * Build this out by applying a label for the title of this description. * @param titleLabel The title label. * @return this. */ public SourceDescription SetTitleLabel(TextValue titleLabel) { TitleLabel = titleLabel; return this; }
/** * Add a name. * * param name The name. */ public void AddName(TextValue name) { if (this._names == null) { this._names = new List<TextValue>(); } this._names.Add(name); }
/** * Build up this agent with a name. * * @param name The name. * @return this. */ public Agent SetName(TextValue name) { AddName(name); return this; }
/** * Build out this descriptor with a description. * @param description The description. * @return this. */ public FieldDescriptor SetDescription(TextValue description) { AddDescription(description); return this; }
/** * Add a description. * * @param description The description to be added. */ public void AddDescription(TextValue description) { if (description != null) { if (this._descriptions == null) { this._descriptions = new List<TextValue>(); } this._descriptions.Add(description); } }
/** * Add a normalized extension to the list. * * @param normalizedExtension The normalizedExtension to be added. */ public void AddNormalizedExtension(TextValue normalizedExtension) { if (normalizedExtension != null) { if (_normalizedExtensions == null) { _normalizedExtensions = new List<TextValue>(); } _normalizedExtensions.Add(normalizedExtension); } }