CompositeMetaType composite = (CompositeMetaType) metaType;
EnumMetaType enumMetaType= (EnumMetaType) composite.getType(DeploymentTypeName);
// Create the composite value
CompositeValueSupport securityDomain = new CompositeValueSupport(composite);
// Set a default deplooymentType
SecurityDeploymentType deploymentType = object.getSecurityDeploymentType();
if(deploymentType == null)
deploymentType = SecurityDeploymentType.NONE;
// Set domain and deployment type
securityDomain.set(DOMAIN, SimpleValueSupport.wrap(object.getDomain()));