if(metaData == null)
throw new IllegalArgumentException("meta data may not be null.");
if(info == null)
throw new IllegalArgumentException("context info may not be null.");
DeploymentStructureMetaData structure = new DeploymentStructureMetaData();
// meta data paths
structure.setMetaDataPaths(getDeploymentMetaDataEntryMetaData(info));
// classpath
structure.setClassPaths(getDeploymentClassPathMetaData(info));
// comparator
structure.setComparatorClass(info.getComparatorClassName());
// relativeOrder
structure.setRelatativeOrder(info.getRelativeOrder());
metaData.setDeploymentStructure(structure);
}