func NewAddress(address domain.Address) *AddressDataElement {
	a := &AddressDataElement{
		Name1:       NewAlphaNumeric(address.Name1, 35),
		Name2:       NewAlphaNumeric(address.Name2, 35),
		Street:      NewAlphaNumeric(address.Street, 35),
		PLZ:         NewAlphaNumeric(address.PLZ, 10),
		City:        NewAlphaNumeric(address.City, 35),
		CountryCode: NewCountryCode(address.CountryCode),
		Phone:       NewAlphaNumeric(address.Phone, 35),
		Fax:         NewAlphaNumeric(address.Fax, 35),
		Email:       NewAlphaNumeric(address.Email, 35),
	}
	a.DataElement = NewGroupDataElementGroup(addressGDEG, 9, a)
	return a
}
// NewAddress creates a new AddressDataElement from address
NewAddress creates a new AddressDataElement from address
// NewAddress creates a new AddressDataElement from address
func NewAddress(address domain.Address) *AddressDataElement {
	a := &AddressDataElement{
		Name1:       NewAlphaNumeric(address.Name1, 35),
		Name2:       NewAlphaNumeric(address.Name2, 35),
		Street:      NewAlphaNumeric(address.Street, 35),
		PLZ:         NewAlphaNumeric(address.PLZ, 10),
		City:        NewAlphaNumeric(address.City, 35),
		CountryCode: NewCountryCode(address.CountryCode),
		Phone:       NewAlphaNumeric(address.Phone, 35),
		Fax:         NewAlphaNumeric(address.Fax, 35),
		Email:       NewAlphaNumeric(address.Email, 35),
	}
	a.DataElement = NewGroupDataElementGroup(addressGDEG, 9, a)
	return a
}
func NewAddress ( address domain . Address ) * AddressDataElement { a := & AddressDataElement { Name1 : NewAlphaNumeric ( address . Name1 , 35 ) , Name2 : NewAlphaNumeric ( address . Name2 , 35 ) , Street : NewAlphaNumeric ( address . Street , 35 ) , PLZ : NewAlphaNumeric ( address . PLZ , 10 ) , City : NewAlphaNumeric ( address . City , 35 ) , CountryCode : NewCountryCode ( address . CountryCode ) , Phone : NewAlphaNumeric ( address . Phone , 35 ) , Fax : NewAlphaNumeric ( address . Fax , 35 ) , Email : NewAlphaNumeric ( address . Email , 35 ) , } a . DataElement = NewGroupDataElementGroup ( addressGDEG , 9 , a ) return a }
NewAddress creates a new AddressDataElement from address
NewAddress creates a new AddressDataElement from address