protected JAXBPropertySG(TypeSG pComplexType, XSType pType) throws SAXException {
typeSG = pComplexType.getComplexTypeSG().getSimpleContentSG().getTypeSG();
String myPropertyName = null;
boolean myGeneratedIsSetMethod = pComplexType.getSchema().isGeneratingIsSetMethod();
XSSimpleContentType simpleContentType = pType.getComplexType().getSimpleContent();
JAXBSimpleContentType jaxbSimpleContentType = null;
if (simpleContentType instanceof JAXBSimpleContentType) {
jaxbSimpleContentType = (JAXBSimpleContentType) simpleContentType;
JAXBProperty jaxbProperty = jaxbSimpleContentType.getJAXBProperty();
if (jaxbProperty != null) {
myPropertyName = jaxbProperty.getName();
Boolean jaxbGeneratedIsSetMethod = jaxbProperty.isGenerateIsSetMethod();
if (jaxbGeneratedIsSetMethod != null) {
myGeneratedIsSetMethod = jaxbGeneratedIsSetMethod.booleanValue();