protected XSSimpleTypeDecl(XSSimpleTypeDecl base, String name, short validateDV, short ordered, boolean bounded, boolean finite, boolean numeric, boolean isImmutable, short builtInKind) { fIsImmutable = isImmutable; fBase = base; fTypeName = name; fTargetNamespace = URI_SCHEMAFORSCHEMA;  fVariety = VARIETY_ATOMIC; fValidationDV = validateDV; fFacetsDefined = FACET_WHITESPACE; if (validateDV == DV_STRING) { fWhiteSpace = WS_PRESERVE; } else { fWhiteSpace = WS_COLLAPSE; fFixedFacet = FACET_WHITESPACE; } this.fOrdered = ordered; this.fBounded = bounded; this.fFinite = finite; this.fNumeric = numeric; fAnnotations = null;   fBuiltInKind = builtInKind; }
public XSSimpleTypeDecl(){}
    protected XSSimpleTypeDecl(XSSimpleTypeDecl base, String name, short validateDV,                               short ordered, boolean bounded, boolean finite,                               boolean numeric, boolean isImmutable, short builtInKind) {        fIsImmutable = isImmutable;        fBase = base;        fTypeName = name;        fTargetNamespace = URI_SCHEMAFORSCHEMA;        // To simplify the code for anySimpleType, we treat it as an atomic type        fVariety = VARIETY_ATOMIC;        fValidationDV = validateDV;        fFacetsDefined = FACET_WHITESPACE;        if (validateDV == DV_STRING) {            fWhiteSpace = WS_PRESERVE;        } else {            fWhiteSpace = WS_COLLAPSE;            fFixedFacet = FACET_WHITESPACE;        }        this.fOrdered = ordered;        this.fBounded = bounded;        this.fFinite = finite;        this.fNumeric = numeric;        fAnnotations = null;                // Specify the build in kind for this primitive type        fBuiltInKind = builtInKind;    }