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