@Throws(IllegalArgumentException::class) fun validateTagTypeKey(tagTypeKey: TagTypeKey) { Assert.notNull(tagTypeKey, "A tag type key must be specified.") tagTypeKey.setTagTypeCode( alternateKeyHelper.validateStringParameter( "tag type code", tagTypeKey.getTagTypeCode() ) ) }
Validates a tag type key . This method also trims the key parameters .