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