public MetadataAttributeModel Kopie(long number, int numberOfSourceInPackage)
{
return new MetadataAttributeModel
{
Id = this.Id,
Number = number,
ParentModelNumber = this.ParentModelNumber,
MetadataStructureId = this.MetadataStructureId,
Parent = this.Parent,
Source = this.Source,
DisplayName = this.DisplayName,
Discription = this.Discription,
ConstraintDescription = this.ConstraintDescription,
DataType = this.DataType,
SystemType = this.SystemType,
MinCardinality = this.MinCardinality,
MaxCardinality = this.MaxCardinality,
NumberOfSourceInPackage = numberOfSourceInPackage,
first = false,
DomainList = this.DomainList,
last = false,
MetadataAttributeId = this.MetadataAttributeId,
ParentStepId = this.ParentStepId,
Errors = null
};
}