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))); }
public virtual void SetMax(Net.Vpc.Upa.Types.Year newMax) { max = newMax; }
public virtual void SetMin(Net.Vpc.Upa.Types.Year newMin) { min = newMin; }