XMLDirectMapping privateOwnedMapping = new XMLDirectMapping();
privateOwnedMapping.setAttributeName("m_privateOwned");
privateOwnedMapping.setGetMethodName("getPrivateOwned");
privateOwnedMapping.setSetMethodName("setPrivateOwned");
privateOwnedMapping.setConverter(new EmptyElementConverter());
IsSetNullPolicy privateOwnedPolicy = new IsSetNullPolicy("isPrivateOwned");
privateOwnedPolicy.setMarshalNullRepresentation(XMLNullRepresentationType.EMPTY_NODE);
privateOwnedMapping.setNullPolicy(privateOwnedPolicy);
privateOwnedMapping.setXPath("orm:private-owned");
return privateOwnedMapping;
}