func NewKeyName(keyName domain.KeyName) *KeyNameDataElement {
	a := &KeyNameDataElement{
		Bank:       NewBankIdentification(keyName.BankID),
		UserID:     NewIdentification(keyName.UserID),
		KeyType:    NewAlphaNumeric(keyName.KeyType, 1),
		KeyNumber:  NewNumber(keyName.KeyNumber, 3),
		KeyVersion: NewNumber(keyName.KeyVersion, 3),
	}
	a.DataElement = NewDataElementGroup(keyNameDEG, 5, a)
	return a
}
// NewKeyName creates a new KeyNameDataElement for keyName
NewKeyName creates a new KeyNameDataElement for keyName
// NewKeyName creates a new KeyNameDataElement for keyName
func NewKeyName(keyName domain.KeyName) *KeyNameDataElement {
	a := &KeyNameDataElement{
		Bank:       NewBankIdentification(keyName.BankID),
		UserID:     NewIdentification(keyName.UserID),
		KeyType:    NewAlphaNumeric(keyName.KeyType, 1),
		KeyNumber:  NewNumber(keyName.KeyNumber, 3),
		KeyVersion: NewNumber(keyName.KeyVersion, 3),
	}
	a.DataElement = NewDataElementGroup(keyNameDEG, 5, a)
	return a
}
func NewKeyName ( keyName domain . KeyName ) * KeyNameDataElement { a := & KeyNameDataElement { Bank : NewBankIdentification ( keyName . BankID ) , UserID : NewIdentification ( keyName . UserID ) , KeyType : NewAlphaNumeric ( keyName . KeyType , 1 ) , KeyNumber : NewNumber ( keyName . KeyNumber , 3 ) , KeyVersion : NewNumber ( keyName . KeyVersion , 3 ) , } a . DataElement = NewDataElementGroup ( keyNameDEG , 5 , a ) return a }
NewKeyName creates a new KeyNameDataElement for keyName
NewKeyName creates a new KeyNameDataElement for keyName