Exemplo n.º 1
0
 public YearType(string name, System.Type type, Net.Vpc.Upa.Types.Year min, Net.Vpc.Upa.Types.Year max, bool nullable)  : base(name, type == null ? typeof(Net.Vpc.Upa.Types.Year) : type, 0, 0, nullable)
 {
     if (type != null && !type.Equals(typeof(Net.Vpc.Upa.Types.Year)) && !type.Equals(typeof(Net.Vpc.Upa.Types.Temporal)))
     {
         throw new Net.Vpc.Upa.Exceptions.IllegalArgumentException("Invalid Temporal Type " + type);
     }
     this.min = min;
     this.max = max;
     SetDefaultNonNullValue(Convert(new Net.Vpc.Upa.Types.DateTime(0)));
 }
Exemplo n.º 2
0
 public virtual void SetMax(Net.Vpc.Upa.Types.Year newMax)
 {
     max = newMax;
 }
Exemplo n.º 3
0
 public virtual void SetMin(Net.Vpc.Upa.Types.Year newMin)
 {
     min = newMin;
 }