Ejemplo n.º 1
0
 /**
  * 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);
     }
 }
Ejemplo n.º 2
0
        /**
         * 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;
        }
Ejemplo n.º 3
0
 /**
  * Build out this description with a name.
  *
  * @param name The name.
  * @return this.
  */
 public PlaceDescription SetName(TextValue name)
 {
     AddName(name);
     return this;
 }
Ejemplo n.º 4
0
        /**
         * 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;
        }
Ejemplo n.º 5
0
 /**
  * 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;
 }
Ejemplo n.º 6
0
        /**
         * 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);
        }
Ejemplo n.º 7
0
 /**
  * Build up this agent with a name.
  * 
  * @param name The name.
  * @return this.
  */
 public Agent SetName(TextValue name)
 {
     AddName(name);
     return this;
 }
Ejemplo n.º 8
0
 /**
  * Build out this descriptor with a description.
  * @param description The description.
  * @return this.
  */
 public FieldDescriptor SetDescription(TextValue description)
 {
     AddDescription(description);
     return this;
 }
Ejemplo n.º 9
0
 /**
  * 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);
     }
 }
Ejemplo n.º 10
0
 /**
  * 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);
     }
 }