diff --git a/README b/README deleted file mode 100644 index 055cd550cee653fb4bf57b512cb27cd78091846d..0000000000000000000000000000000000000000 --- a/README +++ /dev/null @@ -1,25 +0,0 @@ -Contrail -======== - -Contrail is a complete Cloud platform which integrates a full Infrastructure-as-a-Service and Platform-as-a-Service facilities. It allows Cloud providers to seamlessly integrate resources from other Clouds with their own infrastructure, and breaks the current customer lock-in situation by allowing live application migration from one cloud to another. - -Documentation (and detailed installation instructions) can be found online at the -[Contrail Docs site](http://TBD). - -Installation ------------- - -TBD - -License -------- - -See LICENSE files in the directory common/licenses. - -Support -------- - -Please log tickets and issues at our [issue tracking system](http://jira.ow2.org/browse/CONTRAIL) - -The official Contrail [IRC](http://webchat.freenode.net/?channels=contrail&uio=Mj10cnVlJjQ9dHJ1ZSY5PXRydWUmMTE9ODIdf) channel is #contrail on the [Freenode](http://www.freenode.net) network. - diff --git a/conpaas/branches/conpaas-dailybuild/web-servers/agent-config.cfg b/agent-config.cfg similarity index 100% rename from conpaas/branches/conpaas-dailybuild/web-servers/agent-config.cfg rename to agent-config.cfg diff --git a/conpaas/branches/opentestbed-web-servers/bin/cpsclient.web b/bin/cpsclient.web similarity index 100% rename from conpaas/branches/opentestbed-web-servers/bin/cpsclient.web rename to bin/cpsclient.web diff --git a/common/tags/contrail-0.1/pom.xml b/common/tags/contrail-0.1/pom.xml deleted file mode 100644 index b2db0bbd93dd0da2b53273fc41c9c2559dfe3090..0000000000000000000000000000000000000000 --- a/common/tags/contrail-0.1/pom.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - 4.0.0 - - - 2.2.1 - - - - org.ow2 - ow2 - 1.3 - - - org.ow2.contrail - contrail - 0.1 - - pom - - Contrail - Supply of, and demand for computational capacity is elastic. Some companies are are falling short, others have capacity in abundance. More often than not the need or surplus in computational power or storage capacity is temporary. Wouldn't it be wonderful if the surplus of one corporation could (temporarily) alleviate the wantage of the other. A consortium of ten organisations from six European countries started on a collaborative project to enable just that. The Contrail project aims to design, implement, evaluate and promote an open source computational cloud wherein users can share resources without limit. - http://contrail-project.eu/ - 2010 - - - Contrail Consortium - http://contrail-project.eu/partners - - - - - Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - A business-friendly OSS license - - - - - Atlassian Jira - http://jira.ow2.org/browse/CONTRAIL - - - - Atlassian Bamboo - http://bamboo.ow2.org/browse/CONTRAIL - - - - - Commits List - contrail-commits-subscribe@ow2.org - contrail-commits-unsubscribe@ow2.org - http://mail.ow2.org/wws/info/contrail-commits - http://mail-archive.ow2.org/contrail-commits/index.html - - - - - - - - - org.apache.maven.plugins - maven-release-plugin - 2.1 - - forked-path - - false - - -Pcontrail-release - - - - - - - - - contrail-release - - - - - - scm:svn:svn://svn.forge.objectweb.org/svnroot/contrail/common/tags/contrail-0.1 - scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/contrail/common/tags/contrail-0.1 - http://websvn.ow2.org/filedetails.php/tags/contrail-0.1?repname=contrail&path=%2Fcommon%2Ftrunk%2Fmaven%2Fparent%2Fpom.xml - - - - diff --git a/common/tags/contrail-common-0.1.0/contegrator/.project b/common/tags/contrail-common-0.1.0/contegrator/.project deleted file mode 100644 index 94a49c3dd92bbc86e168b8475bd1e848c89bf359..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - contegrator - - - - - - org.python.pydev.PyDevBuilder - - - - - - org.python.pydev.pythonNature - - diff --git a/common/tags/contrail-common-0.1.0/contegrator/.pydevproject b/common/tags/contrail-common-0.1.0/contegrator/.pydevproject deleted file mode 100644 index fbaa0b2d75abff9272263775c41beac07f06a3bd..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/.pydevproject +++ /dev/null @@ -1,10 +0,0 @@ - - - - -Python 2.7 -python 2.7 - -/contegrator/src - - diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/head/install.xml b/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/head/install.xml deleted file mode 100644 index e7a9f43b3a9f91ccd96651f3c79dbb8ced746fd4..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/head/install.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - xmlns="http://contrail-project.eu/schema/2011/08/install"> - one-test-1.0-opennebula-stress-test.tar.gz - diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/head/scripts/fix-scripts.sh b/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/head/scripts/fix-scripts.sh deleted file mode 100755 index 68f4d65229366244d7a97951c98024bc82c55ce9..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/head/scripts/fix-scripts.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -rm /var/lib/one-nfsshare/remotes/im/kvm.d/freespace.sh diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/worker/install.xml b/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/worker/install.xml deleted file mode 100644 index 5bf9d8197e04fccf203b17b873c30980b5b9583b..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/worker/install.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - xmlns="http://contrail-project.eu/schema/2011/08/install"> - diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/worker/scripts/fix-nfs.sh b/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/worker/scripts/fix-nfs.sh deleted file mode 100755 index 9a8ffa20b0d57e44564ca3308ccfe21404558634..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/nodes/worker/scripts/fix-nfs.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -HEAD_VNFS_NAME=`echo $VNFS_NAME | sed -e 's/worker$/head/'` -cp /etc/fstab /etc/fstab.orig -sed -e "s/one-2.2-head-jaKa/$HEAD_VNFS_NAME/g" /etc/fstab diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/test/stress.py b/common/tags/contrail-common-0.1.0/contegrator/example/one-test/test/stress.py deleted file mode 100644 index ccb7dc230e519401efce26c2ad6e6b3d51ecad0f..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/one-test/test/stress.py +++ /dev/null @@ -1,18 +0,0 @@ -# the following variables that are in the context when the test cases are run -# are of special importance to us: -# - ct_node_list: mapping node names (dir names of node definitions) to host names -# - nodeman: a NodeManager instance that can be used to issue ssh commands to the nodes - -def test_stress(ct_node_list, ct_nodeman): - head = ct_node_list["head"] - worker = ct_node_list["worker"] - try: - ct_nodeman.sshrun("root", head, "sleep 30") - ct_nodeman.sshrun("root", head, "service opennebula restart") - ct_nodeman.sshrun("root", head, "sleep 30") - ct_nodeman.sshrun("root", head, "onehost create " + head + " im_kvm vmm_kvm tm_nfs") - ct_nodeman.sshrun("root", head, "onehost create " + worker + " im_kvm vmm_kvm tm_nfs") - ct_nodeman.sshrun("root", head, "onevnet publish 205") - ct_nodeman.sshrun("root", head, "/usr/bin/one-test-run.sh") - finally: - pass diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/config/config.tar.gz b/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/config/config.tar.gz deleted file mode 100644 index 7e0ab3e4d916148b364d7f2c1c27013c1af93403..0000000000000000000000000000000000000000 Binary files a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/config/config.tar.gz and /dev/null differ diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/install.xml b/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/install.xml deleted file mode 100644 index 035c75afb2a650a748618017073917ea332a682d..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/install.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - xmlns="http://contrail-project.eu/schema/2011/08/install"> - fortunes - test.tar.gz - diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/scripts/script.sh b/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/scripts/script.sh deleted file mode 100755 index 9dbc6522e66ecd0ab507575f924b257a6c1ad4b9..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/nodes/node-1/scripts/script.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -touch /touched diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/test/testcase-1.py b/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/test/testcase-1.py deleted file mode 100644 index b3da17d53444a5972b3fdec05853ad4933445797..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/test/testcase-1.py +++ /dev/null @@ -1,8 +0,0 @@ - - -def test_1(): - print "I will pass." - -def test_2(): - print "I will fail." - raise Exception() diff --git a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/test/testcase-2.py b/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/test/testcase-2.py deleted file mode 100644 index 765983f0d3774832bcb8ea51612731eb38d28d8a..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/example/test-suite/test/testcase-2.py +++ /dev/null @@ -1,6 +0,0 @@ -def test_A(): - print "I'm a failure as well." - raise ValueError() - -def not_a_test(): - print "I shouldn't be executing." diff --git a/common/tags/contrail-common-0.1.0/contegrator/src/contegrator.py b/common/tags/contrail-common-0.1.0/contegrator/src/contegrator.py deleted file mode 100644 index 85b591f57db810d28eb9f63da09cfabfdb561790..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/src/contegrator.py +++ /dev/null @@ -1,124 +0,0 @@ -''' -contegrator.py - -integration test driver for Contrail -- manage VNFS capsules for test machines -- provision and boot test machines via perceus -- run test cases - -@author: jaka -''' - -import sys -import logging -import os -import types -import traceback - -from image.imager import Imager -from nodes.nodeman import NodeMan, Node, ResourceError - -from testbedconfig import testbed_node_list, ct_prestaged, ct_prestaged_nodes - -usage = "contegrator " - -ct_node_list = {} -ct_nodeman = None - -if __name__ == '__main__': - # takes two arguments: - # 1. release tag to test (should equal the tag used by bamboo to - # store binary packages) - # 2. path to test suite dir (containing path to nodes and test directories) - if len(sys.argv) != 3: - print usage - sys.exit(1) - - release_tag = sys.argv[1] - nodes_dir = os.path.join(sys.argv[2], "nodes") - test_dir = os.path.join(sys.argv[2], "test") - - logging.basicConfig(level = logging.DEBUG) - - logging.debug("contegrator starting.") - - print "Preparing images for release ", release_tag - print "from configuration directory", nodes_dir - - imager = Imager(release_tag, nodes_dir, testbed_node_list) - images = imager.prepare_nodes(ct_prestaged) - for image in images: - print "Node '", image, "' image name", images[image]["name"], "image type", images[image]["type"] - - print "Images prepared." - print "Acquiring physical nodes and booting images ..." - - nodeman = NodeMan(testbed_node_list) - ct_nodeman = nodeman - if not ct_prestaged: - try: - for image in images: - node = nodeman.add_phy_node(image, images[image]["name"]) - nodeman.reboot_phy_node(node) - ct_node_list[image] = node.get_host_name() - if nodeman.wait_for_phy_nodes(10, 30): - print "Nodes booted." - else: - print "Nodes not booted in time." - except ResourceError as ex: - logging.exception("Failed to add physical node.") - print "No more physical nodes to work with." - else: - ct_node_list = ct_prestaged_nodes - - for node in ct_node_list: - print "Node", node, "running on host", ct_node_list[node] - - print "Nodes are up and running." - - # at this point, test scripts have hostnames of nodes (named after their respective directories) - # readily available in dict ct_node_list, key is node name (aka node dir name), value is - # host name - - # NOTE: we currently only support test cases coded in python - tmp_test_cases = os.listdir(test_dir) - test_cases = [] - for tc in tmp_test_cases: - if tc.endswith(".py"): - tc = tc.replace(".py", "") - test_cases.append(tc) - sys.path.insert(0, test_dir) - for tc in test_cases: - print "Executing test module:", tc - # import test case as a module - tc_pass = 0 - tc_fail = 0 - tc_total = 0 - tc_mod = __import__(tc, globals(), locals(), ['*']) - for i in dir(tc_mod): - if i.startswith("test_"): - f = tc_mod.__dict__.get(i) - if isinstance(f, types.FunctionType): - tc_name = tc + "." + i - print "Running test case", tc_name - tc_total += 1 - try: - f(ct_node_list, ct_nodeman) - print "Test case", tc_name, "passed." - tc_pass += 1 - except: - print "Test case", tc_name, "failed." - traceback.print_exc(None, sys.stdout) - tc_fail += 1 - print "Passed / Failed / Total:", tc_pass, "/", tc_fail, "/", tc_total - - if not ct_prestaged: - # finally, shut down nodes and purge test vnfses - print "Shutting nodes down ..." - nodeman.shutdown_phy_nodes() - print "Nodes shut down." - print "Purging test VNFS capsules ..." - imager.purge_nodes(images, ct_prestaged) - print "VNFS capsules purged." - - print "Have a nice day." diff --git a/common/tags/contrail-common-0.1.0/contegrator/src/image/imagedef.py b/common/tags/contrail-common-0.1.0/contegrator/src/image/imagedef.py deleted file mode 100644 index 71b1bd0f624267de38153d4538c5acb46deb9db7..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/src/image/imagedef.py +++ /dev/null @@ -1,92 +0,0 @@ -''' -Created on Aug 30, 2011 - -@author: jaka -''' - -from xml.etree import ElementTree - -import logging -import string - -class ImageDefError(Exception): - def __init__(self, msg): - self._msg = msg - - def get_error_message(self): - return self._msg - -class ImageDef(object): - ''' - Example image definition XML: - - - xmlns="http://contrail-project.eu/schema/2011/08/install"> - upstream-package-name-1 - upstream-package-name-2 - upstream-package-name-3 - contrail-package-name-1 - contrail-package-name-2 - - ''' - - TAG_NODE = "node" - TAG_UPSTREAM = "upstream" - TAG_CONTRAIL = "contrail" - - ATTR_TYPE = "type" - ATTR_BASE = "base" - ATTR_REPO = "repository" - - IMAGE_TYPE_VNFS = "vnfs" - IMAGE_TYPE_VM = "vm" - - def __init__(self): - ''' - Constructor - ''' - self.syspackages = [] - self.ctrpackages = [] - self.repo = None - self.type = None - self.base = None - - def _init_from_elem(self, root): - logging.debug("Parsing image definition") - if root.tag != ImageDef.TAG_NODE: - raise ImageDefError("Root element is not " + ImageDef.TAG_NODE) - if not ( ImageDef.ATTR_TYPE in root.attrib and - ImageDef.ATTR_BASE in root.attrib and - ImageDef.ATTR_REPO in root.attrib ): - raise ImageDefError("Node must specify type, base image and repository URL") - self.repo = root.get(ImageDef.ATTR_REPO) - self.base = root.get(ImageDef.ATTR_BASE) - self.type = root.get(ImageDef.ATTR_TYPE) - for pkg in root.getiterator(ImageDef.TAG_UPSTREAM): - self.syspackages.append(string.strip(pkg.text)) - for pkg in root.getiterator(ImageDef.TAG_CONTRAIL): - self.ctrpackages.append(string.strip(pkg.text)) - - def parse_string(self, deftext): - root = ElementTree.fromstring(deftext) - self._init_from_elem(root.getroot()) - - def parse_file(self, path): - root = ElementTree.parse(path) - self._init_from_elem(root.getroot()) - - def get_sys_packages(self): - return self.syspackages - - def get_contrail_packages(self): - return self.ctrpackages - - def get_repository(self): - return self.repo - - def get_image_type(self): - return self.type - - def get_base_image_name(self): - return self.base diff --git a/common/tags/contrail-common-0.1.0/contegrator/src/image/imager.py b/common/tags/contrail-common-0.1.0/contegrator/src/image/imager.py deleted file mode 100644 index 1060c15a29df6705f85f1be58871ea6f1245db93..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/src/image/imager.py +++ /dev/null @@ -1,230 +0,0 @@ -''' -Created on Aug 31, 2011 - -@author: jaka -''' - -from image.imagedef import ImageDef, ImageDefError -from perceus.perceus import Perceus -from image.installer import Installer - -import tempfile -import logging -import os -import shutil -import urllib - -usage = """ct-imager.py """ - -class Imager(object): - - VNFS_ID_FILE = "vnfs_id.txt" - VNFS_ID_PATH = "/" + VNFS_ID_FILE - - def __init__(self, release_tag, nodes_cfg_dir, node_list = None): - self._release_tag = release_tag - self._nodes_cfg_dir = nodes_cfg_dir - self._perceus = Perceus(node_list) - self._images = [] - - def _get_test_vnfs_name(self, node_id): - return "test-vnfs-" + self._release_tag + "-" + node_id - - def _prepare_node_vnfs(self, imagedef, node_id): - node_cfg_dir = os.path.join(self._nodes_cfg_dir, node_id) - logging.debug("Preparing VNFS node: " + node_cfg_dir + "," + - self._release_tag + "," + node_id) - # clone VNFS - test_vnfs = self._get_test_vnfs_name(node_id) - if not self._perceus.clone_vnfs(imagedef.get_base_image_name(), test_vnfs): - logging.error("Failed to clone test VNFS.") - return None - logging.debug("VNFS cloned to: " + test_vnfs) - mount_path = self._perceus.mount_vnfs(test_vnfs) - if mount_path is None: - logging.error("Failed to mount test VNFS.") - return None - logging.debug("VNFS mounted to: " + mount_path) - # fix fstab in case it sports NFS mounts - orig_fstab = os.path.join(mount_path, "etc", "fstab") - bak_fstab = os.path.join(mount_path, "etc", "fstab.bak") - shutil.copyfile(orig_fstab, bak_fstab) - with open(bak_fstab, "r") as bak_f: - with open(orig_fstab, "w") as orig_f: - line = bak_f.readline() - while(len(line) > 0): - if(line.find("nfs") != -1 and line.find(imagedef.get_base_image_name())): - line = line.replace(imagedef.get_base_image_name(), test_vnfs) - orig_f.write(line) - line = bak_f.readline() - # install additional system packages - installer = Installer(mount_path) - if not installer.install(imagedef.get_sys_packages()): - logging.error("Failed to install system packages.") - return None - logging.debug("System packages installed.") - # fetch contrail packages - if len(imagedef.get_contrail_packages()) > 0: - pkg_dir = tempfile.mkdtemp(".tmp", "contrail") - logging.debug("Fetching contrail packages to " + pkg_dir + ": " + - " ".join(imagedef.get_contrail_packages()) + " ...") - local_pkg_paths = [] - for pkg in imagedef.get_contrail_packages(): - try: - pkg_url = imagedef.get_repository() + "/" + self._release_tag + "/" + pkg - local_pkg_path = pkg_dir + "/" + pkg - logging.debug("Fetching " + pkg_url + " to " + local_pkg_path) - (fname, headers) = urllib.urlretrieve(pkg_url, local_pkg_path) - local_pkg_paths.append(fname) - logging.debug("Fetched package " + pkg_url + " to " + fname) - except: - logging.exception("Failed to retrieve Contrail package: " + pkg) - return None - logging.debug("Contrail packages fetched. Unpacking ...") - # install contrail packages - if not installer.unpack(local_pkg_paths): - logging.error("Failed to unpack Contrail packages.") - return None - logging.debug("Contrail packages unpacked.") - try: - shutil.rmtree(pkg_dir) - except: - logging.exception("Failed to remove temporary package dir: " + pkg_dir) - else: - logging.debug("No contrail packages to fetch.") - # unpack config files - cfg_dir = os.path.join(node_cfg_dir, "config") - if os.path.isdir(cfg_dir): - tmp_cfg_files = os.listdir(cfg_dir) - cfg_files = [] - for f in tmp_cfg_files: - p = os.path.join(cfg_dir, f) - if not f.startswith(".") and f.endswith(".tar.gz") and os.path.isfile(p): - cfg_files.append(p) - if len(cfg_files) > 0: - logging.debug("Unpacking config files ...") - if not installer.unpack(cfg_files): - logging.error("Failed to unpack configuration tarballs.") - return None - logging.debug("Config files unpacked.") - else: - logging.debug("No config files to unpack.") - # execute scripts, chrooted - # TODO: what do we want to pass to these scripts via env var? - # some ideas: - # - original and cloned vnfs names - scripts_dir = os.path.join(node_cfg_dir, "scripts") - if os.path.isdir(scripts_dir): - tmp_script_files = os.listdir(scripts_dir) - script_files = [] - for f in tmp_script_files: - p = os.path.join(scripts_dir, f) - if not f.startswith(".") and os.path.isfile(p): - script_files.append(f) - if len(script_files) > 0: - tmp_dir = tempfile.mkdtemp(".tmp", "contrail", - os.path.join(mount_path, "tmp")) - logging.debug("Temporary scripts dir: " + tmp_dir) - (head, tail) = os.path.split(tmp_dir) - if len(tail) == 0: - (head, tail) = os.path.split(head) - chroot_tmp_dir = os.path.join("/tmp", tail) - logging.debug("Temporary scripts dir (chroot): " + chroot_tmp_dir) - for script in script_files: - try: - src_script_path = os.path.join(node_cfg_dir, "scripts", script) - dst_script_path = os.path.join(tmp_dir, script) - logging.debug("Copying script file " + src_script_path + " to " + dst_script_path) - shutil.copyfile(src_script_path, dst_script_path) - os.chmod(dst_script_path, 0755) - logging.debug("Copied script file to: " + dst_script_path) - except: - logging.exception("Failed to copy script: " + script) - return None - chroot_script_path = os.path.join(chroot_tmp_dir, script) - logging.debug("Executing script (in chroot): " + chroot_script_path) - if not installer.chroot([chroot_script_path], { 'VNFS_NAME': test_vnfs }): - logging.error("Failed to execute script: " + script) - return None - logging.debug("Executed.") - try: - shutil.rmtree(tmp_dir) - except: - logging.exception("Failed to remove temporary scripts dir: " + tmp_dir) - logging.debug("Scripts executed.") - else: - logging.debug("No scripts found.") - # create a file used to identify the node once it comes up - vnfs_id_path = os.path.join(mount_path, Imager.VNFS_ID_FILE) - with open(vnfs_id_path, "w") as vnfs_id_file: - vnfs_id_file.write(test_vnfs) - # umount VNFS - if not self._perceus.umount_vnfs(test_vnfs): - logging.error("Failed to unmount test VNFS.") - return None - logging.debug("VNFS unmounted") - return test_vnfs - - def _prepare_node(self, node_id, prestaged = False): - node_cfg_dir = os.path.join(self._nodes_cfg_dir, node_id) - logging.debug("Preparing node " + node_id + " for release " + - self._release_tag + " from config dir " + node_cfg_dir) - # 1. parse image XML - imagedef = ImageDef() - install_path = os.path.join(node_cfg_dir, "install.xml") - try: - logging.debug("Parsing install configuration file: " + install_path) - imagedef.parse_file(install_path) - except ImageDefError as error: - logging.exception("Failed to parse node install file: " + - error.get_error_message()) - return None - except Exception as ex: - logging.exception("Failed to parse node install file.") - return None - if not prestaged: - if imagedef.get_image_type() == ImageDef.IMAGE_TYPE_VNFS: - if not prestaged: - return (self._prepare_node_vnfs(imagedef, node_id), - imagedef.get_image_type()) - else: - print "Unsupported image type:", imagedef.get_image_type() - return None - else: - return ("__prestaged__", imagedef.get_image_type()) - - def _purge_vnfs(self, vnfs_name): - # we might be using this after error, thus we do not know in what state the vnfs is: - # thus unmount first (and silently fail if not mounted), then delete - self._perceus.umount_vnfs(vnfs_name) - self._perceus.delete_vnfs(vnfs_name) - - def prepare_nodes(self, prestaged = False): - nodes_list = os.listdir(self._nodes_cfg_dir) - rv = {} - for node in nodes_list: - p = os.path.join(self._nodes_cfg_dir, node) - if node.startswith(".") or not os.path.isdir(p): - continue - (image_name, image_type) = self._prepare_node(node, prestaged) - if image_name is not None: - logging.info("Created node image " + node + " (" + - image_name + " , " + image_type + ")") - rv[node] = { "name": image_name, "type": image_type } - else: - logging.error("Failed to create node image for node: " + node) - self.purge_nodes(rv, prestaged) - return None - return rv - - def purge_nodes(self, node_map, prestaged = False): - if prestaged: - return - for node in node_map: - if node_map[node]["type"] == ImageDef.IMAGE_TYPE_VNFS: - self._purge_vnfs(node_map[node]["name"]) - elif node_map[node]["type"] == ImageDef.IMAGE_TYPE_VM: - # TODO - pass - else: - logging.error("Unknown node image type: " + node["type"]) diff --git a/common/tags/contrail-common-0.1.0/contegrator/src/image/installer.py b/common/tags/contrail-common-0.1.0/contegrator/src/image/installer.py deleted file mode 100644 index 77959c58a422e947b84cb403ca90ff73944bf093..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/src/image/installer.py +++ /dev/null @@ -1,77 +0,0 @@ -''' -Created on Aug 30, 2011 - -@author: jaka -''' - -import subprocess -from subprocess import CalledProcessError - -import logging -import os -import shutil - -class Installer(object): - ''' - classdocs - ''' - - def __init__(self, mount_point): - ''' - Constructor - ''' - self._mount_point = mount_point - self._tar_cmd = "tar" - self._apt_cmd = "apt-get" - self._chroot_cmd = "chroot" - - def install(self, package_list): - logging.debug("Installing system packages: " + " ".join(package_list)) - if None is package_list or len(package_list) == 0: - return True - arg_list = [self._chroot_cmd, self._mount_point, self._apt_cmd, "-q", "-y", "--force-yes", "install"] - arg_list.extend(package_list) - logging.debug("Install cmd: " + " ".join(arg_list)) - try: - new_env = os.environ.copy() - new_env['DEBIAN_FRONTEND'] = "noninteractive" - subprocess.check_call(arg_list, env = new_env) - return True - except CalledProcessError as error: - logging.exception("Failed to install packages to VNFS: " + str(error.returncode)) - return False - except OSError as error: - logging.exception("Failed to install packages to VNFS.") - return False - - def unpack(self, tarball_list): - for tarball in tarball_list: - try: - subprocess.check_call([self._tar_cmd, "xzvf", tarball, "-C", self._mount_point]) - except CalledProcessError as error: - logging.exception("Failed to install packages to VNFS: " + str(error.returncode)) - return False - return True - - def chroot(self, cmd_args, env = {}): - arg_list = [self._chroot_cmd, self._mount_point] - arg_list.extend(cmd_args) - logging.debug("Chroot cmd: " + " ".join(arg_list)) - try: - new_env = os.environ.copy() - new_env.update(env) - subprocess.check_call(arg_list, env = new_env) - return True - except CalledProcessError as error: - logging.exception("Failed to execute chrooted script: " + str(error.returncode)) - return False - - def delete(self, local_path): - abs_path = os.path.join(self._mount_point, local_path) - logging.debug("Deleting " + abs_path) - try: - shutil.rmtree(abs_path) - return True - except: - logging.exception("Failed to remove " + abs_path) - return False diff --git a/common/tags/contrail-common-0.1.0/contegrator/src/nodes/nodeman.py b/common/tags/contrail-common-0.1.0/contegrator/src/nodes/nodeman.py deleted file mode 100644 index 07980eeef81d6851827642adaec3421d3c3ffbcc..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/src/nodes/nodeman.py +++ /dev/null @@ -1,175 +0,0 @@ -''' -Created on Aug 31, 2011 - -@author: jaka -''' - -from perceus.perceus import Perceus -from image.imagedef import ImageDef -from image.imager import Imager - -from testbedconfig import node_passwords, ct_perceus_util_node - -from fabric.api import env -from fabric.operations import run, _AttributeString - -import logging -import time - - -class ResourceError(Exception): - def __init__(self, msg): - self._msg = msg - - def get_message(self): - return self._msg - - -class Node(object): - def __init__(self, **nodeparams): - self._name = nodeparams['name'] - self._host = nodeparams['host'] - self._image_name = nodeparams['image_name'] - self._image_type = nodeparams['image_type'] - - def get_name(self): - return self._name - - def get_host_name(self): - return self._host - - def get_image_name(self): - return self._image_name - - def get_image_type(self): - return self._image_type - - def __str__(self, *args, **kwargs): - return "(" + self._host + "," + self._image_type + ":" + self._image_name + ")" - - -class NodeMan(object): - def __init__(self, available_nodes = None, - perceus_util_cmd = "/srv/util/perceus-util.sh"): - self._perceus_util_cmd = perceus_util_cmd - self._perceus = Perceus(available_nodes) - self._phy_nodes = [] - - def setup_fabric_env(self): - env.shell = "/bin/bash -l -i -c" - env.passwords = node_passwords - env.warn_only = True - env.disable_known_hosts = True - - def _run_via_ssh(self, node, cmd, **kwargs): - args = { "user": "root", - "timeout": 30 } - args.update(kwargs) - self.setup_fabric_env() - env.host_string = args["user"] + "@" + node - cmd_str = " ".join(cmd) - logging.debug("Running [" + cmd_str + "] on " + env.host_string) - try: - rv = run(cmd_str) - except SystemExit as e: - rv = _AttributeString("") - rv.succeeded = False - rv.failed = True - rv.return_code = -1 - logging.debug("Success: " + str(rv.succeeded)) - logging.debug("Return code: " + str(rv.return_code)) - logging.debug("Output: " + rv) - return rv - - def sshrun(self, user, host, cmd): - self.setup_fabric_env() - env.host_string = user + "@" + host - try: - rv = run(cmd) - except SystemExit as e: - rv = _AttributeString("") - rv.succeeded = False - rv.failed = True - rv.return_code = -1 - logging.debug("Success: " + str(rv.succeeded)) - logging.debug("Return code: " + str(rv.return_code)) - logging.debug("Output: " + rv) - return rv - - def _log_cmd(self, cmd_list): - logging.debug("Command: " + " ".join(cmd_list)) - - def _ucmd(self, args): - cmd = [self._perceus_util_cmd] - cmd.extend(args) - self._log_cmd(cmd) - return cmd - - def _pu_reboot_node(self, node): - try: - self.sshrun("root", ct_perceus_util_node, - " ".join(self._ucmd(["node", "power", "of", node]))) - time.sleep(3) - self.sshrun("root", ct_perceus_util_node, - " ".join(self._ucmd(["node", "power", "on", node]))) - time.sleep(3) - self.sshrun("root", ct_perceus_util_node, - " ".join(self._ucmd(["node", "power", "wol", node]))) - return True - except Exception, e: - logging.exception("Failed to reboot node.") - return False - - def _pu_shutdown_node(self, node): - try: - self.sshrun("root", ct_perceus_util_node, - " ".join(self._ucmd(["node", "power", "of", node]))) - return True - except Exception, e: - logging.exception("Failed to shutdown node.") - return False - - def add_phy_node(self, name, vnfs): - host = self._perceus.acquire_node(vnfs) - if host is None: - raise ResourceError("No more nodes left.") - node = Node(name = name, host = host, image_name = vnfs, image_type = ImageDef.IMAGE_TYPE_VNFS) - logging.debug("Added new physical node " + str(node)) - self._phy_nodes.append(node) - return node - - def get_phy_nodes(self): - return self._phy_nodes - - def reboot_phy_node(self, node): - self._pu_reboot_node(node.get_host_name()) - - def shutdown_phy_node(self, node): - self._pu_shutdown_node(node.get_host_name()) - - def shutdown_phy_nodes(self): - for node in self._phy_nodes: - self.shutdown_phy_node(node) - - def is_phy_node_booted(self, node): - output = self._run_via_ssh(node.get_host_name(), [ "cat", Imager.VNFS_ID_PATH ]) - return (output.succeeded == True and output.return_code == 0 and output == node.get_image_name()) - - def wait_for_phy_nodes(self, retries = 0, sleep_time = 60): - logging.debug("Waiting for physical nodes to boot.") - while True: - n = 0 - for node in self._phy_nodes: - if self.is_phy_node_booted(node): - logging.debug("Node " + str(node) + " booted.") - n += 1 - else: - logging.debug("Node " + str(node) + " not booted yet.") - break - if n == len(self._phy_nodes): - return True - logging.debug("Retries left: " + str(retries)) - retries -= 1 - if retries < 0: - return False - time.sleep(sleep_time) diff --git a/common/tags/contrail-common-0.1.0/contegrator/src/perceus/perceus.py b/common/tags/contrail-common-0.1.0/contegrator/src/perceus/perceus.py deleted file mode 100644 index 10dd418d301ce931008ca8be877d56a8f348d277..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/src/perceus/perceus.py +++ /dev/null @@ -1,114 +0,0 @@ -''' -Created on Aug 30, 2011 - -@author: jaka -''' - -import subprocess -from subprocess import CalledProcessError - -import re -import logging -import string - -class Perceus(object): - - _debug = True - - def __init__(self, available_nodes = None, - perceus_cmd = "perceus"): - self._perceus_cmd = perceus_cmd - self._available_nodes = available_nodes - if self._available_nodes is None: - self._available_nodes = self.list_nodes() - self._allocated_nodes = [] - - def _log_cmd(self, cmd_list): - logging.debug("Command: " + " ".join(cmd_list)) - - def _pcmd(self, args): - cmd = [self._perceus_cmd, "-y"] - if not Perceus._debug: - cmd.append("-q") - cmd.extend(args) - self._log_cmd(cmd) - return cmd - - def clone_vnfs(self, src_vnfs, tgt_vnfs): - try: - subprocess.check_call(self._pcmd(["vnfs", "clone", src_vnfs, tgt_vnfs])) - return True - except CalledProcessError as error: - logging.error("Failed to clone VNFS: " + str(error.returncode)) - return False - - def mount_vnfs(self, vnfs): - try: - output = subprocess.check_output(self._pcmd(["vnfs", "mount", vnfs])) - logging.debug("--- output start ---") - logging.debug(output) - logging.debug("--- output end ---") - # The VNFS can be found at: /mnt/test-vnfs-X-node-1 - match = re.search("The VNFS can be found at: (\S+)", output) - logging.debug("Match: " + str(match)) - if match is None: - return None - return match.group(1) - except CalledProcessError as error: - logging.error("Failed to mount VNFS: " + str(error.returncode)) - return None - - def umount_vnfs(self, vnfs): - try: - subprocess.check_call(self._pcmd(["vnfs", "umount", vnfs])) - return True - except CalledProcessError as error: - logging.error("Failed to unmount VNFS: " + str(error.returncode)) - return False - - def delete_vnfs(self, vnfs): - try: - subprocess.check_call(self._pcmd(["vnfs", "delete", vnfs])) - return True - except CalledProcessError as error: - logging.error("Failed to delete VNFS: " + str(error.returncode)) - return False - - def acquire_node(self, vnfs): - try: - if len(self._available_nodes) == 0: - return None - node = self._available_nodes.pop() - subprocess.check_call(self._pcmd(["node", "set", "vnfs", vnfs, node])) - self._allocated_nodes.append(node) - return node - except CalledProcessError as error: - self._available_nodes.push(node) - logging.error("Failed to set node vnfs: " + str(error.returncode)) - return None - - def release_node(self, node): - try: - self._allocated_nodes.remove(node) - self._available_nodes.append(node) - return True - except ValueError: - return False - - def release_all_nodes(self): - for node in self._allocated_nodes: - self._available_nodes.append(node) - self._allocated_nodes = [] - - def list_nodes(self): - output = subprocess.check_output(self._pcmd(["node", "list"])) - logging.debug("--- output start ---") - logging.debug(output) - logging.debug("--- output end ---") - nodes = string.split(output) - i = 0 - for node in nodes: - i += 1 - logging.debug("Node " + str(i) + " [" + node + "]") - return nodes - diff --git a/common/tags/contrail-common-0.1.0/contegrator/src/testbedconfig.py b/common/tags/contrail-common-0.1.0/contegrator/src/testbedconfig.py deleted file mode 100644 index dfb94e3e61996e8228054225966b147a6903a5cc..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/contegrator/src/testbedconfig.py +++ /dev/null @@ -1,22 +0,0 @@ -testbed_node_list = [ - "n0004", - "n0005" -] - -node_passwords = { - "root@n0004": "root", - "root@n0005": "root", -} - -ct_perceus_util_node = "perceus" - -# set to true if test nodes are set-up already and all you want to do -# is run the test code. useful for debugging to avoid lengthy staging -# of test nodes on each contegrator run. -ct_prestaged = False -# if you set above to true, make sure you fix the map below, -# mapping node names (node dir names) to the corresponding hosts -ct_prestaged_nodes = { - "head": "n0005", - "worker": "n0004", -} diff --git a/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/Rakefile b/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/Rakefile deleted file mode 100644 index 5d6c0360da2a33583b5fdff49892f6e97e1f93cf..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/Rakefile +++ /dev/null @@ -1,38 +0,0 @@ -# Rakefile to check, build and test the Contrail pre-commit hook for SVN -# -# -require 'rake/testtask' - - -DIR = 'target' -SRC = 'src/pre-commit.sh' -DEST = DIR + '/pre-commit' - - -directory DIR - - -task :default => [:test] - -desc "Build the SVN pre-commit script hook" -task :build => [DIR] do - cp SRC, DEST - chmod 0755, DEST - sh %{sh -n #{DEST}} -end - -desc "Run basic tests" -task :test => [:build] -Rake::TestTask.new("test") do |t| - t.pattern = 'src/test_*.rb' - t.verbose = true - t.warning = true -end - - - -desc "Remove generated files" -task :clean do - rm_rf DIR -end - diff --git a/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/src/pre-commit.sh b/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/src/pre-commit.sh deleted file mode 100644 index 4644b99e9f2cd504e5854c15f9d5ff6bfb9e0aee..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/src/pre-commit.sh +++ /dev/null @@ -1,137 +0,0 @@ -#!/bin/sh - -# PRE-COMMIT HOOK -# -# The pre-commit hook is invoked before a Subversion txn is -# committed. Subversion runs this hook by invoking a program -# (script, executable, binary, etc.) named 'pre-commit' (for which -# this file is a template), with the following ordered arguments: -# -# [1] REPOS-PATH (the path to this repository) -# [2] TXN-NAME (the name of the txn about to be committed) -# -# [STDIN] LOCK-TOKENS ** the lock tokens are passed via STDIN. -# -# If STDIN contains the line "LOCK-TOKENS:\n" (the "\n" denotes a -# single newline), the lines following it are the lock tokens for -# this commit. The end of the list is marked by a line containing -# only a newline character. -# -# Each lock token line consists of a URI-escaped path, followed -# by the separator character '|', followed by the lock token string, -# followed by a newline. -# -# The default working directory for the invocation is undefined, so -# the program should set one explicitly if it cares. -# -# If the hook program exits with success, the txn is committed; but -# if it exits with failure (non-zero), the txn is aborted, no commit -# takes place, and STDERR is returned to the client. The hook -# program can use the 'svnlook' utility to help it examine the txn. -# -# On a Unix system, the normal procedure is to have 'pre-commit' -# invoke other programs to do the real work, though it may do the -# work itself too. -# -# *** NOTE: THE HOOK PROGRAM MUST NOT MODIFY THE TXN, EXCEPT *** -# *** FOR REVISION PROPERTIES (like svn:log or svn:author). *** -# -# This is why we recommend using the read-only 'svnlook' utility. -# In the future, Subversion may enforce the rule that pre-commit -# hooks should not modify the versioned data in txns, or else come -# up with a mechanism to make it safe to do so (by informing the -# committing client of the changes). However, right now neither -# mechanism is implemented, so hook writers just have to be careful. -# -# Note that 'pre-commit' must be executable by the user(s) who will -# invoke it (typically the user httpd runs as), and that user must -# have filesystem-level permission to access the repository. -# -# On a Windows system, you should name the hook program -# 'pre-commit.bat' or 'pre-commit.exe', -# but the basic idea is the same. -# -# The hook program typically does not inherit the environment of -# its parent process. For example, a common problem is for the -# PATH environment variable to not be set to its usual value, so -# that subprograms fail to launch unless invoked via absolute path. -# If you're having unexpected problems with a hook program, the -# culprit may be unusual (or missing) environment variables. -# -# Here is an example hook script, for a Unix /bin/sh interpreter. -# For more examples and pre-written hooks, see those in -# /usr/share/subversion/hook-scripts, and in the repository at -# http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/ and -# http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/ -# - - -# Path to the SVN repository -REPOS="$1" - -# Id of the transaction -TXN="$2" - -# List of users for which rules do not apply (admins) -ADMINS="mateja sandre" - - - -# Reject the commit with error message $1 -reject () { - echo " -ERROR: ${1:-'commit transaction has been rejected'}. - -For further explanations about the Contrail project's coding policy, please refer to the public wiki at http://contrail-project.eu/development-wiki/-/wiki/Main/Coding+best+practices+in+Contrail - -If you think your commit should not have been rejected, please contact the Contrail OW2 administrators at an try again later. -" >&2 - exit 1 -} - -# Allow the commit -allow() { - echo "commit ${TXN}@${REPOS} allowed" - exit 0 -} - - -# Execute the svnlook command $1 -svnlook() { - /usr/bin/svnlook "${1?}" -t "$TXN" "$REPOS" \ - || reject "server internal error" -} - - - -############################################################################# - -# commit allowed if author is one of the admins -echo "$ADMINS" | grep -qwF "`svnlook 'author'`" \ - && allow - - -# commit rejected if log message does not contain any printable character -svnlook 'log' | grep -qE '[^[:space:]]' \ - || reject 'empty commit messages are not allowed' - - -# commit rejected if attempt to modify repo structure -#svnlook 'dirs-changed' | grep -qE '^[^/]+/$' \ -# && reject 'repository structure cannot be modified' - - -# commit rejected if trying to add or update eclipse config files -svnlook 'changed' | grep -qE '^(A|U|_U|UU)[[:space:]]+.*/\.(classpath|project|settings/)' \ - && reject 'add/update of Eclipse configuration file (.project, .classpath, .settings) - is not allowed' - - -# commit rejected if trying to add or update a data file -svnlook 'changed' | grep -qE '^(A|U|_U|UU)[[:space:]]+.*\.(log)$' \ - && reject 'add/update of data or binary files (*.zip, *.log) is not allowed' - - -# All checks passed, so allow the commit. -allow - diff --git a/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/src/test_pre-commit-hook.rb b/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/src/test_pre-commit-hook.rb deleted file mode 100644 index 26b9c1744696af7c8d6320b1eef20ba9d819e1d8..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/infrastructure/svnhooks/src/test_pre-commit-hook.rb +++ /dev/null @@ -1,182 +0,0 @@ - -require 'fileutils' -require 'pathname' -require 'test/unit' -require 'tmpdir' - - -PRE_HOOK_FILE = Pathname.new(Dir.getwd).join('target/pre-commit').to_s - - -class LocalSvnServer - attr_accessor :rootdir, :url - - def initialize(rootdir) - @rootdir = rootdir - @pidfile = nil - @url = 'svn://localhost/' - end - - def getpid - if @pidfile != nil and File.exists?(@pidfile) - File.open(@pidfile).each do |line| - begin - pid = line.to_i - Process.getpgid(pid) - return pid - rescue Errno::ESRCH - break - end - end - end - - return nil - end - - def running? - return getpid().is_a?(Integer) - end - - def start - unless running? - @pidfile = File.join(@rootdir, 'pid') - File.delete(@pidfile) if File.exists?(@pidfile) - system "svnserve --daemon --root=#{@rootdir} --pid-file=#{@pidfile}" - sleep 0.2 until running? - end - - return self - end - - def stop - if running? - Process.kill("TERM", getpid()) - sleep 0.2 while running? - File.delete(@pidfile) if File.exists?(@pidfile) - @pidfile = nil - end - - return self - end -end - - - -class SvnHookTest < Test::Unit::TestCase - - def enable_prehook - FileUtils.cp PRE_HOOK_FILE, @prehook unless File.exists? @prehook - end - - def disable_prehook - FileUtils.rm @prehook if File.exists? @prehook - end - - def setup - @svnroot = Dir.mktmpdir - @workdir = Dir.mktmpdir - @prehook = Pathname.new(@svnroot).join('hooks/pre-commit').to_s - system "svnadmin create #{@svnroot}" - File.open(Pathname.new(@svnroot).join('conf/svnserve.conf').to_s, 'r+') do |f| - buf = '' - f.each do |line| - buf << line.sub(/^(#\s*)?anon-access\W.*/, "anon-access = write") - end - f.pos = 0 - f.print(buf) - f.truncate(f.pos) - end - @server = LocalSvnServer.new(@svnroot).start() - Dir.chdir @workdir - system "svn checkout #{@server.url} ." - commit_standard_structure - enable_prehook - end - - def teardown - begin - @server.stop() - ensure - [@svnroot, @workdir].each do |d| - FileUtils.rm_r d if d - end - end - end - - def svn(*args) - system 'svn', '--non-interactive', *args - end - - def add_file(path) - open(path, 'w') do |f| - f.write Time.now.to_s - end - end - - def commit_standard_structure - disable_prehook - Dir.chdir @workdir - ['trunk', 'branches', 'tags'].each do |d| - dir = 'module/' + d + '/submodule/src' - src = dir + '/code.txt' - FileUtils.mkdir_p dir - add_file src - end - assert svn 'add', 'module' - assert svn 'commit', '-m', 'initialization' - end - - - # TODO: refactor code + check error messages with keywords - - def test_reject_commit_without_message - f = 'module/trunk/newfile' - add_file f - assert svn('add', f) - assert ! svn('commit', '-m', ' ') - end - - def test_allow_commit_with_message - f = 'module/trunk/newfile' - add_file f - assert svn('add', f) - assert svn('commit', '-m', ' - non blank message - - ') - end - -# def test_reject_structure_modification -# f = 'module/newtrunk' -# add_file f -# assert svn('add', f) -# assert ! svn('commit', '-m', 'modify repo structure') -# end - -# def test_allow_trunk_modification -# f = 'module/trunk/newfile' -# add_file f -# assert svn('add', f) -# assert svn('commit', '-m', 'modify trunk') -# end - - def test_reject_add_eclipse_file - f = 'module/trunk/.project' - add_file f - assert svn('add', f) - assert ! svn('commit', '-m', 'add eclipse .project') - d = 'module/trunk/.settings' - FileUtils.mkdir d - assert svn('add', d) - assert ! svn('commit', '-m', 'add eclipse .settings') - end - - def test_reject_add_dada_file - f = 'module/trunk/trace.log' - add_file f - assert svn('add', f) - assert ! svn('commit', '-m', 'add log file') - end - -end - diff --git a/common/tags/contrail-common-0.1.0/maven/parent/pom.xml b/common/tags/contrail-common-0.1.0/maven/parent/pom.xml deleted file mode 100644 index ab0dbb9d3cee2276fdcf75c06175d6f71e77a8f0..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/maven/parent/pom.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - 4.0.0 - - - 2.2.1 - - - - org.ow2 - ow2 - 1.3 - - - org.ow2.contrail - contrail - 0.2-SNAPSHOT - - pom - - Contrail - Supply of, and demand for computational capacity is elastic. Some companies are are falling short, others have capacity in abundance. More often than not the need or surplus in computational power or storage capacity is temporary. Wouldn't it be wonderful if the surplus of one corporation could (temporarily) alleviate the wantage of the other. A consortium of ten organisations from six European countries started on a collaborative project to enable just that. The Contrail project aims to design, implement, evaluate and promote an open source computational cloud wherein users can share resources without limit. - http://contrail-project.eu/ - 2010 - - - Contrail Consortium - http://contrail-project.eu/partners - - - - - Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - A business-friendly OSS license - - - - - Atlassian Jira - http://jira.ow2.org/browse/CONTRAIL - - - - Atlassian Bamboo - http://bamboo.ow2.org/browse/CONTRAIL - - - - - Commits List - contrail-commits-subscribe@ow2.org - contrail-commits-unsubscribe@ow2.org - http://mail.ow2.org/wws/info/contrail-commits - http://mail-archive.ow2.org/contrail-commits/index.html - - - - - - - - - org.apache.maven.plugins - maven-release-plugin - 2.1 - - forked-path - - false - - -Pcontrail-release - - - - - - - - - contrail-release - - - - - - scm:svn:svn://svn.forge.objectweb.org/svnroot/contrail/common/trunk/maven/parent - scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/contrail/common/trunk/maven/parent - http://websvn.ow2.org/filedetails.php?repname=contrail&path=%2Fcommon%2Ftrunk%2Fmaven%2Fparent%2Fpom.xml - - - - diff --git a/common/tags/contrail-common-0.1.0/maven/settings/settings.xml b/common/tags/contrail-common-0.1.0/maven/settings/settings.xml deleted file mode 100644 index 5e751afe337d3fa16b3af95f9e153e252e56f96c..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/maven/settings/settings.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - contrail - - true - - - - contrail-staging - Contrail Staging Repository - http://repository.ow2.org/nexus/content/repositories/ow2_contrail-011/ - - true - - - false - - - - - - ow2 - - true - - - - ow2-releases - OW2 Releases Repository - http://repository.ow2.org/nexus/content/repositories/releases/ - - true - - - false - - - - ow2-snapshots - OW2 Snapshots Repository - http://repository.ow2.org/nexus/content/repositories/snapshots/ - - false - - - true - - - - - - - diff --git a/common/tags/contrail-common-0.1.0/registration/register-contrail-developer.sh b/common/tags/contrail-common-0.1.0/registration/register-contrail-developer.sh deleted file mode 100644 index 01be81dd617607f6c316a2b89cebeec3a1076e66..0000000000000000000000000000000000000000 --- a/common/tags/contrail-common-0.1.0/registration/register-contrail-developer.sh +++ /dev/null @@ -1,188 +0,0 @@ -#!/bin/bash -# -# Developers Registration Assistant for the Contrail project -# -# -# Authors: -# Sebastien Andre -# -# Versions: -# 2011-09-20 registration to gforge, jira, mailing lists + email -# - -TMPDIR="$(mktemp -td)" || exit 1 -trap "rm -fr $(printf '%q' "$TMPDIR")" EXIT -export TMPDIR - - - -# print a line with message $@ -say() { - printf "%s\n" "$*" -} - -# Print a line the same length as $1 with pattern $2 -line() { - printf "%s" "$1" | sed -e 's/./=/g' | tr '=' "${2:-"-"}" - say -} - -# Print a title -title() { - line "$*" '=' - say "$*" - line "$*" '=' - say -} - - -# Ask confirmation before running a command $@ -run() { - ask "Run command \`$*\`" ANS "Y/n" - case "$ANS" in - Y*|y*) - ( "$@" ) - say "Returned $?" - ;; - *) - say "Canceled by user" - esac -} - - -# Print the step described by $1 and run $@ if provided -step() { - say - say "* $1" - line "* $1" '-' - say - - shift - - if [ $# -gt 0 ] - then - run "$@" - pause - fi -} - - -# Pause until user press enter -pause() { - read -p 'Press to continue...' -} - - -# Ask for input of information $1 to be stored in $2 with default value $3 -ask() { - local desc="${1?}" - local var="${2?}" - local default="$3" - - eval "$var=" - until [ -n "${!var}" ] - do - read -p "${desc}${default:+" [${default}]"}: " "$var" - if [ -z "${!var}" ] - then - eval "$var=$(printf '%q' "$default")" - fi - done -} - - - -############################################################################# -BROWSER="$(type -p firefox || echo "echo")" -MAILFILE="$(mktemp -t)" || exit 1 - - -title 'Contrail Project - Developers Registration Assistant' - -# read infos -step "Collecting developer's information" - -ask "Full Name" DEV_FULL_NAME "$1" -ask "Email" DEV_EMAIL "$2" -ask "OW2 GForge login" DEV_LOGIN_GFORGE "$3" -ask "OW2 Jira login" DEV_LOGIN_JIRA "$4" - - -# GForge -step "Log in OW2 GForge" \ - "$BROWSER" \ - "https://forge.ow2.org/account/login.php" - -step "Add user '${DEV_LOGIN_GFORGE}' to group 'Members' with role 'Developer'" \ - "$BROWSER" "https://forge.ow2.org/project/admin/?group_id=396" - - -# Jira -step "Log in OW2 Jira" \ - "$BROWSER" \ - "http://jira.ow2.org/secure/Dashboard.jspa" - -step "Assign user '${DEV_LOGIN_JIRA}' to project role 'Developers'" \ - "$BROWSER" \ - "http://jira.ow2.org/secure/project/UserRoleActorAction.jspa?projectRoleId=10001&projectId=10051" - - - -# Mailing lists -step "Log in OW2 mail manager" \ - "$BROWSER" \ - "http://mail.ow2.org/wws" - -for ml in contrail-dev contrail-commits -do - step "Add subscriber '${DEV_EMAIL} ${DEV_FULL_NAME}' to mailing list $ml" \ - "$BROWSER" \ - "http://mail.ow2.org/wws/add_request/$ml" -done - - - -# Welcome email -cat < "$MAILFILE" -From: contrail-admin@ow2.org -To: ${DEV_FULL_NAME} <${DEV_EMAIL}> -Bcc: contrail-admin@ow2.org -Subject: Welcome to the Contrail project developers team ! -Reply-To: contrail-admin@ow2.org - -Dear ${DEV_FULL_NAME}, - - -Thank you for registering as a developer to the Contrail project. - - -You have been granted permissions to use the Contrail code repository and -the bug tracking system hosted by the OW2 consortium. - -You've also been subscribed to the contrail-dev@ow2.org and -contrail-commits@ow2.org mailing lists. - -For informations about your SVN access, please read -http://forge.ow2.org/plugins/scmsvn/index.php?group_id=396. - - -If you have any question regarding OW2 collaboration tools for the Contrail -project, please contact contrail-admin@ow2.org. - - -Best Regards, --- -Contrail OW2 Administrators -http://www.ow2.org/view/ActivitiesDashboard/Contrail -EOF - -step "Send a welcome email" \ - mutt -n -e "set signature=" -H "$MAILFILE" - - - -# Terminate -say -say "Registration procedure terminated" -exit 0 - diff --git a/common/trunk/Makefile b/common/trunk/Makefile deleted file mode 100644 index 781ac510da5270d1efc52bad6a2b66a8c3db3e01..0000000000000000000000000000000000000000 --- a/common/trunk/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# -# Makefile -# - -SHELL = /bin/bash - - - -all: check parent-pom ow2-admin-guide - - -check: - java -version - mvn -version - pdflatex -version - -parent-pom: - cd dev/maven/parent && mvn clean install - -ow2-admin-guide: - $(MAKE) -C admin/$@ - - diff --git a/common/trunk/README b/common/trunk/README deleted file mode 100644 index 760253f27d681cb7d19a0d2c43a4713d4d48ebce..0000000000000000000000000000000000000000 --- a/common/trunk/README +++ /dev/null @@ -1,6 +0,0 @@ -Contrail / common -================= - -TBD - - diff --git a/common/trunk/admin/keys/Rakefile b/common/trunk/admin/keys/Rakefile deleted file mode 100644 index d826e7e463e11ba23a8da9819a3c5fef9c535d44..0000000000000000000000000000000000000000 --- a/common/trunk/admin/keys/Rakefile +++ /dev/null @@ -1,112 +0,0 @@ - -require 'fileutils' - - -PK_FILE = 'contrail.pub' -SK_FILE = 'contrail.sec' - -NAME = 'Contrail Project' -GPG = 'gpg --no-greeting --no-use-agent --armor ' - - - -task :default do - sh %{rake -T} -end - -def read_password(times=1) - result = nil - - begin - (1..times).each do - print 'Passphrase: ' - system "stty -echo" - s = STDIN.gets.chomp - system "stty echo" - print "\n" - result ||= s - raise Exception, "Passphrases do not match" if result != s - end - ensure - system "stty echo" - end - - return result -end - - -desc 'Generate a new key pair' -task :generate do - puts "Generating a new key pair for the Contrail project" - password = read_password(2) - begin - IO.popen(GPG + '--batch --gen-key', 'r+') do |p| - p.puts(<<-EOF) -Key-Type: DSA -Key-Length: 1024 -Subkey-Type: ELG-E -Subkey-Length: 1024 -Name-Real: #{NAME} -Name-Comment: http://contrail.ow2.org -Name-Email: contrail-admin@ow2.org -Expire-Date: 0 -Passphrase: #{password} -%pubring #{PK_FILE} -%secring #{SK_FILE} - EOF - p.close_write - end - puts "Now encrypt the private key using the same passphrase" - IO.popen(GPG + "--symmetric --cipher-algo aes256 --passphrase-fd 0 --output #{SK_FILE}.gpg #{SK_FILE}", "r+") do |p| - p.puts password - p.close_write - end - puts 'done' - ensure - # SK_FILE should be overwritten first - File.delete(SK_FILE) - end -end - - -desc 'Delete keys from the local GPG database' -task :delete do - sh %{#{GPG} --delete-secret-and-public-key '#{NAME}'} -end - - -desc 'Import keys into the local GPG database' -task :import do - puts "Importing public key" - sh %{#{GPG} --import #{PK_FILE}} - puts "Importing secret key" - sh %{#{GPG} --decrypt #{SK_FILE}.gpg | #{GPG} --import} -end - - -desc 'Print the keys in the local GPG database' -task :list do - sh %{#{GPG} --list-keys "#{NAME}"} -end - - -desc 'Check the key pair in the local GPG database is working well' -task :check do - sh %{echo "It works !!!" | #{GPG} -er "#{NAME}" --trust-model always | #{GPG} --decrypt} -end - - -desc 'Upload the public key on a public key server' -task :publish do - sh %{#{GPG} --keyserver keys.gnupg.net --send-key '#{NAME}'} -end - - -desc 'Remove generated key files' -task :clean do - begin - File.delete(PK_FILE) - ensure - File.delete(SK_FILE + '.gpg') - end -end diff --git a/common/trunk/admin/keys/contrail.pub b/common/trunk/admin/keys/contrail.pub deleted file mode 100644 index d7bdb16461c9f0a06b2a2eef4ab838631f1ad2db..0000000000000000000000000000000000000000 --- a/common/trunk/admin/keys/contrail.pub +++ /dev/null @@ -1,25 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.11 (GNU/Linux) - -mQGiBE6m3OQRBADOcgGeLTiFiLbV1W6sDtC/OiXtx/ouNBc/+qDJQzs9SXQqgmGs -cNEHnmhC+D9CQ0NPqL/arzJmSOMV89S2YN1vfpRWojUwTTEN7n8aO4OhBq6DuEm5 -x7K0v53wPXMW2iEoyZFzUCULb5LofHQBY98vJ4OiAwKamxHmareFFM2rowCgtdB1 -jSdG+idFxEaSrWTFVoXnXmsEAKD+Aq3Su1Wx0CC2xEuVe+M9RpoAvRMJC8Fy8n9p -Z+a4ESAX8ySIR9W5EKpg2dh09sYt0g3YmDbmwMi9WDmv9yKCWe/ira0BS9Xtt5ma -TkOJMRPmYmV0QnKDX8hXkFHGSJb2qPXCcbdWvCnlnZkUYqljqY157tVlqp4sqY9Q -XKdAA/oDCHU1EjvBfD+AnVs9h5ixdzESkq4JFXjOKwJV1ZQ4wU1LlLfQOMR1/w0m -xa4PqvizWfN2c+4du/3HRh+qvAohM8El5K+5LicvpEvUqWssYcDihYEsG5//ZZxy -65NkmNWSDYR0sU/szOOUCVeX68Gfm2qQgPUUgOQuQLQNU7X9P7RDQ29udHJhaWwg -UHJvamVjdCAoaHR0cDovL2NvbnRyYWlsLm93Mi5vcmcpIDxjb250cmFpbC1hZG1p -bkBvdzIub3JnPohiBBMRAgAiBQJOptzkAhsjBgsJCAcDAgYVCAIJCgsEFgIDAQIe -AQIXgAAKCRD3h9AE0Zr148E1AJ0QYKrJSaXw8m4COX0Ha6EQTOjXKgCeMgPDsOFM -h1SAoWBqKUG/DQ+JVh65AQ0ETqbc5BAEAIevzgRqZe5QUt+BWKw7SSfox9VGL4qD -Mfd/TUd/s8e1I+bZsVTOWb5sROd1caHFAn763UdyI+icTNh9H4PJ9Gb0510vKU3Z -5kH7J4mIBieqHA4w/PazyLYK5q9IfH+R72FOLOYH9GxE79x+0s1hdUFhhYVEoDqF -wzOpOr05ATVXAAQNA/4gQETWEwCGXq3lEgr/ZzL0fxh3UcAaxzT6OAth+MBdjTte -rYmDvVh5XBfanZglC4xDLfSYJjjEG5qS4xieQTrIabdwK6Ci0WhrxNKaCxGhm8cJ -kmaDgmldThjffZko9R8QClT3TlhnEiPCEmXW4fmcLblCw7fM9zYjoIbU6GIF/YhJ -BBgRAgAJBQJOptzkAhsMAAoJEPeH0ATRmvXj4EMAn19UmpbfhYEksw9KeNoeI/v0 -st/eAKCHqIIHSmlwdCOsofVbtJh6FrIG3Q== -=qlxa ------END PGP PUBLIC KEY BLOCK----- diff --git a/common/trunk/admin/keys/contrail.sec.gpg b/common/trunk/admin/keys/contrail.sec.gpg deleted file mode 100644 index c455bcbebc352ef6f7b7fd18faf1f4e456b0c4d5..0000000000000000000000000000000000000000 --- a/common/trunk/admin/keys/contrail.sec.gpg +++ /dev/null @@ -1,33 +0,0 @@ ------BEGIN PGP MESSAGE----- -Version: GnuPG v1.4.11 (GNU/Linux) - -jA0ECQMCDHtq0MFttsJg0uoBDkQ/ZHhvvY2gjzv6KPF54QvHRc/kOxoQmlgFyHGK -o7anzOhNlLRU8McfK2KpXY3a13oxMWsQYRZ6cP/t7MZVRGQVJ3fN5u4ujNKaASre -HrRM17DSZhxqWLMeBbDR8pbjoVUYuOFW08WFqVYRzoi/8DdBUonAlGQ05HGf766a -CO7I7KQYlZzA21Yy1ItxpGldrFSrJtertTicJUwc0HLxdpL8LySZSKTt5p+ChlqB -ahHmHqYUsU/lF5LRLNkx+exmhK1xynw7Rc6m5nPxPPdvFGr9Jrhad9TlDiYXeN0L -cCNuJsfjKiMLz26S7ogEna2A8UU2Kz/oDP7FbKJbZ6E7ftib4L4Pj54mel9xVA/y -C5jmuzAytTBPzGaqz40IePFl3n/SSMlthcq5AoC0T4SrKIy9KPjUmlXnpSPXyDbQ -yIAWB6FHdopPw5VWv872xWODUpODLmIg2jjMZq0DWNAIDiB56Lhhdz7n93RSlsrB -1jEbsLqePJ+fFg/CpMiX+6cp5q3GfXbeID2u5x0hVdLEawi+t/q/Llrcy8ry+Hto -ZLJfhJlhLDZUj1OcqMJ9kpB7TsuxUoGi2YSj1tLn9mxJilDw1HQSaXoywJE80Lv1 -cHdVdLm5XPTCV+/1Zd/MChxTEN91OkAVy9HutfN0N3ueQ6Jlf27L8LcmFHfDwJRq -SmXRfjdcZBxep6RXA4V7zYpWYkVnJd6F+WKbDE7BAnDNkjsnyWDhvr+UMampNXlA -ElJgyk8L+e89SVIVzk+9X1cNEe+vmDiTArqIVnFxH3QL8SHJtW0zbrWet85NaQLY -UYeIxrPH+pOU+U9wX7puvNPoRQ35O4EqKnTN0yYj9+TbQVZXEaIsWGV0mvopq4sO -GcG2a9piTQHmOdal6QL9u1fA8dMeIEYoe2J2f7kkU7vj4F5ve/LDNTHP0FJzAYLr -jyz6cwL0KVz9K24Z1cW1sftalkGj90zT+Htc+M4xYvmIoz3g+FZtVhXEIpQ4Kfv3 -5uB8f7XDemyMDPEqUdlQdLSWHtONUvYp8FYQtNHqhdLyIhgmkbSRYzA/laEIizTH -DMTxJINpmasXyATWUj8GHV8r4jCOPuv41cxbLOObdppC+vJJqCvy1JAuU+tojZde -jtAgixdiDe0JBbkF4XEitTIbDn6JSrLcpiii/pXK9xB4CDasWayqmrij7Z5jE4YX -pqtBJWOQ7Ea/ofnsbLfkpNWnTHoAl68znmCpI5XBCFyHYKavG8gl2yfFHxE/R4pK -zzqJyRtKEDL+yPeriR72uhYCHVhrnU+Q6MqU18LNSWghgOoft2aJ4nO6SIB0lXTi -sdesuRU5LV7B5tMdMDNKg820/xRG2xuCkpfryhIyIRwRwD7JJnYUlpHd2ycnxewV -Z/n2dRyQBhDRaa7FwqH3by24SBajLxqp33Hjo7YRrJ03PMyNJSYeaqGfasL66ZMe -37I31Mpq/jlnQvQwevBFuxQo/ZmmGm2KIGcT/FT5hgF6DSGaqNcWakGZq+iJLyaa -rTajOQ1DnpY6IKRsWE7VAi2WcBQwW+yePj+aDU5TbJE8fv4I5Rbqy34qnLGPATi3 -ma1Hw0MNG8bEQTkyVodjKvk6rS7fsnZHj2YKhr8s040pW7t+cwRyGqI/hIKu8CP6 -M7KpYWxdZ9i9X+WmSoIgH56cyxeup95WOK/5WR4A8IMsKsgmMFlbfvJA4P6+Qlle -QQ== -=oOuS ------END PGP MESSAGE----- diff --git a/common/trunk/admin/ow2-admin-guide/Makefile b/common/trunk/admin/ow2-admin-guide/Makefile deleted file mode 100644 index 2cf74399d235d84556dbf99929044034084540ea..0000000000000000000000000000000000000000 --- a/common/trunk/admin/ow2-admin-guide/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# -# Makefile: build the pdf document -# -SHELL = /bin/bash - -pdflatex = pdflatex -no-shell-escape -halt-on-error - - -build: ow2-admin-guide.pdf - -%.pdf: tex/%.tex $(wildcard img/* tex/*) - $(pdflatex) $< - $(pdflatex) $< - -clean: - rm -f *.aux *.pdf *.log *.toc *.lof *.out - diff --git a/common/trunk/admin/ow2-admin-guide/img/contrail.png b/common/trunk/admin/ow2-admin-guide/img/contrail.png deleted file mode 100644 index 51aec770f46fea264d791c617c50b72f1dcdd816..0000000000000000000000000000000000000000 Binary files a/common/trunk/admin/ow2-admin-guide/img/contrail.png and /dev/null differ diff --git a/common/trunk/admin/ow2-admin-guide/img/push_website.png b/common/trunk/admin/ow2-admin-guide/img/push_website.png deleted file mode 100644 index f471f009e0e1aa16c729226db4eab9f44c2a3c9d..0000000000000000000000000000000000000000 Binary files a/common/trunk/admin/ow2-admin-guide/img/push_website.png and /dev/null differ diff --git a/common/trunk/admin/ow2-admin-guide/tex/ow2-admin-guide.tex b/common/trunk/admin/ow2-admin-guide/tex/ow2-admin-guide.tex deleted file mode 100644 index 342949ab6e490c90c74113702f688650668328d0..0000000000000000000000000000000000000000 --- a/common/trunk/admin/ow2-admin-guide/tex/ow2-admin-guide.tex +++ /dev/null @@ -1,37 +0,0 @@ -\documentclass[pdftex,12pt,a4paper]{article} - -\usepackage[pdftex]{graphicx} -\usepackage{hyperref} - -\hypersetup{ - bookmarks=true, - unicode=false, - pdfstartview={FitH} -} - - -\begin{document} - -% title -\input{tex/titlepage.tex} - -% abstract -\begin{abstract} -This document aims at providing the administrators of the \href{http://www.ow2.org/view/ActivitiesDashboard/Contrail}{OW2 Contrail project} with a comprehensive set of maintenance procedures. -\end{abstract} -\newpage - -% table of content -\tableofcontents -\newpage - -% list of figures -\listoffigures -\cleardoublepage - -% admin procedures -\input{tex/procedures.tex} - -\cleardoublepage -\end{document} - diff --git a/common/trunk/admin/ow2-admin-guide/tex/procedures.tex b/common/trunk/admin/ow2-admin-guide/tex/procedures.tex deleted file mode 100644 index d90eeccab85c27d6bb7c2a1e03fc7eb9dacc265c..0000000000000000000000000000000000000000 --- a/common/trunk/admin/ow2-admin-guide/tex/procedures.tex +++ /dev/null @@ -1,16 +0,0 @@ - -\section{Register a new developer} - - - -\section{Publish OW2 news} - -email to \href{mailto:contrail-admin@ow2.org} and ask to publish - - -\section{Freeze the SVN repository} - - -\section{Release Contrail} - - diff --git a/common/trunk/admin/ow2-admin-guide/tex/titlepage.tex b/common/trunk/admin/ow2-admin-guide/tex/titlepage.tex deleted file mode 100644 index 7c20f0a5e5c70b6fb2ee25cc82da32e927f0dc96..0000000000000000000000000000000000000000 --- a/common/trunk/admin/ow2-admin-guide/tex/titlepage.tex +++ /dev/null @@ -1,30 +0,0 @@ - -\begin{titlepage} - - \begin{center} - % logo - \includegraphics[width=0.75\textwidth]{img/contrail.png}\\[3cm] - %\textsc{\LARGE Contrail}\\[1.5cm] - %\textsc{\Large Final year project}\\[0.5cm] - - % Title - \rule{\linewidth}{0.5mm}\\[0.7cm] - { \huge \bfseries OW2 Administration Guide}\\[0.4cm] - \rule{\linewidth}{0.5mm}\\[3cm] - - % Authors - \begin{minipage}{0.4\textwidth} - \large \emph{Authors:}\\ - S\'ebastien \textsc{ANDR\'E} - \end{minipage} - - \vfill - - % Bottom of the page - {\large \today} - - \end{center} - -\end{titlepage} - - diff --git a/common/trunk/admin/registration/register-contrail-developer.sh b/common/trunk/admin/registration/register-contrail-developer.sh deleted file mode 100644 index 01be81dd617607f6c316a2b89cebeec3a1076e66..0000000000000000000000000000000000000000 --- a/common/trunk/admin/registration/register-contrail-developer.sh +++ /dev/null @@ -1,188 +0,0 @@ -#!/bin/bash -# -# Developers Registration Assistant for the Contrail project -# -# -# Authors: -# Sebastien Andre -# -# Versions: -# 2011-09-20 registration to gforge, jira, mailing lists + email -# - -TMPDIR="$(mktemp -td)" || exit 1 -trap "rm -fr $(printf '%q' "$TMPDIR")" EXIT -export TMPDIR - - - -# print a line with message $@ -say() { - printf "%s\n" "$*" -} - -# Print a line the same length as $1 with pattern $2 -line() { - printf "%s" "$1" | sed -e 's/./=/g' | tr '=' "${2:-"-"}" - say -} - -# Print a title -title() { - line "$*" '=' - say "$*" - line "$*" '=' - say -} - - -# Ask confirmation before running a command $@ -run() { - ask "Run command \`$*\`" ANS "Y/n" - case "$ANS" in - Y*|y*) - ( "$@" ) - say "Returned $?" - ;; - *) - say "Canceled by user" - esac -} - - -# Print the step described by $1 and run $@ if provided -step() { - say - say "* $1" - line "* $1" '-' - say - - shift - - if [ $# -gt 0 ] - then - run "$@" - pause - fi -} - - -# Pause until user press enter -pause() { - read -p 'Press to continue...' -} - - -# Ask for input of information $1 to be stored in $2 with default value $3 -ask() { - local desc="${1?}" - local var="${2?}" - local default="$3" - - eval "$var=" - until [ -n "${!var}" ] - do - read -p "${desc}${default:+" [${default}]"}: " "$var" - if [ -z "${!var}" ] - then - eval "$var=$(printf '%q' "$default")" - fi - done -} - - - -############################################################################# -BROWSER="$(type -p firefox || echo "echo")" -MAILFILE="$(mktemp -t)" || exit 1 - - -title 'Contrail Project - Developers Registration Assistant' - -# read infos -step "Collecting developer's information" - -ask "Full Name" DEV_FULL_NAME "$1" -ask "Email" DEV_EMAIL "$2" -ask "OW2 GForge login" DEV_LOGIN_GFORGE "$3" -ask "OW2 Jira login" DEV_LOGIN_JIRA "$4" - - -# GForge -step "Log in OW2 GForge" \ - "$BROWSER" \ - "https://forge.ow2.org/account/login.php" - -step "Add user '${DEV_LOGIN_GFORGE}' to group 'Members' with role 'Developer'" \ - "$BROWSER" "https://forge.ow2.org/project/admin/?group_id=396" - - -# Jira -step "Log in OW2 Jira" \ - "$BROWSER" \ - "http://jira.ow2.org/secure/Dashboard.jspa" - -step "Assign user '${DEV_LOGIN_JIRA}' to project role 'Developers'" \ - "$BROWSER" \ - "http://jira.ow2.org/secure/project/UserRoleActorAction.jspa?projectRoleId=10001&projectId=10051" - - - -# Mailing lists -step "Log in OW2 mail manager" \ - "$BROWSER" \ - "http://mail.ow2.org/wws" - -for ml in contrail-dev contrail-commits -do - step "Add subscriber '${DEV_EMAIL} ${DEV_FULL_NAME}' to mailing list $ml" \ - "$BROWSER" \ - "http://mail.ow2.org/wws/add_request/$ml" -done - - - -# Welcome email -cat < "$MAILFILE" -From: contrail-admin@ow2.org -To: ${DEV_FULL_NAME} <${DEV_EMAIL}> -Bcc: contrail-admin@ow2.org -Subject: Welcome to the Contrail project developers team ! -Reply-To: contrail-admin@ow2.org - -Dear ${DEV_FULL_NAME}, - - -Thank you for registering as a developer to the Contrail project. - - -You have been granted permissions to use the Contrail code repository and -the bug tracking system hosted by the OW2 consortium. - -You've also been subscribed to the contrail-dev@ow2.org and -contrail-commits@ow2.org mailing lists. - -For informations about your SVN access, please read -http://forge.ow2.org/plugins/scmsvn/index.php?group_id=396. - - -If you have any question regarding OW2 collaboration tools for the Contrail -project, please contact contrail-admin@ow2.org. - - -Best Regards, --- -Contrail OW2 Administrators -http://www.ow2.org/view/ActivitiesDashboard/Contrail -EOF - -step "Send a welcome email" \ - mutt -n -e "set signature=" -H "$MAILFILE" - - - -# Terminate -say -say "Registration procedure terminated" -exit 0 - diff --git a/common/trunk/admin/svnhooks/Makefile b/common/trunk/admin/svnhooks/Makefile deleted file mode 100644 index 86d015e12698e3787059b3872c220346505609b0..0000000000000000000000000000000000000000 --- a/common/trunk/admin/svnhooks/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# -# Makefile: check syntax and install Contrail subversion hook scripts -# - -SHELL = /bin/bash - -SRCDIR = $(CURDIR)/src - -SCRIPTS = pre-commit - -SVN_HOST = svn.forge.objectweb.org -SVN_REPO = /var/lib/gforge/chroot/svnroot/contrail - - -.PHONY: help clean - - -# Build all hook scripts -build: $(SCRIPTS) - -# Install hook scripts on the local machine -install: build - cp -p $(SCRIPTS) $(SVN_REPO)/hooks/ - -# Deploy hook scripts on the remote (production) server -deploy: build - scp -C -p -- $(SCRIPTS) $(SVN_HOST):$(SVN_REPO)/hooks/ - -# Remove generated files -clean: - rm -f $(SCRIPTS) - -# Build hook script -%: $(SRCDIR)/%.sh - sh -n $< - install -m 0775 $< $@ - diff --git a/common/trunk/admin/svnhooks/src/pre-commit.sh b/common/trunk/admin/svnhooks/src/pre-commit.sh deleted file mode 100644 index 843fdfd58b11a7f745ea4d340f6c4311941aafd6..0000000000000000000000000000000000000000 --- a/common/trunk/admin/svnhooks/src/pre-commit.sh +++ /dev/null @@ -1,168 +0,0 @@ -#!/bin/sh - -# PRE-COMMIT HOOK -# -# The pre-commit hook is invoked before a Subversion txn is -# committed. Subversion runs this hook by invoking a program -# (script, executable, binary, etc.) named 'pre-commit' (for which -# this file is a template), with the following ordered arguments: -# -# [1] REPOS-PATH (the path to this repository) -# [2] TXN-NAME (the name of the txn about to be committed) -# -# [STDIN] LOCK-TOKENS ** the lock tokens are passed via STDIN. -# -# If STDIN contains the line "LOCK-TOKENS:\n" (the "\n" denotes a -# single newline), the lines following it are the lock tokens for -# this commit. The end of the list is marked by a line containing -# only a newline character. -# -# Each lock token line consists of a URI-escaped path, followed -# by the separator character '|', followed by the lock token string, -# followed by a newline. -# -# The default working directory for the invocation is undefined, so -# the program should set one explicitly if it cares. -# -# If the hook program exits with success, the txn is committed; but -# if it exits with failure (non-zero), the txn is aborted, no commit -# takes place, and STDERR is returned to the client. The hook -# program can use the 'svnlook' utility to help it examine the txn. -# -# On a Unix system, the normal procedure is to have 'pre-commit' -# invoke other programs to do the real work, though it may do the -# work itself too. -# -# *** NOTE: THE HOOK PROGRAM MUST NOT MODIFY THE TXN, EXCEPT *** -# *** FOR REVISION PROPERTIES (like svn:log or svn:author). *** -# -# This is why we recommend using the read-only 'svnlook' utility. -# In the future, Subversion may enforce the rule that pre-commit -# hooks should not modify the versioned data in txns, or else come -# up with a mechanism to make it safe to do so (by informing the -# committing client of the changes). However, right now neither -# mechanism is implemented, so hook writers just have to be careful. -# -# Note that 'pre-commit' must be executable by the user(s) who will -# invoke it (typically the user httpd runs as), and that user must -# have filesystem-level permission to access the repository. -# -# On a Windows system, you should name the hook program -# 'pre-commit.bat' or 'pre-commit.exe', -# but the basic idea is the same. -# -# The hook program typically does not inherit the environment of -# its parent process. For example, a common problem is for the -# PATH environment variable to not be set to its usual value, so -# that subprograms fail to launch unless invoked via absolute path. -# If you're having unexpected problems with a hook program, the -# culprit may be unusual (or missing) environment variables. -# -# Here is an example hook script, for a Unix /bin/sh interpreter. -# For more examples and pre-written hooks, see those in -# /usr/share/subversion/hook-scripts, and in the repository at -# http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/ and -# http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/ -# - - -# Path to the SVN repository -REPOS="$1" - -# Id of the transaction -TXN="$2" - -# List of users for which rules do not apply (admins) -ADMINS="mateja sandre" - -# Freeze the code if value is "yes" -FREEZE="no" - - -# Execute the svnlook command $1 -svnlook() { - /usr/bin/svnlook "${1?}" -t "$TXN" "$REPOS" \ - || reject "server internal error" -} - - -# Reject the commit with error message $1 -reject () { - mail -s "Contrail: svnhook usage: pre-commit" sandre@petalslink.com <<<" -A commit has been rejected by the Contrail SVN pre-commit hook. - -Error: - ${1:-""} - -Developer: - $(svnlook author) - -Date: - $(svnlook date) - -Changed: - $(svnlook changed) -" - - echo " -ERROR: ${1:-'your commit transaction has been rejected'}. - -For further explanations about the Contrail project's coding policy, -please refer to the public wiki at -http://contrail-project.eu/development-wiki/-/wiki/Main/Coding+best+practices+in+Contrail - -If you think your commit shouldn't have been rejected, please contact -the Contrail OW2 administrators at and try -again later." >&2 - exit 1 -} - -# Allow the commit -allow() { - echo "commit ${TXN}@${REPOS} allowed" - exit 0 -} - - - - -############################################################################# - -# commit allowed if author is one of the admins -echo "$ADMINS" \ - | grep -qwF "`svnlook 'author'`" \ - && allow - - -# commit not allowed if code frozen -[ "$FREEZE" = "yes" ] \ - && reject 'source code is currently frozen, please retry later' - - -# commit rejected if log message does not contain any printable character -svnlook 'log' \ - | grep -qE '[^[:space:]]' \ - || reject 'commit message is blank or empty' - - -# commit rejected if attempt to modify repo structure -svnlook 'dirs-changed' \ - | grep -qxF '/' \ - && reject 'trying to modify the repository structure' - - -# commit rejected if trying to add or update eclipse config files -svnlook 'changed' \ - | grep -qE '^(A|U|_U|UU)[[:space:]]+.*/\.(classpath|project|settings/)' \ - && reject 'trying to commit an IDE configuration file (e.g. .project, .classpath, .settings)' - - -# commit rejected if trying to add or update a data file -svnlook 'changed' \ - | grep -qE '^(A|U|_U|UU)[[:space:]]+.*\.(log)$' \ - && reject 'trying to commit data or binary file (e.g. *.zip, *.log)' - - -# All checks passed, so allow the commit. -allow - diff --git a/common/trunk/dev/maven/parent/pom.xml b/common/trunk/dev/maven/parent/pom.xml deleted file mode 100644 index ab0dbb9d3cee2276fdcf75c06175d6f71e77a8f0..0000000000000000000000000000000000000000 --- a/common/trunk/dev/maven/parent/pom.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - 4.0.0 - - - 2.2.1 - - - - org.ow2 - ow2 - 1.3 - - - org.ow2.contrail - contrail - 0.2-SNAPSHOT - - pom - - Contrail - Supply of, and demand for computational capacity is elastic. Some companies are are falling short, others have capacity in abundance. More often than not the need or surplus in computational power or storage capacity is temporary. Wouldn't it be wonderful if the surplus of one corporation could (temporarily) alleviate the wantage of the other. A consortium of ten organisations from six European countries started on a collaborative project to enable just that. The Contrail project aims to design, implement, evaluate and promote an open source computational cloud wherein users can share resources without limit. - http://contrail-project.eu/ - 2010 - - - Contrail Consortium - http://contrail-project.eu/partners - - - - - Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - A business-friendly OSS license - - - - - Atlassian Jira - http://jira.ow2.org/browse/CONTRAIL - - - - Atlassian Bamboo - http://bamboo.ow2.org/browse/CONTRAIL - - - - - Commits List - contrail-commits-subscribe@ow2.org - contrail-commits-unsubscribe@ow2.org - http://mail.ow2.org/wws/info/contrail-commits - http://mail-archive.ow2.org/contrail-commits/index.html - - - - - - - - - org.apache.maven.plugins - maven-release-plugin - 2.1 - - forked-path - - false - - -Pcontrail-release - - - - - - - - - contrail-release - - - - - - scm:svn:svn://svn.forge.objectweb.org/svnroot/contrail/common/trunk/maven/parent - scm:svn:svn+ssh://svn.forge.objectweb.org/svnroot/contrail/common/trunk/maven/parent - http://websvn.ow2.org/filedetails.php?repname=contrail&path=%2Fcommon%2Ftrunk%2Fmaven%2Fparent%2Fpom.xml - - - - diff --git a/common/trunk/dev/maven/settings/settings.xml b/common/trunk/dev/maven/settings/settings.xml deleted file mode 100644 index 5e751afe337d3fa16b3af95f9e153e252e56f96c..0000000000000000000000000000000000000000 --- a/common/trunk/dev/maven/settings/settings.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - contrail - - true - - - - contrail-staging - Contrail Staging Repository - http://repository.ow2.org/nexus/content/repositories/ow2_contrail-011/ - - true - - - false - - - - - - ow2 - - true - - - - ow2-releases - OW2 Releases Repository - http://repository.ow2.org/nexus/content/repositories/releases/ - - true - - - false - - - - ow2-snapshots - OW2 Snapshots Repository - http://repository.ow2.org/nexus/content/repositories/snapshots/ - - false - - - true - - - - - - - diff --git a/common/trunk/src/ovf-parser/OVFParser/data/contrail_petstore.xml b/common/trunk/src/ovf-parser/OVFParser/data/contrail_petstore.xml deleted file mode 100644 index 5b0e0b26053220ab4e077432883dfd044dc3658d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/data/contrail_petstore.xml +++ /dev/null @@ -1,618 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - Describes the set of virtual disks - - - - - - - - - - - - - - - - - - List of logical networks used in the package - - The network used to link the web server node and the engine frontend node. - - - The network used to link the engine nodes. - - - The network used to link the engine backend node and the db frontend node. - - - The network used to link the db nodes. - - - - - - - - - The packaging of the Contrail PetStoreService multi-tier application - Contrail PetStore Service - - - Describes product information for the service - Contrail PetStore Web Portal - Some Random Organization - 4.5 - 4.5-b4523 - http://www.vmware.com/go/ovf - http://www.vmware.com/ - - Network properties - - - - - - Defines minimum reservations for CPU and memory - - - byte * 2^20 - 512 MB reservation - 0 - 512 - 4 - - - - byte * 2^20 - 384 MB reservation - 0 - 384 - 4 - - - - - MHz - 1000 MHz reservation - 1 - 500 - 3 - - - MHz - 500 MHz reservation - 1 - 500 - 3 - - - MHz - 1500 MHz reservation - 1 - 1500 - 3 - - - - - Specifies how the composite service is powered-on and off - - - - - - - - - - - The virtual machine containing the WebServer application - - Describes the product information - Apache Webserver - Apache Software Foundation - 6.5 - 6.5-b2432 - - - - - - - 256 MB, 1 CPU, 1 disk, 1 nic virtual machine - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/web - 22001 - 1000 - 17 - - - true - VM Network - Ethernet adapter on "VM Network" - - 3 - PCNet32 - 10 - - - 1 - SCSI Controller 0 - LSI Logic - 1000 - LsiLogic - 6 - - - - - - - The virtual machines containing the subgraph for the engine of the application - - - - - - - - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/engine_frontend - 22001 - 1000 - 17 - - - - - - - - - - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/engine_worker - 22001 - 1000 - 17 - - - - - - - - - - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/engine_worker - 22001 - 1000 - 17 - - - - - - - - - - - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/engine_backend - 22001 - 1000 - 17 - - - - - - - - Describes a clustered database instance - - Product Information - Somebody Clustered SQL Server - TBD - 2.5 - 2.5-b1234 - - - - - Specifies how the composite service is powered-on and off - - - - - - - - - - - - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/db_frontend - 22001 - 1000 - 17 - - - - - - - Describes a virtual machine with the database image installed - Database Instance I - - - - - - - 256 MB, 1 CPU, 1 disk, 1 nic virtual machine - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/db_backend - 22001 - 1000 - 17 - - - true - VM Network - Ethernet adapter on "VM Network" - 3 - PCNet32 - 10 - - - 1 - SCSI Controller 0 - LSI Logic - 1000 - LsiLogic - 6 - - - - - - - - Describes a virtual machine with the database image installed - Database Instance II - - Specifies the OVF properties available in the OVF environment - - - - - 256 MB, 1 CPU, 1 disk, 1 nic virtual machine - - Virtual Hardware Family - 0 - vmx-04 - - - Number of virtual CPUs - 1 virtual CPU - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 256 MB of memory - 2 - 4 - 256 - - - 0 - Harddisk 1 - ovf:/disk/db_backend - 22001 - 1000 - 17 - - - true - VM Network - Ethernet adapter on "VM Network" - - 3 - PCNet32 - 10 - - - 1 - SCSI Controller 0 - LSI Logic - 1000 - LsiLogic - 6 - - - - - - - - - \ No newline at end of file diff --git a/common/trunk/src/ovf-parser/OVFParser/data/small-vm.ovf b/common/trunk/src/ovf-parser/OVFParser/data/small-vm.ovf deleted file mode 100644 index 8ac65fbeefc7847822cf4c213ffe5455c17f23f8..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/data/small-vm.ovf +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - Virtual disk information - - - - The list of logical networks - - The VM Network network - - - - A virtual machine - Small VM - - The kind of installed guest operating system - Microsoft Windows Server 2003, Standard Edition (32-bit) - - - Virtual hardware requirements - - Virtual Hardware Family - 0 - Small VM - vmx-07 - - - hertz * 10^6 - Number of Virtual CPUs - 1 virtual CPU(s) - 1 - 3 - 1 - - - byte * 2^20 - Memory Size - 512MB of memory - 2 - 4 - 512 - - - 0 - SCSI Controller - SCSI controller 0 - 3 - lsilogic - 6 - - - 1 - IDE Controller - IDE 1 - 4 - 5 - - - 0 - IDE Controller - IDE 0 - 5 - 5 - - - 0 - false - Floppy Drive - Floppy drive 1 - 6 - 14 - - - The main CD drive - 0 - false - CD/DVD Drive 1 - 7 - 4 - 15 - - - 7 - true - VM Network - E1000 ethernet adapter on "VM Network" - Network adapter 1 - 8 - E1000 - 10 - - - The main Hard Disk - 0 - Hard disk 1 - ovf:/disk/vmdisk1 - 9 - 3 - 17 - - - - diff --git a/common/trunk/src/ovf-parser/OVFParser/lib/mascopt-1.3.2/mascoptLib-1.3.2.jar b/common/trunk/src/ovf-parser/OVFParser/lib/mascopt-1.3.2/mascoptLib-1.3.2.jar deleted file mode 100644 index ac5cd64b276bb0b9110dbe0acbb76bf9fc43bf7d..0000000000000000000000000000000000000000 Binary files a/common/trunk/src/ovf-parser/OVFParser/lib/mascopt-1.3.2/mascoptLib-1.3.2.jar and /dev/null differ diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/Test/TestOVFParser.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/Test/TestOVFParser.java deleted file mode 100644 index 00adba2b8002418f550026fcb1abb121000c0186..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/Test/TestOVFParser.java +++ /dev/null @@ -1,50 +0,0 @@ -package org.ow2.contrail.federation.Test; - -import java.io.BufferedReader; -import java.io.FileNotFoundException; -import java.io.FileReader; -import java.io.IOException; -import java.net.URISyntaxException; - -import javax.xml.parsers.ParserConfigurationException; -import javax.xml.xpath.XPathExpressionException; - -import mascoptLib.graphs.Graph; - -import org.ow2.contrail.federation.application.ApplianceDescriptor; -import org.ow2.contrail.federation.application.ApplicationDescriptor; -import org.ow2.contrail.federation.application.ovf.Disk; -import org.ow2.contrail.federation.application.ovf.OVFParser; -import org.w3c.dom.DOMException; -import org.xml.sax.SAXException; - -public class TestOVFParser { - - public static void main(String[] args) throws NumberFormatException, FileNotFoundException, XPathExpressionException, DOMException, ParserConfigurationException, SAXException, IOException, URISyntaxException - { - FileReader fr = new FileReader("data/contrail_petstore.xml"); - - BufferedReader br = new BufferedReader(fr); - StringBuffer sb = new StringBuffer(); - while(br.ready()){ - sb.append(br.readLine()); - } - - ApplicationDescriptor app = OVFParser.ParseOVF(sb.toString()); - - for (ApplianceDescriptor a : app.getAppliancesDescriptors()) - { - for (Disk d : a.getDisks()) - { - System.out.println(d.getId()); - System.out.println(d.getFile()); - } - - System.out.println("-------"); - } - - Graph g = app.getApplicationGraph(); - System.out.println(g); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ApplianceDescriptor.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ApplianceDescriptor.java deleted file mode 100644 index dfda0403399c156bc929b30ecef15c459f479208..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ApplianceDescriptor.java +++ /dev/null @@ -1,73 +0,0 @@ -package org.ow2.contrail.federation.application; - -import java.util.Collection; - -import mascoptLib.graphs.Vertex; - -import org.ow2.contrail.federation.application.ovf.Disk; -import org.ow2.contrail.federation.application.ovf.OVFVirtualNetwork; -import org.ow2.contrail.federation.application.ovf.OVFVirtualSystem; - -public interface ApplianceDescriptor -{ - /** - * Gets the URI of the appliance. - * - * @return A String. - */ - public String getApplianceURI(); - - /** - * Gets the appliance identifier. - * - * @return An identifier expressed as a String. - */ - public String getID(); - - /** - * Gets the image size. - * - * @return long - */ - public long getSize(); - - /** - * Gets the virtual systems associated with the OVF. - * - * @return A collection of OVFVirtualSystems. - */ - // TODO: in case of "simple" appliance (e.g. just 1 VS) collection is not used! - // otherwise recursively another ApplianceDescriptor is created, so this can become just a reference - // to a VirtualSystem. - public Collection getVirtualSystems(); - - /** - * Get the virtual networks associated with the appliance. - * - * @return A collection of OVFVirtualNetwork. - */ - public Collection getAssociatedVirtualNetworks(); - - /** - * Get the vertex associated with this appliance in the appliance graph. - * - * @return A Mascopt Vertex. - */ - public Vertex getVertex(); - - /** - * Gets the appliances this appliance is made of. - * - * @return A collection of ApplianceDescriptor. - */ - public Collection getAppliancesDescriptors(); - - //TODO: public Graph getApplianceGraph(); - - /** - * Gets the disk images used by this appliance. - * - * @return A collection of Disk. - */ - public Collection getDisks(); -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ApplicationDescriptor.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ApplicationDescriptor.java deleted file mode 100644 index a1ad6527d9f4612a6747b86439e93aecec916850..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ApplicationDescriptor.java +++ /dev/null @@ -1,30 +0,0 @@ -package org.ow2.contrail.federation.application; - -import java.util.Collection; - -import mascoptLib.graphs.Graph; - -import org.ow2.contrail.federation.application.constraints.ApplicationConstraints; -import org.ow2.contrail.federation.application.constraints.UserConstraints; -import org.ow2.contrail.federation.application.sla.implementation.InternalSLAProposalImpl; - -public interface ApplicationDescriptor { - - // TODO: remove! Moved inside ApplianceDescriptor - public Graph getApplicationGraph(); - - public Collection getAppliancesDescriptors(); - - /** The proposal is unique for each submission, maybe we can - * provide specific method in the InternalSLAProposalImpl Class - * to manage different degrees of granularity */ - public InternalSLAProposalImpl getSLAProposal(); - - public ApplicationConstraints getApplicationConstraints(); - - public UserConstraints getUserConstraints(); - - @Override - public String toString(); - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/constraints/ApplicationConstraints.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/constraints/ApplicationConstraints.java deleted file mode 100644 index 2f18e3b6e3364edd545aaf140238a183417e40f9..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/constraints/ApplicationConstraints.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.ow2.contrail.federation.application.constraints; - -import org.ow2.contrail.federation.application.ApplianceDescriptor; - -public interface ApplicationConstraints { - - - public String getCPURequirement(ApplianceDescriptor appDescr); - - public String getRAMRequirement(ApplianceDescriptor appDescr); - - public String getStorageRequirement(ApplianceDescriptor appDescr); -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/constraints/UserConstraints.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/constraints/UserConstraints.java deleted file mode 100644 index 48d0103ed83b4f9980503f75bec56c9504158954..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/constraints/UserConstraints.java +++ /dev/null @@ -1,5 +0,0 @@ -package org.ow2.contrail.federation.application.constraints; - -public interface UserConstraints { - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplianceDescriptorImpl.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplianceDescriptorImpl.java deleted file mode 100644 index bf7d07364a09d3b4eb627e9e40f8a25b630eb490..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplianceDescriptorImpl.java +++ /dev/null @@ -1,160 +0,0 @@ -package org.ow2.contrail.federation.application.implementation; - -import java.util.ArrayList; -import java.util.Collection; - -import mascoptLib.graphs.Vertex; - -import org.ow2.contrail.federation.application.ApplianceDescriptor; -import org.ow2.contrail.federation.application.ovf.Disk; -import org.ow2.contrail.federation.application.ovf.OVFVirtualHardware; -import org.ow2.contrail.federation.application.ovf.OVFVirtualNetwork; -import org.ow2.contrail.federation.application.ovf.OVFVirtualSystem; -import org.ow2.contrail.federation.application.ovf.virtualhardware.OVFVirtualHwDiskDrive; - -public class ApplianceDescriptorImpl extends Vertex implements ApplianceDescriptor { - - private String applianceURI; - - private String id; - private long size; - - private Collection virtualSystems; - - private Collection virtualNetworks; - - private Vertex myVertex; - - private Collection childAppliances; - - public ApplianceDescriptorImpl(String lid, String luri, long lsize) - { - id = lid; - applianceURI = luri; - size = lsize; - - virtualSystems = new ArrayList(); - virtualNetworks = new ArrayList(); - - myVertex = new Vertex(); - - childAppliances = new ArrayList(); - } - - /** - * Gets the URI of the appliance. - * - * @return A String. - */ - @Override - public String getApplianceURI() - { - return applianceURI; - } - - /** - * Gets the appliance identifier. - * - * @return An identifier expressed as a String. - */ - @Override - public String getID() - { - return id; - } - - /** - * Gets the image size. - * - * @return long - */ - @Override - public long getSize() - { - return size; - } - - /** - * Gets the virtual systems associated with the OVF. - * - * @return A collection of OVFVirtualSystems. - */ - @Override - public Collection getVirtualSystems() - { - return virtualSystems; - } - - /** - * Get the virtual networks associated with the appliance. - * - * @return A collection of OVFVirtualNetwork. - */ - @Override - public Collection getAssociatedVirtualNetworks() - { - return virtualNetworks; - } - - /** - * Get the vertex associated with this appliance in the appliance graph. - * - * @return A Mascopt Vertex. - */ - @Override - public Vertex getVertex() - { - return myVertex; - } - - /** - * Gets the appliances this appliance is made of. - * - * @return A collection of ApplianceDescriptor. - */ - @Override - public Collection getAppliancesDescriptors() - { - return childAppliances; - } - - // TODO: right now it computes the image set in a lazy way. - // avoid to recompute the set everytime. - /** - * Gets the disk images used by this appliance. - * - * @return A collection of Disk. - */ - @Override - public Collection getDisks() - { - Collection result = new ArrayList(); - - // this - for (OVFVirtualSystem vs : virtualSystems) - { - for (OVFVirtualHardware vh : vs.getRequiredHardware()) - { - if (vh.getResourceType() == 17) - { - result.add( - ((OVFVirtualHwDiskDrive)vh).getDisk()); - } - } - } - - // children - for (ApplianceDescriptor child : childAppliances) - { - result.addAll(child.getDisks()); - } - - return result; - } - - @Override - public String toString() - { - return super.toString(); - } -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplicationConstraintsImpl.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplicationConstraintsImpl.java deleted file mode 100644 index 5db3e3eeb1939a209ebd82f9b12b4101a7dcb8ab..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplicationConstraintsImpl.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.ow2.contrail.federation.application.implementation; - -import org.ow2.contrail.federation.application.ApplianceDescriptor; -import org.ow2.contrail.federation.application.constraints.ApplicationConstraints; - -public class ApplicationConstraintsImpl implements ApplicationConstraints -{ - @Override - public String getCPURequirement(ApplianceDescriptor appDescr) { - return null; - } - - @Override - public String getRAMRequirement(ApplianceDescriptor appDescr) { - return null; - } - - @Override - public String getStorageRequirement(ApplianceDescriptor appDescr) { - return null; - } -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplicationDescriptorImpl.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplicationDescriptorImpl.java deleted file mode 100644 index 1a8a326e2ad05ed2fb6283869f15dadd158194d7..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/ApplicationDescriptorImpl.java +++ /dev/null @@ -1,133 +0,0 @@ -package org.ow2.contrail.federation.application.implementation; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashSet; - -import mascoptLib.graphs.Edge; -import mascoptLib.graphs.EdgeSet; -import mascoptLib.graphs.Graph; -import mascoptLib.graphs.VertexSet; - -import org.ow2.contrail.federation.application.ApplianceDescriptor; -import org.ow2.contrail.federation.application.ApplicationDescriptor; -import org.ow2.contrail.federation.application.constraints.ApplicationConstraints; -import org.ow2.contrail.federation.application.constraints.UserConstraints; -import org.ow2.contrail.federation.application.ovf.OVFVirtualNetwork; -import org.ow2.contrail.federation.application.sla.implementation.InternalSLAProposalImpl; - -public class ApplicationDescriptorImpl implements ApplicationDescriptor { - - private Collection appliances; - private InternalSLAProposalImpl slaProposal; - private ApplicationConstraints appConstraints; - private UserConstraints userConstraints; - - public ApplicationDescriptorImpl() - { - appliances = new ArrayList(); - slaProposal = new InternalSLAProposalImpl(); - appConstraints = new ApplicationConstraintsImpl(); - userConstraints = new UserConstraintsImpl(); - } - - private void addLeafNodes(ApplianceDescriptor appliance, Collection allAppliances) - { - // base case: leaf node. - if (appliance.getAppliancesDescriptors().size() == 0) - { - allAppliances.add(appliance); - } - else - { - // inductive case: search inside children nodes. - for (ApplianceDescriptor app : appliance.getAppliancesDescriptors()) - { - addLeafNodes(app, allAppliances); - } - } - } - - @Override - public Graph getApplicationGraph() - { - // add leaf nodes. - Collection allAppliances = new ArrayList(); - for (ApplianceDescriptor app : appliances) - { - addLeafNodes(app, allAppliances); - } - - Graph result = new Graph(); - - // build the vertex set. - VertexSet vs = new VertexSet(); - for (ApplianceDescriptor appliance : allAppliances) - { - vs.add(appliance.getVertex()); - } - result.setVertexSet(vs); - - // build the edge set. - // FIXME: improve efficiency, right now the time complexity is O(n^2). - HashSet edges = new HashSet(); // used to avoid duplicates edges addition. - - result.setEdgeSet(new EdgeSet(vs)); - for (ApplianceDescriptor appliance : allAppliances) - { - for (ApplianceDescriptor other : allAppliances) - { - if (appliance != other) - { - for (OVFVirtualNetwork n : appliance.getAssociatedVirtualNetworks()) - { - if (other.getAssociatedVirtualNetworks().contains(n)) - { - String inverseEdge = - other.getVertex().toString() + appliance.getVertex().toString(); - - if (!edges.contains(inverseEdge.toString())) - { - String edge = - appliance.getVertex().toString() + other.getVertex().toString(); - edges.add(edge); - - result.getEdgeSet().add( - new Edge(appliance.getVertex(), other.getVertex())); - } - } - } - } - } - } - - return result; - } - - @Override - public InternalSLAProposalImpl getSLAProposal() { - return slaProposal; - } - - @Override - public Collection getAppliancesDescriptors() { - return appliances; - } - - @Override - public ApplicationConstraints getApplicationConstraints() { - return appConstraints; - } - - @Override - public UserConstraints getUserConstraints() { - return userConstraints; - } - - @Override - public String toString() - { - return super.toString(); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/UserConstraintsImpl.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/UserConstraintsImpl.java deleted file mode 100644 index 212e25f6ae149e762e61fbc475c3b25566492f9e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/implementation/UserConstraintsImpl.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.ow2.contrail.federation.application.implementation; - -import org.ow2.contrail.federation.application.constraints.UserConstraints; - -public class UserConstraintsImpl implements UserConstraints { - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/Disk.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/Disk.java deleted file mode 100644 index 85f7f8d703644564de00ece96da2a0b8f0dcc9f9..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/Disk.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -public class Disk { - - private File file; - private String id; - - public Disk(File file, String id) - { - this.file = file; - this.id = id; - } - - public File getFile() - { - return file; - } - - public String getId() { - return id; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/File.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/File.java deleted file mode 100644 index 4d44ffd98528a5e2c4ba2b7689f00d9b288c4f9c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/File.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - - -public class File { - - private String id; - private String uri; - private long size; - - public File(String id, String uri, long size) - { - this.id = id; - this.uri = uri; - this.size = size; - } - - public String getId() { - return id; - } - - public String getUri() { - return uri; - } - - public long getSize() { - return size; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFItemProcessor.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFItemProcessor.java deleted file mode 100644 index 10e6f6e9f3e223d588b1a179480df633cd5817cc..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFItemProcessor.java +++ /dev/null @@ -1,52 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -import org.w3c.dom.Node; - -import org.w3c.dom.DOMException; -import org.w3c.dom.NodeList; - -public abstract class OVFItemProcessor { - - public abstract OVFVirtualHardware processItem(Node xmlNode) throws DOMException; - - protected OVFVirtualHardware processCommonValues(OVFVirtualHardware ovfVH, Node xmlNode) - { - // check if this virtual hardware requirement is mandatory. - Node required = xmlNode.getAttributes().getNamedItem("ovf:required"); - if (required != null) - { - if (required.getNodeValue().equalsIgnoreCase("true")) - ovfVH.setRequired(true); - else - ovfVH.setRequired(false); - } - else - { - ovfVH.setRequired(true); - } - - NodeList childs = xmlNode.getChildNodes(); - - for (int i=0;i files = new HashMap(); - private static HashMap disks = new HashMap(); - private static HashMap networks = new HashMap(); - private static HashMap vs = new HashMap(); - - /** - * Parses an OVF document, - * - * @param The path of the OVF document expressed as a URI. - * @return An ApplicationDescriptor - */ - public static ApplicationDescriptor ParseOVF(URI ovfURI) - throws ParserConfigurationException, FileNotFoundException, SAXException, IOException, XPathExpressionException, NumberFormatException, DOMException, URISyntaxException - { - DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance(); - - DocumentBuilder builder = domFactory.newDocumentBuilder(); - Document doc = builder.parse(new FileInputStream(ovfURI.getPath())); - - ApplicationDescriptor appDesc = internalParseOVF(doc); - - return appDesc; - } - - /** - * Parses an OVF document. - * - * @param The content of the OVF document expressed as a String. - * @return An ApplicationDescriptor - */ - public static ApplicationDescriptor ParseOVF(String ovf) throws ParserConfigurationException, FileNotFoundException, SAXException, IOException, XPathExpressionException, NumberFormatException, DOMException, URISyntaxException { - - DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance(); - - DocumentBuilder builder = domFactory.newDocumentBuilder(); - - StringReader sr = new StringReader(ovf); - InputSource is = new InputSource(sr); - - Document doc = builder.parse(is); - - - ApplicationDescriptor appDesc = internalParseOVF(doc); - - return appDesc; - } - - /** - * Parses the VirtualSystemCollection XML element. - * - * @param The Node associated with the XML element to parse. - * @return An ApplianceDescriptor representing the appliance. - */ - private static ApplianceDescriptor parseVSCollection(Node n) throws XPathExpressionException - { - XPath xpath = XPathFactory.newInstance().newXPath(); - - // id - Node id = n.getAttributes().getNamedItem("ovf:id"); - if (id == null) - { - throw new RuntimeException("id was not specified for the appliance."); - } - String vsId = id.getNodeValue(); - - ApplianceDescriptor result = new ApplianceDescriptorImpl(vsId, null, 0); - //appliance.getVirtualSystems().add(vs.get(vsId)); - - // VirtualSystem OR VirtualSystemCollection -> ApplianceDescriptor - XPathExpression expr = xpath.compile("VirtualSystem | VirtualSystemCollection"); - - NodeList nodes = (NodeList)expr.evaluate(n, XPathConstants.NODESET); - for (int i = 0; i < nodes.getLength(); i++) - { - Node current = nodes.item(i); - - ApplianceDescriptor child = null; - if (current.getNodeName().equals("VirtualSystem")) - { - child = parseVS(current); - } - else - { - child = parseVSCollection(current); - } - - result.getAppliancesDescriptors().add(child); - } - - - return result; - } - - /** - * Parses the VirtualSystem XML element. - * - * @param The Node associated with the XML element to parse. - * @return An ApplianceDescriptor representing the appliance. - */ - private static ApplianceDescriptor parseVS(Node n) throws XPathExpressionException - { - XPath xpath = XPathFactory.newInstance().newXPath(); - - // id - Node id = n.getAttributes().getNamedItem("ovf:id"); - if (id == null) - { - throw new RuntimeException("id was not specified for the appliance."); - } - String vsId = id.getNodeValue(); - - OVFVirtualSystem ovfVS = new OVFVirtualSystem(vsId); - vs.put(vsId, ovfVS); - - // FIXME: remove NULL & 0 values; - ApplianceDescriptor appliance = new ApplianceDescriptorImpl(vsId, null, 0); - appliance.getVirtualSystems().add(vs.get(vsId)); - - // Reading associated VNetworks. - XPathExpression expr = xpath.compile("ProductSection/Property"); - NodeList properties = (NodeList)expr.evaluate(n, XPathConstants.NODESET); - for (int k = 0; k < properties.getLength(); k++) - { - NamedNodeMap attributes = properties.item(k).getAttributes(); - - OVFVirtualNetwork net = null; - if (attributes.getNamedItem("ovf:key").getNodeValue().equals("externalIp")) - { - String networkName = attributes.getNamedItem("ovf:value").getNodeValue(); - net = networks.get(networkName); - } - - appliance.getAssociatedVirtualNetworks().add(net); - } - - // parsing of the Item(s) of the VirtualHardwareSection. - expr = xpath.compile("VirtualHardwareSection/Item"); - NodeList items = (NodeList)expr.evaluate(n, XPathConstants.NODESET); - - for (int k = 0; k < items.getLength(); k++) - { - Node item = items.item(k); - OVFVirtualHardware vh = null; - - // for each child element "rasd:*" do - for (int j = 0; j < item.getChildNodes().getLength(); j++) - { - Node child = item.getChildNodes().item(j); - - if (child.getNodeName().equals("rasd:ResourceType")) - { - int resourceType = Integer.parseInt(child.getTextContent()); - - OVFItemProcessor p = - OVFResourceAllocationSettingDataTranslator.getItemProcessor(resourceType); - - vh = p.processItem(item); - ovfVS.getRequiredHardware().add(vh); - - // if ResourceType == 17 => Link "Disk" from Disks hashmap - if (vh.getResourceType() == 17) - { - OVFVirtualHwDiskDrive vDisk = (OVFVirtualHwDiskDrive)vh; - String diskRef = vDisk.getHostResource(); - vDisk.setDisk(disks.get(diskRef)); - } - } - } - } - - return appliance; - } - - /** - * Internal method used to factorize common code. - */ - private static ApplicationDescriptor internalParseOVF(Document doc) throws ParserConfigurationException, FileNotFoundException, SAXException, IOException, XPathExpressionException, NumberFormatException, DOMException, URISyntaxException - { - ApplicationDescriptor appDesc = new ApplicationDescriptorImpl(); - - XPath xpath = XPathFactory.newInstance().newXPath(); - - // References - XPathExpression expr = xpath.compile("//References/File"); - NodeList nodes = (NodeList)expr.evaluate(doc, XPathConstants.NODESET); - for (int i = 0; i < nodes.getLength(); i++) - { - NamedNodeMap attributes = nodes.item(i).getAttributes(); - - File f = new File( - attributes.getNamedItem("ovf:id").getNodeValue(), - attributes.getNamedItem("ovf:href").getNodeValue(), - Long.parseLong(attributes.getNamedItem("ovf:size").getNodeValue())); - - files.put(f.getId(), f); - } - - // Disks - expr = xpath.compile("//DiskSection/Disk"); - nodes = (NodeList)expr.evaluate(doc, XPathConstants.NODESET); - for (int i = 0; i < nodes.getLength(); i++) - { - NamedNodeMap attributes = nodes.item(i).getAttributes(); - - String fileRef = attributes.getNamedItem("ovf:fileRef").getNodeValue(); - File f = files.get(fileRef); - - String diskId = attributes.getNamedItem("ovf:diskId").getNodeValue(); - disks.put("ovf:/disk/" + diskId, new Disk(f, diskId)); - } - - // Virtual Networks - expr = xpath.compile("//NetworkSection/Network"); - nodes = (NodeList)expr.evaluate(doc, XPathConstants.NODESET); - for (int i = 0; i < nodes.getLength(); i++) - { - Node current = nodes.item(i); - - // name - String name = current.getAttributes().getNamedItem("ovf:name").getNodeValue(); - - // description - String description = null; - for (int j = 0; j < current.getChildNodes().getLength(); j++) - { - Node n = current.getChildNodes().item(j); - - if (n.getNodeName().equals("Description")) - { - description = n.getTextContent(); - break; - } - } - - networks.put(name, new OVFVirtualNetwork(name, description)); - } - - // VirtualSystem OR VirtualSystemCollection -> ApplianceDescriptor - expr = xpath.compile("Envelope/VirtualSystem | Envelope/VirtualSystemCollection"); - nodes = (NodeList)expr.evaluate(doc, XPathConstants.NODESET); - - for (int i = 0; i < nodes.getLength(); i++) - { - Node current = nodes.item(i); - - ApplianceDescriptor appliance = null; - if (current.getNodeName().equals("VirtualSystem")) - { - appliance = parseVS(current); - } - else - { - appliance = parseVSCollection(current); - } - - appDesc.getAppliancesDescriptors().add(appliance); - } - - return appDesc; - } -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFResourceAllocationSettingDataTranslator.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFResourceAllocationSettingDataTranslator.java deleted file mode 100644 index b549cbd8e7ad0a2ea81de841f5ff6cea4866df8f..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFResourceAllocationSettingDataTranslator.java +++ /dev/null @@ -1,84 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -import java.util.HashMap; -import java.util.Map; - -import org.ow2.contrail.federation.application.ovf.item_processor.OVFCdDriveProcessor; -import org.ow2.contrail.federation.application.ovf.item_processor.OVFCpuProcessor; -import org.ow2.contrail.federation.application.ovf.item_processor.OVFDiskDriveProcessor; -import org.ow2.contrail.federation.application.ovf.item_processor.OVFEthernetAdapterProcessor; -import org.ow2.contrail.federation.application.ovf.item_processor.OVFFloppyDriveProcessor; -import org.ow2.contrail.federation.application.ovf.item_processor.OVFIdeControllerProcessor; -import org.ow2.contrail.federation.application.ovf.item_processor.OVFMemoryProcessor; -import org.ow2.contrail.federation.application.ovf.item_processor.OVFParallelSCSIProcessor; - -public class OVFResourceAllocationSettingDataTranslator { - - private static final Map resourceTypeToName = new HashMap(); - private static final Map resourceTypeToProcessor = new HashMap(); - - public static String getResourceName(int i) - { - if ((i>33) && (i<32768)) - return "DMTF reserved"; - else if (i>=32768) - return "Vendor Reserved"; - - // POST: i <= 33 - return resourceTypeToName.get(i); - } - - public static OVFItemProcessor getItemProcessor(int id) throws NoClassDefFoundError - { - return resourceTypeToProcessor.get(id); - } - - static - { - resourceTypeToName.put(1,"Other"); - resourceTypeToName.put(2,"Computer System"); - resourceTypeToName.put(3,"Processor"); - resourceTypeToName.put(4,"Memory"); - resourceTypeToName.put(5,"IDE Controller"); - resourceTypeToName.put(6,"Parallel SCSI HBA"); - resourceTypeToName.put(7,"FC HBA"); - resourceTypeToName.put(8,"iSCSI HBA"); - resourceTypeToName.put(9,"IB HCA"); - resourceTypeToName.put(10,"Ethernet Adapter"); - resourceTypeToName.put(11,"Other Network Adapter"); - resourceTypeToName.put(12,"I/O Slot"); - resourceTypeToName.put(13,"I/O Device"); - resourceTypeToName.put(14,"Floppy Drive"); - resourceTypeToName.put(15,"CD Drive"); - resourceTypeToName.put(16,"DVD drive"); - resourceTypeToName.put(17,"Disk Drive"); - resourceTypeToName.put(18,"Tape Drive"); - resourceTypeToName.put(19,"Storage Extent"); - resourceTypeToName.put(20,"Other storage device"); - resourceTypeToName.put(21,"Serial port"); - resourceTypeToName.put(22,"Parallel port"); - resourceTypeToName.put(23,"USB Controller"); - resourceTypeToName.put(24,"Graphics controller"); - resourceTypeToName.put(25,"IEEE 1394 Controller"); - resourceTypeToName.put(26,"Partitionable Unit"); - resourceTypeToName.put(27,"Base Partitionable Unit"); - resourceTypeToName.put(28,"Power"); - resourceTypeToName.put(29,"Cooling Capacity"); - resourceTypeToName.put(30,"Ethernet Switch Port"); - resourceTypeToName.put(31,"Logical Disk"); - resourceTypeToName.put(32,"Storage Volume"); - resourceTypeToName.put(33,"Ethernet Connection"); - // resourceTypeToName.put(DMTF reserved (..) - // resourceTypeToName.put(Vendor Reserved (32768-65535) - - // Initialize the hash map of the OVF processors. - resourceTypeToProcessor.put(3, new OVFCpuProcessor()); - resourceTypeToProcessor.put(4, new OVFMemoryProcessor()); - resourceTypeToProcessor.put(5, new OVFIdeControllerProcessor()); - resourceTypeToProcessor.put(6, new OVFParallelSCSIProcessor()); - resourceTypeToProcessor.put(10, new OVFEthernetAdapterProcessor()); - resourceTypeToProcessor.put(14, new OVFFloppyDriveProcessor()); - resourceTypeToProcessor.put(15, new OVFCdDriveProcessor()); - resourceTypeToProcessor.put(17, new OVFDiskDriveProcessor()); - } -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFSections.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFSections.java deleted file mode 100644 index 70f37a4b3cedace0041c72533309320b13b40410..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFSections.java +++ /dev/null @@ -1,103 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -import java.net.URI; -import java.net.URISyntaxException; -import java.util.ArrayList; -import java.util.Collection; -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1.ContentType; -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1.EnvelopeType; -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1.FileType; -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1.ReferencesType; -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1.VirtualSystemCollectionType; -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1.VirtualSystemType; - -/** - * - */ -public class OVFSections { - - private Collection ovfVirtualDisks; - private Collection ovfVirtualNetworks; - private Collection ovfVirtualSystems; - - /** - * Creates an instance of the OVFSections type. - * - * @param An instance of EnvelopeType, the root element of the OVF. - */ - public OVFSections(EnvelopeType env) { - createSectionDescriptors(env); - } - - /** - * Creates a section descriptors for each of the OVF sections (disk, network, compute). - */ - private void createSectionDescriptors(EnvelopeType env) { - - ovfVirtualDisks = new ArrayList(); - - // NB: assumption1 information taken from References instead from DiskSection. - ReferencesType references = env.getReferences(); - - for (FileType file : references.getFile()) - { - // NB: assumption2: no compression is used for the disks of images. - assert(file.getCompression().isEmpty() || file.getCompression().equals("identity")); - - String href = file.getHref(); - - if (href.endsWith(".vmdk") || href.endsWith(".iso")) - { - try - { - ovfVirtualDisks.add( - new OVFVirtualDisk(file.getId(), new URI(href), file.getSize().longValue())); - } - catch (URISyntaxException e) - { - e.printStackTrace(); - } - } - } - - // OVFVirtualSystems - ContentType content = env.getContent().getValue(); - - if (content instanceof VirtualSystemCollectionType) - { - ovfVirtualSystems.add(new OVFVirtualSystem(content.getId())); - } - else if (content instanceof VirtualSystemType) - { - ovfVirtualSystems.add(new OVFVirtualSystem(content.getId())); - } - } - - /** - * Gets the virtual disks associated with the OVF. - * - * @return A collection of OVFVirtualDisk. - */ - public Collection getVirtualDisks() { - return ovfVirtualDisks; - } - - /** - * Gets the virtual systems associated with the OVF. - * - * @return A collection of OVFVirtualSystems. - */ - public Collection getVirtualSystems() { - return ovfVirtualSystems; - } - - /** - * Gets the virtual networks associated with the OVF. - * - * @return A collection of OVFVirtualNetwork. - */ - public Collection getVirtualNetworks() { - return ovfVirtualNetworks; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualDisk.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualDisk.java deleted file mode 100644 index 514f27f83acbcd9c2e0458c499e78d028a4025c2..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualDisk.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -import java.net.URI; - -public class OVFVirtualDisk { - - private String id; - private URI uri; - private long size; - - public OVFVirtualDisk(String lid, URI luri, long lsize) - { - id = lid; - uri = luri; - size = lsize; - } - - public String getId() { - return id; - } - - public URI getUri() { - return uri; - } - - public long getSize() { - return size; - } -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualHardware.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualHardware.java deleted file mode 100644 index 8ddef12f3fe1572ee6ce453ae2f6b79de16cd1ce..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualHardware.java +++ /dev/null @@ -1,68 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -/** - * Defines a virtual hardware requirements. - */ -public class OVFVirtualHardware { - - private int instanceId; - private int resourceType; - - private String elementName; - private String description; - - private boolean required; - - // Getter methods - - public boolean isRequired() { - return required; - } - - public int getInstanceId() { - return instanceId; - } - - public int getResourceType() { - return resourceType; - } - - public String getElementName() { - return elementName; - } - - public String getDescription() { - return description; - } - - // Setter methods - - public void setRequired(boolean required) { - this.required = required; - } - - public void setElementName(String value) { - elementName = value; - } - - public void setDescription(String value) { - description = value; - } - - public void setInstanceId(int value) { - instanceId = value; - } - - public void setResourceType(int value) { - resourceType = value; - } - - @Override - public String toString() - { - return "instanceId = " + Integer.toString(instanceId) + "\n" + - "resourceType = " + Integer.toString(resourceType) + "\n" + - "elementName = " + elementName + "\n" + "description = " + description + "\n" + - "required = " + Boolean.toString(required) + "\n"; - } -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualNetwork.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualNetwork.java deleted file mode 100644 index ff883afb0fb76cbec674dc0328bdc87e21d5369c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualNetwork.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -public class OVFVirtualNetwork { - - private String name; - private String description; - - public String getDescription() - { - return description; - } - - public void setDescription(String value) - { - description = value; - } - - public String getName() - { - return name; - } - - public void setName(String value) - { - name = value; - } - - public OVFVirtualNetwork(String name, String description) - { - this.name = name; - this.description = description; - } -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualSystem.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualSystem.java deleted file mode 100644 index 27793ef92d6870cec28c5b764fd478384a0fa3f2..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/OVFVirtualSystem.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.ow2.contrail.federation.application.ovf; - -import java.util.ArrayList; -import java.util.Collection; - -public class OVFVirtualSystem { - - private String id; - private Collection vh; - - public OVFVirtualSystem(String lid) - { - id = lid; - vh = new ArrayList(); - } - - public String getId() { - return id; - } - - public Collection getRequiredHardware() - { - return vh; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/AnnotationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/AnnotationSectionType.java deleted file mode 100644 index b25af0a69d692016bb883802f2c348e5a1770c5e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/AnnotationSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * User defined annotation - * - * Java class for AnnotationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="AnnotationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Annotation" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AnnotationSection_Type", propOrder = { - "annotation", - "any" -}) -public class AnnotationSectionType - extends SectionType -{ - - @XmlElement(name = "Annotation", required = true) - protected MsgType annotation; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the annotation property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getAnnotation() { - return annotation; - } - - /** - * Sets the value of the annotation property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setAnnotation(MsgType value) { - this.annotation = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ContentType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ContentType.java deleted file mode 100644 index 885326943a0147981adb3b7846629fad0fd8e24b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ContentType.java +++ /dev/null @@ -1,206 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Base class for content - * - * Java class for Content_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Content_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Name" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Content_Type", propOrder = { - "info", - "name", - "section" -}) -@XmlSeeAlso({ - VirtualSystemType.class, - VirtualSystemCollectionType.class -}) -public abstract class ContentType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlElement(name = "Name") - protected MsgType name; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setName(MsgType value) { - this.name = value; - } - - /** - * Content body is a list of Sections - * Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java deleted file mode 100644 index 5e5b7955ab00baeccfbcfcb4860548ee8ad8cd6d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Enumeration of discrete deployment - * options - * - * Java class for DeploymentOptionSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DeploymentOptionSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Configuration" maxOccurs="unbounded"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DeploymentOptionSection_Type", propOrder = { - "configuration", - "any" -}) -public class DeploymentOptionSectionType - extends SectionType -{ - - @XmlElement(name = "Configuration", required = true) - protected List configuration; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the configuration property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the configuration property. - * - * - * For example, to add a new item, do as follows: - * - * getConfiguration().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link DeploymentOptionSectionType.Configuration } - * - * - */ - public List getConfiguration() { - if (configuration == null) { - configuration = new ArrayList(); - } - return this.configuration; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description" - }) - public static class Configuration { - - @XmlElement(name = "Label", required = true) - protected MsgType label; - @XmlElement(name = "Description", required = true) - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(name = "default", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean _default; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the default property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isDefault() { - if (_default == null) { - return false; - } else { - return _default; - } - } - - /** - * Sets the value of the default property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setDefault(Boolean value) { - this._default = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java deleted file mode 100644 index f4eaf9d62a3406de8aa5776a87fad06608949e07..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Descriptions of virtual disks used within the - * package - * - * Java class for DiskSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DiskSection_Type", propOrder = { - "disk", - "any" -}) -public class DiskSectionType - extends SectionType -{ - - @XmlElement(name = "Disk") - protected List disk; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the disk property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - * - * For example, to add a new item, do as follows: - * - * getDisk().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
String
long
OVFVirtualSystems
OVFVirtualNetwork
Vertex
ApplianceDescriptor
Disk
URI
ApplicationDescriptor
Node
EnvelopeType
Java class for AnnotationSection_Type complex type. - * - *
The following schema fragment specifies the expected content contained within this class. - * - *
- * <complexType name="AnnotationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Annotation" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - *
set
- * For example, to add a new item, do as follows: - *
- * getAny().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ContentType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ContentType.java deleted file mode 100644 index 885326943a0147981adb3b7846629fad0fd8e24b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ContentType.java +++ /dev/null @@ -1,206 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Base class for content - * - * Java class for Content_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Content_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Name" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Content_Type", propOrder = { - "info", - "name", - "section" -}) -@XmlSeeAlso({ - VirtualSystemType.class, - VirtualSystemCollectionType.class -}) -public abstract class ContentType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlElement(name = "Name") - protected MsgType name; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setName(MsgType value) { - this.name = value; - } - - /** - * Content body is a list of Sections - * Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java deleted file mode 100644 index 5e5b7955ab00baeccfbcfcb4860548ee8ad8cd6d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Enumeration of discrete deployment - * options - * - * Java class for DeploymentOptionSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DeploymentOptionSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Configuration" maxOccurs="unbounded"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DeploymentOptionSection_Type", propOrder = { - "configuration", - "any" -}) -public class DeploymentOptionSectionType - extends SectionType -{ - - @XmlElement(name = "Configuration", required = true) - protected List configuration; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the configuration property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the configuration property. - * - * - * For example, to add a new item, do as follows: - * - * getConfiguration().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link DeploymentOptionSectionType.Configuration } - * - * - */ - public List getConfiguration() { - if (configuration == null) { - configuration = new ArrayList(); - } - return this.configuration; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description" - }) - public static class Configuration { - - @XmlElement(name = "Label", required = true) - protected MsgType label; - @XmlElement(name = "Description", required = true) - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(name = "default", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean _default; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the default property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isDefault() { - if (_default == null) { - return false; - } else { - return _default; - } - } - - /** - * Sets the value of the default property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setDefault(Boolean value) { - this._default = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java deleted file mode 100644 index f4eaf9d62a3406de8aa5776a87fad06608949e07..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Descriptions of virtual disks used within the - * package - * - * Java class for DiskSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DiskSection_Type", propOrder = { - "disk", - "any" -}) -public class DiskSectionType - extends SectionType -{ - - @XmlElement(name = "Disk") - protected List disk; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the disk property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - * - * For example, to add a new item, do as follows: - * - * getDisk().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for Content_Type complex type. - * - *
- * <complexType name="Content_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Name" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - *
- * getSection().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java deleted file mode 100644 index 5e5b7955ab00baeccfbcfcb4860548ee8ad8cd6d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Enumeration of discrete deployment - * options - * - * Java class for DeploymentOptionSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DeploymentOptionSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Configuration" maxOccurs="unbounded"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DeploymentOptionSection_Type", propOrder = { - "configuration", - "any" -}) -public class DeploymentOptionSectionType - extends SectionType -{ - - @XmlElement(name = "Configuration", required = true) - protected List configuration; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the configuration property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the configuration property. - * - * - * For example, to add a new item, do as follows: - * - * getConfiguration().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link DeploymentOptionSectionType.Configuration } - * - * - */ - public List getConfiguration() { - if (configuration == null) { - configuration = new ArrayList(); - } - return this.configuration; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description" - }) - public static class Configuration { - - @XmlElement(name = "Label", required = true) - protected MsgType label; - @XmlElement(name = "Description", required = true) - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(name = "default", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean _default; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the default property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isDefault() { - if (_default == null) { - return false; - } else { - return _default; - } - } - - /** - * Sets the value of the default property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setDefault(Boolean value) { - this._default = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java deleted file mode 100644 index f4eaf9d62a3406de8aa5776a87fad06608949e07..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Descriptions of virtual disks used within the - * package - * - * Java class for DiskSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DiskSection_Type", propOrder = { - "disk", - "any" -}) -public class DiskSectionType - extends SectionType -{ - - @XmlElement(name = "Disk") - protected List disk; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the disk property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - * - * For example, to add a new item, do as follows: - * - * getDisk().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java deleted file mode 100644 index 5e5b7955ab00baeccfbcfcb4860548ee8ad8cd6d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DeploymentOptionSectionType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Enumeration of discrete deployment - * options - * - * Java class for DeploymentOptionSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DeploymentOptionSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Configuration" maxOccurs="unbounded"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DeploymentOptionSection_Type", propOrder = { - "configuration", - "any" -}) -public class DeploymentOptionSectionType - extends SectionType -{ - - @XmlElement(name = "Configuration", required = true) - protected List configuration; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the configuration property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the configuration property. - * - * - * For example, to add a new item, do as follows: - * - * getConfiguration().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link DeploymentOptionSectionType.Configuration } - * - * - */ - public List getConfiguration() { - if (configuration == null) { - configuration = new ArrayList(); - } - return this.configuration; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description" - }) - public static class Configuration { - - @XmlElement(name = "Label", required = true) - protected MsgType label; - @XmlElement(name = "Description", required = true) - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(name = "default", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean _default; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the default property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isDefault() { - if (_default == null) { - return false; - } else { - return _default; - } - } - - /** - * Sets the value of the default property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setDefault(Boolean value) { - this._default = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java deleted file mode 100644 index f4eaf9d62a3406de8aa5776a87fad06608949e07..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Descriptions of virtual disks used within the - * package - * - * Java class for DiskSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DiskSection_Type", propOrder = { - "disk", - "any" -}) -public class DiskSectionType - extends SectionType -{ - - @XmlElement(name = "Disk") - protected List disk; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the disk property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - * - * For example, to add a new item, do as follows: - * - * getDisk().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for DeploymentOptionSection_Type complex type. - * - *
- * <complexType name="DeploymentOptionSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Configuration" maxOccurs="unbounded"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the configuration property. - * - *
- * getConfiguration().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link DeploymentOptionSectionType.Configuration } - * - * - */ - public List getConfiguration() { - if (configuration == null) { - configuration = new ArrayList(); - } - return this.configuration; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description" - }) - public static class Configuration { - - @XmlElement(name = "Label", required = true) - protected MsgType label; - @XmlElement(name = "Description", required = true) - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(name = "default", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean _default; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the default property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isDefault() { - if (_default == null) { - return false; - } else { - return _default; - } - } - - /** - * Sets the value of the default property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setDefault(Boolean value) { - this._default = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java deleted file mode 100644 index f4eaf9d62a3406de8aa5776a87fad06608949e07..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Descriptions of virtual disks used within the - * package - * - * Java class for DiskSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DiskSection_Type", propOrder = { - "disk", - "any" -}) -public class DiskSectionType - extends SectionType -{ - - @XmlElement(name = "Disk") - protected List disk; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the disk property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - * - * For example, to add a new item, do as follows: - * - * getDisk().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description" - }) - public static class Configuration { - - @XmlElement(name = "Label", required = true) - protected MsgType label; - @XmlElement(name = "Description", required = true) - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(name = "default", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean _default; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the default property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isDefault() { - if (_default == null) { - return false; - } else { - return _default; - } - } - - /** - * Sets the value of the default property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setDefault(Boolean value) { - this._default = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java deleted file mode 100644 index f4eaf9d62a3406de8aa5776a87fad06608949e07..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Descriptions of virtual disks used within the - * package - * - * Java class for DiskSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DiskSection_Type", propOrder = { - "disk", - "any" -}) -public class DiskSectionType - extends SectionType -{ - - @XmlElement(name = "Disk") - protected List disk; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the disk property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - * - * For example, to add a new item, do as follows: - * - * getDisk().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for anonymous complex type. - * - *
- * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java deleted file mode 100644 index f4eaf9d62a3406de8aa5776a87fad06608949e07..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/DiskSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Descriptions of virtual disks used within the - * package - * - * Java class for DiskSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DiskSection_Type", propOrder = { - "disk", - "any" -}) -public class DiskSectionType - extends SectionType -{ - - @XmlElement(name = "Disk") - protected List disk; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the disk property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - * - * For example, to add a new item, do as follows: - * - * getDisk().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for DiskSection_Type complex type. - * - *
- * <complexType name="DiskSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Disk" type="{http://schemas.dmtf.org/ovf/envelope/1}VirtualDiskDesc_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the disk property. - * - *
- * getDisk().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link VirtualDiskDescType } - * - * - */ - public List getDisk() { - if (disk == null) { - disk = new ArrayList(); - } - return this.disk; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java deleted file mode 100644 index dd54222b037b6e1e160a284949dddfe8701cad69..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EnvelopeType.java +++ /dev/null @@ -1,242 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Root OVF descriptor type - * - * Java class for EnvelopeType complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnvelopeType", propOrder = { - "references", - "section", - "content", - "strings" -}) -public class EnvelopeType { - - @XmlElement(name = "References", required = true) - protected ReferencesType references; - @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected List> section; - @XmlElementRef(name = "Content", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class) - protected JAXBElement extends ContentType> content; - @XmlElement(name = "Strings") - protected List strings; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the references property. - * - * @return - * possible object is - * {@link ReferencesType } - * - */ - public ReferencesType getReferences() { - return references; - } - - /** - * Sets the value of the references property. - * - * @param value - * allowed object is - * {@link ReferencesType } - * - */ - public void setReferences(ReferencesType value) { - this.references = value; - } - - /** - * Package level meta-data Gets the value of the section property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the section property. - * - * - * For example, to add a new item, do as follows: - * - * getSection().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for EnvelopeType complex type. - * - *
- * <complexType name="EnvelopeType"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="References" type="{http://schemas.dmtf.org/ovf/envelope/1}References_Type"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/> - * <element ref="{http://schemas.dmtf.org/ovf/envelope/1}Content"/> - * <element name="Strings" type="{http://schemas.dmtf.org/ovf/envelope/1}Strings_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * Objects of the following type(s) are allowed in the list - * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link SectionType }{@code >} - * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >} - * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >} - * - * - */ - public List> getSection() { - if (section == null) { - section = new ArrayList>(); - } - return this.section; - } - - /** - * Content: A VirtualSystem or a - * VirtualSystemCollection - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public JAXBElement extends ContentType> getContent() { - return content; - } - - /** - * Sets the value of the content property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >} - * {@link JAXBElement }{@code <}{@link ContentType }{@code >} - * {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >} - * - */ - public void setContent(JAXBElement extends ContentType> value) { - this.content = ((JAXBElement extends ContentType> ) value); - } - - /** - * Gets the value of the strings property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - * - * For example, to add a new item, do as follows: - * - * getStrings().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the strings property. - * - *
- * getStrings().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link StringsType } - * - * - */ - public List getStrings() { - if (strings == null) { - strings = new ArrayList(); - } - return this.strings; - } - - /** - * Gets the value of the lang property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - if (lang == null) { - return "en-US"; - } else { - return lang; - } - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java deleted file mode 100644 index 90722745ba173a756044356a16b8245dafb61015..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/EulaSectionType.java +++ /dev/null @@ -1,112 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * End-User License Agreement - * - * Java class for EulaSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EulaSection_Type", propOrder = { - "license", - "any" -}) -public class EulaSectionType - extends SectionType -{ - - @XmlElement(name = "License", required = true) - protected MsgType license; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the license property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLicense() { - return license; - } - - /** - * Sets the value of the license property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLicense(MsgType value) { - this.license = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for EulaSection_Type complex type. - * - *
- * <complexType name="EulaSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="License" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java deleted file mode 100644 index d865e23c121836ffba12abcbd62916e0f998e511..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/FileType.java +++ /dev/null @@ -1,250 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for an external reference to a - * resource - * - * Java class for File_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "File_Type", propOrder = { - "any" -}) -public class FileType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "anyURI") - protected String href; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedLong") - protected BigInteger size; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String compression; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long chunkSize; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for File_Type complex type. - * - *
- * <complexType name="File_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> - * <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> - * <attribute name="compression" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="chunkSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the href property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setHref(String value) { - this.href = value; - } - - /** - * Gets the value of the size property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSize() { - return size; - } - - /** - * Sets the value of the size property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSize(BigInteger value) { - this.size = value; - } - - /** - * Gets the value of the compression property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCompression() { - if (compression == null) { - return ""; - } else { - return compression; - } - } - - /** - * Sets the value of the compression property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCompression(String value) { - this.compression = value; - } - - /** - * Gets the value of the chunkSize property. - * - * @return - * possible object is - * {@link Long } - * - */ - public Long getChunkSize() { - return chunkSize; - } - - /** - * Sets the value of the chunkSize property. - * - * @param value - * allowed object is - * {@link Long } - * - */ - public void setChunkSize(Long value) { - this.chunkSize = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java deleted file mode 100644 index 17b5dcecb8c1987bbb4c04dc1c3b650aaaa1df32..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/InstallSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * If present indicates that the virtual machine needs to be - * initially booted to install and configure the software - * - * Java class for InstallSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "InstallSection_Type", propOrder = { - "any" -}) -public class InstallSectionType - extends SectionType -{ - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer initialBootStopDelay; - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for InstallSection_Type complex type. - * - *
- * <complexType name="InstallSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="initialBootStopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the initialBootStopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getInitialBootStopDelay() { - if (initialBootStopDelay == null) { - return 0; - } else { - return initialBootStopDelay; - } - } - - /** - * Sets the value of the initialBootStopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setInitialBootStopDelay(Integer value) { - this.initialBootStopDelay = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java deleted file mode 100644 index 91422069b6def31c3c41d87bb20c6fe4d6a16986..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/MsgType.java +++ /dev/null @@ -1,127 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for localizable string - * - * Default string value - * - * Java class for Msg_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Msg_Type", propOrder = { - "value" -}) -public class MsgType { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - if (msgid == null) { - return ""; - } else { - return msgid; - } - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for Msg_Type complex type. - * - *
- * <complexType name="Msg_Type"> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - *
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java deleted file mode 100644 index 622e674dfc7cea166cf81658e15935a1da41bf5c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/NetworkSectionType.java +++ /dev/null @@ -1,238 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Descriptions of logical networks used within the - * package - * - * Java class for NetworkSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NetworkSection_Type", propOrder = { - "network", - "any" -}) -public class NetworkSectionType - extends SectionType -{ - - @XmlElement(name = "Network") - protected List network; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the network property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - * - * For example, to add a new item, do as follows: - * - * getNetwork().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for NetworkSection_Type complex type. - * - *
- * <complexType name="NetworkSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Network" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the network property. - * - *
- * getNetwork().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link NetworkSectionType.Network } - * - * - */ - public List getNetwork() { - if (network == null) { - network = new ArrayList(); - } - return this.network; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "description" - }) - public static class Network { - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String name; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * </sequence> - * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java deleted file mode 100644 index 93d83cbc63406a5a49fbb03d8ee0194c3881840c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ObjectFactory.java +++ /dev/null @@ -1,436 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 package. - * An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ProductSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ProductSection"); - private final static QName _InstallSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "InstallSection"); - private final static QName _VirtualSystemCollection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystemCollection"); - private final static QName _VirtualSystem_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualSystem"); - private final static QName _DiskSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DiskSection"); - private final static QName _DeploymentOptionSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "DeploymentOptionSection"); - private final static QName _StartupSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "StartupSection"); - private final static QName _VirtualHardwareSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "VirtualHardwareSection"); - private final static QName _ResourceAllocationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "ResourceAllocationSection"); - private final static QName _Strings_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Strings"); - private final static QName _Section_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Section"); - private final static QName _Envelope_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Envelope"); - private final static QName _OperatingSystemSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "OperatingSystemSection"); - private final static QName _Content_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "Content"); - private final static QName _AnnotationSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "AnnotationSection"); - private final static QName _NetworkSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "NetworkSection"); - private final static QName _EulaSection_QNAME = new QName("http://schemas.dmtf.org/ovf/envelope/1", "EulaSection"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1 - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link VirtualDiskDescType } - * - */ - public VirtualDiskDescType createVirtualDiskDescType() { - return new VirtualDiskDescType(); - } - - /** - * Create an instance of {@link AnnotationSectionType } - * - */ - public AnnotationSectionType createAnnotationSectionType() { - return new AnnotationSectionType(); - } - - /** - * Create an instance of {@link PropertyConfigurationValueType } - * - */ - public PropertyConfigurationValueType createPropertyConfigurationValueType() { - return new PropertyConfigurationValueType(); - } - - /** - * Create an instance of {@link EulaSectionType } - * - */ - public EulaSectionType createEulaSectionType() { - return new EulaSectionType(); - } - - /** - * Create an instance of {@link VirtualSystemCollectionType } - * - */ - public VirtualSystemCollectionType createVirtualSystemCollectionType() { - return new VirtualSystemCollectionType(); - } - - /** - * Create an instance of {@link VirtualHardwareSectionType } - * - */ - public VirtualHardwareSectionType createVirtualHardwareSectionType() { - return new VirtualHardwareSectionType(); - } - - /** - * Create an instance of {@link StringsType.Msg } - * - */ - public StringsType.Msg createStringsTypeMsg() { - return new StringsType.Msg(); - } - - /** - * Create an instance of {@link NetworkSectionType } - * - */ - public NetworkSectionType createNetworkSectionType() { - return new NetworkSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType.Property } - * - */ - public ProductSectionType.Property createProductSectionTypeProperty() { - return new ProductSectionType.Property(); - } - - /** - * Create an instance of {@link NetworkSectionType.Network } - * - */ - public NetworkSectionType.Network createNetworkSectionTypeNetwork() { - return new NetworkSectionType.Network(); - } - - /** - * Create an instance of {@link EnvelopeType } - * - */ - public EnvelopeType createEnvelopeType() { - return new EnvelopeType(); - } - - /** - * Create an instance of {@link ProductSectionType.Icon } - * - */ - public ProductSectionType.Icon createProductSectionTypeIcon() { - return new ProductSectionType.Icon(); - } - - /** - * Create an instance of {@link MsgType } - * - */ - public MsgType createMsgType() { - return new MsgType(); - } - - /** - * Create an instance of {@link StartupSectionType } - * - */ - public StartupSectionType createStartupSectionType() { - return new StartupSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType.Configuration } - * - */ - public DeploymentOptionSectionType.Configuration createDeploymentOptionSectionTypeConfiguration() { - return new DeploymentOptionSectionType.Configuration(); - } - - /** - * Create an instance of {@link OperatingSystemSectionType } - * - */ - public OperatingSystemSectionType createOperatingSystemSectionType() { - return new OperatingSystemSectionType(); - } - - /** - * Create an instance of {@link ProductSectionType } - * - */ - public ProductSectionType createProductSectionType() { - return new ProductSectionType(); - } - - /** - * Create an instance of {@link DeploymentOptionSectionType } - * - */ - public DeploymentOptionSectionType createDeploymentOptionSectionType() { - return new DeploymentOptionSectionType(); - } - - /** - * Create an instance of {@link InstallSectionType } - * - */ - public InstallSectionType createInstallSectionType() { - return new InstallSectionType(); - } - - /** - * Create an instance of {@link DiskSectionType } - * - */ - public DiskSectionType createDiskSectionType() { - return new DiskSectionType(); - } - - /** - * Create an instance of {@link StartupSectionType.Item } - * - */ - public StartupSectionType.Item createStartupSectionTypeItem() { - return new StartupSectionType.Item(); - } - - /** - * Create an instance of {@link VirtualSystemType } - * - */ - public VirtualSystemType createVirtualSystemType() { - return new VirtualSystemType(); - } - - /** - * Create an instance of {@link FileType } - * - */ - public FileType createFileType() { - return new FileType(); - } - - /** - * Create an instance of {@link VSSDType } - * - */ - public VSSDType createVSSDType() { - return new VSSDType(); - } - - /** - * Create an instance of {@link StringsType } - * - */ - public StringsType createStringsType() { - return new StringsType(); - } - - /** - * Create an instance of {@link ReferencesType } - * - */ - public ReferencesType createReferencesType() { - return new ReferencesType(); - } - - /** - * Create an instance of {@link RASDType } - * - */ - public RASDType createRASDType() { - return new RASDType(); - } - - /** - * Create an instance of {@link ResourceAllocationSectionType } - * - */ - public ResourceAllocationSectionType createResourceAllocationSectionType() { - return new ResourceAllocationSectionType(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ProductSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createProductSection(ProductSectionType value) { - return new JAXBElement(_ProductSection_QNAME, ProductSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "InstallSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createInstallSection(InstallSectionType value) { - return new JAXBElement(_InstallSection_QNAME, InstallSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemCollectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystemCollection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystemCollection(VirtualSystemCollectionType value) { - return new JAXBElement(_VirtualSystemCollection_QNAME, VirtualSystemCollectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualSystemType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualSystem", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Content") - public JAXBElement createVirtualSystem(VirtualSystemType value) { - return new JAXBElement(_VirtualSystem_QNAME, VirtualSystemType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DiskSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDiskSection(DiskSectionType value) { - return new JAXBElement(_DiskSection_QNAME, DiskSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "DeploymentOptionSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createDeploymentOptionSection(DeploymentOptionSectionType value) { - return new JAXBElement(_DeploymentOptionSection_QNAME, DeploymentOptionSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "StartupSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createStartupSection(StartupSectionType value) { - return new JAXBElement(_StartupSection_QNAME, StartupSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "VirtualHardwareSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createVirtualHardwareSection(VirtualHardwareSectionType value) { - return new JAXBElement(_VirtualHardwareSection_QNAME, VirtualHardwareSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "ResourceAllocationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createResourceAllocationSection(ResourceAllocationSectionType value) { - return new JAXBElement(_ResourceAllocationSection_QNAME, ResourceAllocationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link StringsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Strings") - public JAXBElement createStrings(StringsType value) { - return new JAXBElement(_Strings_QNAME, StringsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link SectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Section") - public JAXBElement createSection(SectionType value) { - return new JAXBElement(_Section_QNAME, SectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnvelopeType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Envelope") - public JAXBElement createEnvelope(EnvelopeType value) { - return new JAXBElement(_Envelope_QNAME, EnvelopeType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "OperatingSystemSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createOperatingSystemSection(OperatingSystemSectionType value) { - return new JAXBElement(_OperatingSystemSection_QNAME, OperatingSystemSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link ContentType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "Content") - public JAXBElement createContent(ContentType value) { - return new JAXBElement(_Content_QNAME, ContentType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "AnnotationSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createAnnotationSection(AnnotationSectionType value) { - return new JAXBElement(_AnnotationSection_QNAME, AnnotationSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "NetworkSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createNetworkSection(NetworkSectionType value) { - return new JAXBElement(_NetworkSection_QNAME, NetworkSectionType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://schemas.dmtf.org/ovf/envelope/1", name = "EulaSection", substitutionHeadNamespace = "http://schemas.dmtf.org/ovf/envelope/1", substitutionHeadName = "Section") - public JAXBElement createEulaSection(EulaSectionType value) { - return new JAXBElement(_EulaSection_QNAME, EulaSectionType.class, null, value); - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java deleted file mode 100644 index e4a01a06440bc7ca3beaff329f65714083a36778..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/OperatingSystemSectionType.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Specification of the operating system installed in the - * guest - * - * Java class for OperatingSystemSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OperatingSystemSection_Type", propOrder = { - "description", - "any" -}) -public class OperatingSystemSectionType - extends SectionType -{ - - @XmlElement(name = "Description") - protected MsgType description; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String version; - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for OperatingSystemSection_Type complex type. - * - *
- * <complexType name="OperatingSystemSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the id property. - * - */ - public int getId() { - return id; - } - - /** - * Sets the value of the id property. - * - */ - public void setId(int value) { - this.id = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java deleted file mode 100644 index 59a574c6458ff672226f3abbff6d23111fdb554b..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ProductSectionType.java +++ /dev/null @@ -1,922 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.common.CimString; -import org.w3c.dom.Element; - - -/** - * Product information for a virtual - * appliance - * - * Java class for ProductSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ProductSection_Type", propOrder = { - "product", - "vendor", - "version", - "fullVersion", - "productUrl", - "vendorUrl", - "appUrl", - "icon", - "categoryOrProperty", - "any" -}) -public class ProductSectionType - extends SectionType -{ - - @XmlElement(name = "Product") - protected MsgType product; - @XmlElement(name = "Vendor") - protected MsgType vendor; - @XmlElement(name = "Version") - protected CimString version; - @XmlElement(name = "FullVersion") - protected CimString fullVersion; - @XmlElement(name = "ProductUrl") - protected CimString productUrl; - @XmlElement(name = "VendorUrl") - protected CimString vendorUrl; - @XmlElement(name = "AppUrl") - protected CimString appUrl; - @XmlElement(name = "Icon") - protected List icon; - @XmlElements({ - @XmlElement(name = "Property", type = ProductSectionType.Property.class), - @XmlElement(name = "Category", type = MsgType.class) - }) - protected List categoryOrProperty; - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(name = "class", namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String clazz; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String instance; - - /** - * Gets the value of the product property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getProduct() { - return product; - } - - /** - * Sets the value of the product property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setProduct(MsgType value) { - this.product = value; - } - - /** - * Gets the value of the vendor property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getVendor() { - return vendor; - } - - /** - * Sets the value of the vendor property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setVendor(MsgType value) { - this.vendor = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVersion(CimString value) { - this.version = value; - } - - /** - * Gets the value of the fullVersion property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getFullVersion() { - return fullVersion; - } - - /** - * Sets the value of the fullVersion property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setFullVersion(CimString value) { - this.fullVersion = value; - } - - /** - * Gets the value of the productUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getProductUrl() { - return productUrl; - } - - /** - * Sets the value of the productUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setProductUrl(CimString value) { - this.productUrl = value; - } - - /** - * Gets the value of the vendorUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getVendorUrl() { - return vendorUrl; - } - - /** - * Sets the value of the vendorUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setVendorUrl(CimString value) { - this.vendorUrl = value; - } - - /** - * Gets the value of the appUrl property. - * - * @return - * possible object is - * {@link CimString } - * - */ - public CimString getAppUrl() { - return appUrl; - } - - /** - * Sets the value of the appUrl property. - * - * @param value - * allowed object is - * {@link CimString } - * - */ - public void setAppUrl(CimString value) { - this.appUrl = value; - } - - /** - * Gets the value of the icon property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - * - * For example, to add a new item, do as follows: - * - * getIcon().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for ProductSection_Type complex type. - * - *
- * <complexType name="ProductSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Product" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Vendor" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Version" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="FullVersion" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="ProductUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="VendorUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="AppUrl" type="{http://schemas.dmtf.org/wbem/wscim/1/common}cimString" minOccurs="0"/> - * <element name="Icon" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="Category" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * <element name="Property"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * </choice> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="instance" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the icon property. - * - *
- * getIcon().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the categoryOrProperty property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - * - * For example, to add a new item, do as follows: - * - * getCategoryOrProperty().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the categoryOrProperty property. - * - *
- * getCategoryOrProperty().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link ProductSectionType.Property } - * {@link MsgType } - * - * - */ - public List getCategoryOrProperty() { - if (categoryOrProperty == null) { - categoryOrProperty = new ArrayList(); - } - return this.categoryOrProperty; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the clazz property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getClazz() { - if (clazz == null) { - return ""; - } else { - return clazz; - } - } - - /** - * Sets the value of the clazz property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setClazz(String value) { - this.clazz = value; - } - - /** - * Gets the value of the instance property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getInstance() { - if (instance == null) { - return ""; - } else { - return instance; - } - } - - /** - * Sets the value of the instance property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setInstance(String value) { - this.instance = value; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Icon { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer height; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer width; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String mimeType; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the height property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setHeight(Integer value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWidth(Integer value) { - this.width = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "label", - "description", - "valueToFixError1" - }) - public static class Property { - - @XmlElement(name = "Label") - protected MsgType label; - @XmlElement(name = "Description") - protected MsgType description; - @XmlElement(name = "Value") - protected List valueToFixError1; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String key; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String type; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String qualifiers; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean userConfigurable; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean password; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the label property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getLabel() { - return label; - } - - /** - * Sets the value of the label property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setLabel(MsgType value) { - this.label = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setDescription(MsgType value) { - this.description = value; - } - - /** - * Gets the value of the valueToFixError1 property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - * - * For example, to add a new item, do as follows: - * - * getValueToFixError1().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Label" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Description" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type" minOccurs="0"/> - * <element name="Value" type="{http://schemas.dmtf.org/ovf/envelope/1}PropertyConfigurationValue_Type" maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="qualifiers" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="userConfigurable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> - * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the valueToFixError1 property. - * - *
- * getValueToFixError1().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link PropertyConfigurationValueType } - * - * - */ - public List getValueToFixError1() { - if (valueToFixError1 == null) { - valueToFixError1 = new ArrayList(); - } - return this.valueToFixError1; - } - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKey(String value) { - this.key = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the qualifiers property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getQualifiers() { - return qualifiers; - } - - /** - * Sets the value of the qualifiers property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setQualifiers(String value) { - this.qualifiers = value; - } - - /** - * Gets the value of the userConfigurable property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isUserConfigurable() { - if (userConfigurable == null) { - return false; - } else { - return userConfigurable; - } - } - - /** - * Sets the value of the userConfigurable property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setUserConfigurable(Boolean value) { - this.userConfigurable = value; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - if (value == null) { - return ""; - } else { - return value; - } - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the password property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isPassword() { - if (password == null) { - return false; - } else { - return password; - } - } - - /** - * Sets the value of the password property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPassword(Boolean value) { - this.password = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java deleted file mode 100644 index 347d2307a709f0988bdd22a5ddf0e7c5899af518..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/PropertyConfigurationValueType.java +++ /dev/null @@ -1,161 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for alternative default values for properties when - * DeploymentOptionSection is used - * - * Java class for PropertyConfigurationValue_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PropertyConfigurationValue_Type", propOrder = { - "any" -}) -public class PropertyConfigurationValueType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for PropertyConfigurationValue_Type complex type. - * - *
- * <complexType name="PropertyConfigurationValue_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java deleted file mode 100644 index 820bd92d44250fd1870dd16c8d95bdb967257c3d..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/RASDType.java +++ /dev/null @@ -1,131 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_resourceallocationsettingdata.CIMResourceAllocationSettingDataType; - - -/** - * Wrapper for - * CIM_ResourceAllocationSettingData_Type - * - * Java class for RASD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RASD_Type") -public class RASDType - extends CIMResourceAllocationSettingDataType -{ - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String configuration; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String bound; - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets the value of the configuration property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getConfiguration() { - return configuration; - } - - /** - * Sets the value of the configuration property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setConfiguration(String value) { - this.configuration = value; - } - - /** - * Gets the value of the bound property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBound() { - return bound; - } - - /** - * Sets the value of the bound property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBound(String value) { - this.bound = value; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java deleted file mode 100644 index 87573eccde057c58f61ecac234a0569a45b106d5..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ReferencesType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for list of external resources - * - * Java class for References_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "References_Type", propOrder = { - "file", - "any" -}) -public class ReferencesType { - - @XmlElement(name = "File") - protected List file; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the file property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - * - * For example, to add a new item, do as follows: - * - * getFile().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for RASD_Type complex type. - * - *
- * <complexType name="RASD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData}CIM_ResourceAllocationSettingData_Type"> - * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> - * <attribute name="configuration" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="bound" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
Java class for References_Type complex type. - * - *
- * <complexType name="References_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="File" type="{http://schemas.dmtf.org/ovf/envelope/1}File_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the file property. - * - *
- * getFile().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link FileType } - * - * - */ - public List getFile() { - if (file == null) { - file = new ArrayList(); - } - return this.file; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java deleted file mode 100644 index 7bf02a0de7cc1316a70f88cd055ca29d97694f7e..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/ResourceAllocationSectionType.java +++ /dev/null @@ -1,118 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - * Resource constraints on a - * VirtualSystemCollection - * - * Java class for ResourceAllocationSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResourceAllocationSection_Type", propOrder = { - "item", - "any" -}) -public class ResourceAllocationSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for ResourceAllocationSection_Type complex type. - * - *
- * <complexType name="ResourceAllocationSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" type="{http://schemas.dmtf.org/ovf/envelope/1}RASD_Type" maxOccurs="unbounded" minOccurs="0"/> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - *
- * getItem().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link RASDType } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java deleted file mode 100644 index 2b4e2f0f6d3c5a1abefa1a2b4efae044c999640a..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/SectionType.java +++ /dev/null @@ -1,140 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.HashMap; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - * Java class for Section_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Section_Type", propOrder = { - "info" -}) -@XmlSeeAlso({ - DeploymentOptionSectionType.class, - StartupSectionType.class, - InstallSectionType.class, - OperatingSystemSectionType.class, - AnnotationSectionType.class, - NetworkSectionType.class, - EulaSectionType.class, - ProductSectionType.class, - VirtualHardwareSectionType.class, - ResourceAllocationSectionType.class, - DiskSectionType.class -}) -public abstract class SectionType { - - @XmlElement(name = "Info", required = true) - protected MsgType info; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean required; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link MsgType } - * - */ - public MsgType getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link MsgType } - * - */ - public void setInfo(MsgType value) { - this.info = value; - } - - /** - * Gets the value of the required property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isRequired() { - if (required == null) { - return true; - } else { - return required; - } - } - - /** - * Sets the value of the required property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setRequired(Boolean value) { - this.required = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for Section_Type complex type. - * - *
- * <complexType name="Section_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Info" type="{http://schemas.dmtf.org/ovf/envelope/1}Msg_Type"/> - * </sequence> - * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java deleted file mode 100644 index bff22575db43bc208bc7cc92591fc59cec8e1491..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StartupSectionType.java +++ /dev/null @@ -1,388 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Specifies the order in which entities in a - * VirtualSystemCollection are powered on and shut down - * - * Java class for StartupSection_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StartupSection_Type", propOrder = { - "item", - "any" -}) -public class StartupSectionType - extends SectionType -{ - - @XmlElement(name = "Item") - protected List item; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the item property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - * - * For example, to add a new item, do as follows: - * - * getItem().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for StartupSection_Type complex type. - * - *
- * <complexType name="StartupSection_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/ovf/envelope/1}Section_Type"> - * <sequence> - * <element name="Item" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * </element> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
- * Objects of the following type(s) are allowed in the list - * {@link StartupSectionType.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - /** - * Gets the value of the any property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the any property. - * - * - * For example, to add a new item, do as follows: - * - * getAny().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * Objects of the following type(s) are allowed in the list - * {@link Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - - /** - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String id; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - @XmlSchemaType(name = "unsignedShort") - protected int order; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer startDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Boolean waitingForGuest; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - @XmlSchemaType(name = "unsignedShort") - protected Integer stopDelay; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String startAction; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String stopAction; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the order property. - * - */ - public int getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - */ - public void setOrder(int value) { - this.order = value; - } - - /** - * Gets the value of the startDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStartDelay() { - if (startDelay == null) { - return 0; - } else { - return startDelay; - } - } - - /** - * Sets the value of the startDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStartDelay(Integer value) { - this.startDelay = value; - } - - /** - * Gets the value of the waitingForGuest property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public boolean isWaitingForGuest() { - if (waitingForGuest == null) { - return false; - } else { - return waitingForGuest; - } - } - - /** - * Sets the value of the waitingForGuest property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setWaitingForGuest(Boolean value) { - this.waitingForGuest = value; - } - - /** - * Gets the value of the stopDelay property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public int getStopDelay() { - if (stopDelay == null) { - return 0; - } else { - return stopDelay; - } - } - - /** - * Sets the value of the stopDelay property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setStopDelay(Integer value) { - this.stopDelay = value; - } - - /** - * Gets the value of the startAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStartAction() { - if (startAction == null) { - return "powerOn"; - } else { - return startAction; - } - } - - /** - * Sets the value of the startAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStartAction(String value) { - this.startAction = value; - } - - /** - * Gets the value of the stopAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStopAction() { - if (stopAction == null) { - return "powerOff"; - } else { - return stopAction; - } - } - - /** - * Sets the value of the stopAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStopAction(String value) { - this.stopAction = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * <complexType> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> - * <attribute name="startDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="waitingForGuest" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> - * <attribute name="stopDelay" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" default="0" /> - * <attribute name="startAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOn" /> - * <attribute name="stopAction" type="{http://www.w3.org/2001/XMLSchema}string" default="powerOff" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java deleted file mode 100644 index 8ff9d2100b99928d0ef20cb82657836cfe2bdd59..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/StringsType.java +++ /dev/null @@ -1,271 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.namespace.QName; - - -/** - * Type for string resource bundle - * - * Java class for Strings_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Strings_Type", propOrder = { - "msg" -}) -public class StringsType { - - @XmlElement(name = "Msg") - protected List msg; - @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") - protected String lang; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the msg property. - * - * - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - * - * For example, to add a new item, do as follows: - * - * getMsg().add(newItem); - * - * - * - * - * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for Strings_Type complex type. - * - *
- * <complexType name="Strings_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <element name="Msg" maxOccurs="unbounded" minOccurs="0"> - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * </element> - * </sequence> - * <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *
- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the msg property. - * - *
- * getMsg().add(newItem); - *
- * Objects of the following type(s) are allowed in the list - * {@link StringsType.Msg } - * - * - */ - public List getMsg() { - if (msg == null) { - msg = new ArrayList(); - } - return this.msg; - } - - /** - * Locale for this string resource - * bundle - * - * @return - * possible object is - * {@link String } - * - */ - public String getLang() { - return lang; - } - - /** - * Sets the value of the lang property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLang(String value) { - this.lang = value; - } - - /** - * Gets the value of the fileRef property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFileRef() { - return fileRef; - } - - /** - * Sets the value of the fileRef property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFileRef(String value) { - this.fileRef = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - - /** - * String element value - * - * Java class for anonymous complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - * - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Msg { - - @XmlValue - protected String value; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String msgid; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the msgid property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMsgid() { - return msgid; - } - - /** - * Sets the value of the msgid property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMsgid(String value) { - this.msgid = value; - } - - /** - * Gets a map that contains attributes that aren't bound to any typed property on this class. - * - * - * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
- * <complexType> - * <simpleContent> - * <extension base="<http://www.w3.org/2001/XMLSchema>string"> - * <attribute name="msgid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </extension> - * </simpleContent> - * </complexType> - *
- * the map is keyed by the name of the attribute and - * the value is the string value of the attribute. - * - * the map returned by this method is live, and you can add new attribute - * by updating the map directly. Because of this design, there's no setter. - * - * - * @return - * always non-null - */ - public Map getOtherAttributes() { - return otherAttributes; - } - - } - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java deleted file mode 100644 index 1ca11584aedd87e6f30c65cc1b65c10c41d84e2c..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VSSDType.java +++ /dev/null @@ -1,45 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - -import org.ow2.contrail.federation.application.ovf.dmtf.schemas.wbem.wscim._1.cim_schema._2.cim_virtualsystemsettingdata.CIMVirtualSystemSettingDataType; - - -/** - * Wrapper for - * CIM_VirtualSystemSettingData_Type - * - * Java class for VSSD_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VSSD_Type") -public class VSSDType - extends CIMVirtualSystemSettingDataType -{ - - -} diff --git a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java b/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java deleted file mode 100644 index d2a48aa69c6dcaae642ed4500424f3e8bf081295..0000000000000000000000000000000000000000 --- a/common/trunk/src/ovf-parser/OVFParser/src/org/ow2/contrail/federation/application/ovf/dmtf/schemas/ovf/envelope/_1/VirtualDiskDescType.java +++ /dev/null @@ -1,299 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2011.07.20 at 12:21:44 PM CEST -// - - -package org.ow2.contrail.federation.application.ovf.dmtf.schemas.ovf.envelope._1; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAnyAttribute; -import javax.xml.bind.annotation.XmlAnyElement; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - * Type for virtual disk descriptor - * - * Java class for VirtualDiskDesc_Type complex type. - * - * The following schema fragment specifies the expected content contained within this class. - * - * - * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - * - * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VirtualDiskDesc_Type", propOrder = { - "any" -}) -public class VirtualDiskDescType { - - @XmlAnyElement(lax = true) - protected List any; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String diskId; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String fileRef; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1", required = true) - protected String capacity; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String capacityAllocationUnits; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String format; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected Long populatedSize; - @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") - protected String parentRef; - @XmlAnyAttribute - private Map
Java class for VSSD_Type complex type. - * - *
- * <complexType name="VSSD_Type"> - * <complexContent> - * <extension base="{http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData}CIM_VirtualSystemSettingData_Type"> - * <anyAttribute processContents='lax'/> - * </extension> - * </complexContent> - * </complexType> - *
Java class for VirtualDiskDesc_Type complex type. - * - *
- * <complexType name="VirtualDiskDesc_Type"> - * <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> - * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> - * </sequence> - * <attribute name="diskId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="fileRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="capacityAllocationUnits" type="{http://www.w3.org/2001/XMLSchema}string" default="byte" /> - * <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <attribute name="populatedSize" type="{http://www.w3.org/2001/XMLSchema}long" /> - * <attribute name="parentRef" type="{http://www.w3.org/2001/XMLSchema}string" /> - * <anyAttribute processContents='lax'/> - * </restriction> - * </complexContent> - * </complexType> - *