Esempio n. 1
0
 public MonthType(string name, System.Type type, Net.Vpc.Upa.Types.Month min, Net.Vpc.Upa.Types.Month max, bool nullable)  : base(name, type == null ? typeof(Net.Vpc.Upa.Types.Month) : type, 0, 0, nullable)
 {
     if (type != null && !type.Equals(typeof(Net.Vpc.Upa.Types.Month)) && !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)));
 }
Esempio n. 2
0
 public virtual void SetMax(Net.Vpc.Upa.Types.Month newMax)
 {
     max = newMax;
 }
Esempio n. 3
0
 public virtual void SetMin(Net.Vpc.Upa.Types.Month newMin)
 {
     min = newMin;
 }