protected JAXBPropertySG(ObjectSG pElement, XSElement pXSElement) {
typeSG = pElement.getTypeSG();
String myPropertyName = null;
boolean myGeneratedIsSetMethod = pElement.getSchema().isGeneratingIsSetMethod();
JAXBElement jaxbElement = null;
if (pXSElement instanceof JAXBElement) {
jaxbElement = (JAXBElement) pXSElement;
JAXBProperty jaxbProperty = jaxbElement.getJAXBProperty();
if (jaxbProperty != null) {
myPropertyName = jaxbProperty.getName();
Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
if (jaxbGeneratedIsSetMethod != null) {
myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();