public Fact(FactType factType, DateInfo date, PlaceReference place, String value) { SetType(factType); SetDate(date); SetPlace(place); SetValue(value); }
/// <summary> /// Visits the place reference. /// </summary> /// <param name="place">The place reference to visit.</param> public override void VisitPlaceReference(Gx.Conclusion.PlaceReference place) { if (place.Id != null) { this.dictionary.Add(place.Id, place); } base.VisitPlaceReference(place); }
public virtual void VisitPlaceReference(PlaceReference place) { this.contextStack.Push(place); List<Field> fields = place.Fields; if (fields != null) { foreach (Field field in fields) { field.Accept(this); } } this.contextStack.Pop(); }
/** * Create a date/place event with the passed in type and values. * * @param EventType the event type. * @param date The date of applicability of this event. * @param place The place of applicability of this event. */ public Event(EventType EventType, DateInfo date, PlaceReference place) { SetType(EventType); SetDate(date); SetPlace(place); }
/** * Build up this event with a place. * * @param place The place. * @return this. */ public Event SetPlace(PlaceReference place) { Place = place; return(this); }
/** * Build out this coverage with spatial coverage. * * @param spatial The spatial coverage. * @return this. */ public Coverage SetSpatial(PlaceReference spatial) { Spatial = spatial; return this; }
/// <summary> /// Visits the place reference. /// </summary> /// <param name="place">The place reference to visit.</param> public virtual void VisitPlaceReference(PlaceReference place) { this.contextStack.Push(place); if (place.Fields != null) { foreach (Field field in place.Fields) { VisitField(field); } } this.contextStack.Pop(); }
/** * Build up this event with a place. * * @param place The place. * @return this. */ public Event SetPlace(PlaceReference place) { Place = place; return this; }
public Fact(FactType factType, DateInfo date, PlaceReference place) :this(factType, date, place, null) { }
public override void VisitPlaceReference(PlaceReference place) { BindIfNeeded(place); base.VisitPlaceReference(place); }
public Fact(FactType factType, DateInfo date, PlaceReference place) : this(factType, date, place, null) { }