Bug 2219: NPE during copy operation for IdentityrefTypeBuilder

- added check for IdentityrefTypeBuilder into getData()

Change-Id: I3c69aaa3927f5d50cbd426d13a5e1a354f4f3cea
Signed-off-by: Ladislav Borak <lborak@cisco.com>
Merge "Bug 2219: NPE during copy operation for IdentityrefTypeBuilder"