internal bool IsPlainString() { return( XSDSchema.QualifiedName(_baseType) == XSDSchema.QualifiedName("string") && string.IsNullOrEmpty(_name) && _length == -1 && _minLength == -1 && _maxLength == -1 && string.IsNullOrEmpty(_pattern) && string.IsNullOrEmpty(_maxExclusive) && string.IsNullOrEmpty(_maxInclusive) && string.IsNullOrEmpty(_minExclusive) && string.IsNullOrEmpty(_minInclusive) && string.IsNullOrEmpty(_enumeration) ); }
internal bool IsPlainString() { return( XSDSchema.QualifiedName(this.baseType) == XSDSchema.QualifiedName("string") && this.name == "" && this.length == -1 && this.minLength == -1 && this.maxLength == -1 && this.pattern == "" && this.maxExclusive == "" && this.maxInclusive == "" && this.minExclusive == "" && this.minInclusive == "" && this.enumeration == "" ); }
internal bool IsPlainString() { return( XSDSchema.QualifiedName(this.baseType) == XSDSchema.QualifiedName("string") && Common.ADP.IsEmpty(this.name) && this.length == -1 && this.minLength == -1 && this.maxLength == -1 && Common.ADP.IsEmpty(this.pattern) && Common.ADP.IsEmpty(this.maxExclusive) && Common.ADP.IsEmpty(this.maxInclusive) && Common.ADP.IsEmpty(this.minExclusive) && Common.ADP.IsEmpty(this.minInclusive) && Common.ADP.IsEmpty(this.enumeration) ); }
internal bool IsEqual(SimpleType st) { return( XSDSchema.QualifiedName(this.baseType) == XSDSchema.QualifiedName(st.baseType) && XSDSchema.QualifiedName(this.name) == XSDSchema.QualifiedName(st.name) && this.length == st.length && this.minLength == st.minLength && this.maxLength == st.maxLength && this.pattern == st.pattern && this.maxExclusive == st.maxExclusive && this.maxInclusive == st.maxInclusive && this.minExclusive == st.minExclusive && this.minInclusive == st.minInclusive && this.enumeration == st.enumeration ); }