/**
- * ============LICENSE_START=======================================================
+ * ============LICENSE_START=======================================================
* org.onap.aai
* ================================================================================
* Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
@Override
public int hashCode() {
- return getModelNameVersionId().hashCode();
+ final String uuid = getModelNameVersionId();
+ return uuid == null ? 0 : uuid.hashCode();
}
@Override