Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 public virtual void RemoveChild(PropertyTemplateBase child)
 {
     this.children.Remove(child);
     child.Parent = null;
 }
Esempio n. 5
0
 public virtual bool AddChild(PropertyTemplateBase child)
 {
     this.children.Add(child);
     child.Parent = this;
     return(true);
 }
Esempio n. 6
0
 public PropertyValueContainerBase(PropertyTemplateBase template)
 {
     this.template = template;
 }