Add conversion from plain Ident to IdentOptVersion

Added a "copy constructor" that copies an Ident to an Ident
with an optional version.  The reverse does not make sense,
so did not add that (e.g., version may be null or may just
be a prefix, while the version in Ident is major.minor.patch).

Change-Id: Ifd3935a998cd4c1cb5113a59c5f36a7d9baf79ff
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
2 files changed
tree: 580ab5b040fe0ca94efe2f49f42414b02e042cdd
  1. models-base/
  2. models-dao/
  3. models-decisions/
  4. models-errors/
  5. models-examples/
  6. models-interactions/
  7. models-pap/
  8. models-pdp/
  9. models-provider/
  10. models-tosca/
  11. .gitignore
  12. .gitreview
  13. INFO.yaml
  14. LICENSE.txt
  15. lombok.config
  16. pom.xml
  17. README.md
  18. version.properties
README.md

Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy Model code that is agnostic to any PDP. It is common amongst all the repositories.

To build it using Maven 3, run: mvn clean install