public OrgName(OrgBase owner, String code, MultilingualString name, MultilingualString shortName, TimeInterval effectivePeriod, User updatedBy) { this.owner = owner; this.code = code; this.name = name; this.shortName = shortName; this.EffectivePeriod = effectivePeriod; this.updatedBy = updatedBy; }
public OrgOrgRelation(TreeListNode relationshipCategory, String code, String relationshipNo, int seqNo, int level, OrgBase orgSrc, OrgBase orgDst, DateTime effectiveDate, String reference, String remark, User updatedBy) { this.code = code; this.relationshipNo = relationshipNo; this.relationshipCategory = relationshipCategory; this.seqNo = seqNo; this.level = level; this.orgSrc = orgSrc; this.orgDst = orgDst; this.effectivePeriod = new TimeInterval(effectiveDate); this.reference = reference; this.remark = remark; this.updatedBy = updatedBy; }