public PartyPropertyTemplate(Party party, PropertyTemplateBase propertyTemplate, String description, String reference, String remark, TimeInterval effectivePeriod, User user) : base(party, description, reference, remark, effectivePeriod, user) { this.propertyTemplate = propertyTemplate; }
public PartyPropertyValueContainer(Party party, PropertyTemplateBase propertyTemplate, PropertyValueContainerBase propertyValueContainer, String description, String reference, String remark, TimeInterval effectivePeriod, User user) : base(party, propertyTemplate, description, reference, remark, effectivePeriod, user) { this.propertyValueContainer = propertyValueContainer; }
private int SetRelation(int seqNo, int level, PropertyTemplateBase child) { child.LevelNo = level; child.Parent = this; child.SeqNo = seqNo; if (child is PropertyTemplateGroup) { ((PropertyTemplateGroup)child).IsRoot = false; } return(seqNo); }
public virtual void RemoveChild(PropertyTemplateBase child) { this.children.Remove(child); child.Parent = null; }
public virtual bool AddChild(PropertyTemplateBase child) { this.children.Add(child); child.Parent = this; return(true); }
public PropertyValueContainerBase(PropertyTemplateBase template) { this.template = template; }