Class SimpleTypeImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.values.XmlObjectBase
-
- org.apache.xmlbeans.impl.values.XmlComplexContentImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.OpenAttrsImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.SimpleTypeImpl
-
- All Implemented Interfaces:
java.io.Serializable,TypeStoreUser,Annotated,OpenAttrs,SimpleType,SimpleValue,XmlObject,XmlTokenSource
- Direct Known Subclasses:
LocalSimpleTypeImpl,TopLevelSimpleTypeImpl
public class SimpleTypeImpl extends AnnotatedImpl implements SimpleType
An XML simpleType(@http://www.w3.org/2001/XMLSchema). This is a complex type.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
-
Fields inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.SimpleType
Factory, type
-
-
Constructor Summary
Constructors Constructor Description SimpleTypeImpl(SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDocument.ListaddNewList()Appends and returns a new empty "list" elementRestrictionDocument.RestrictionaddNewRestriction()Appends and returns a new empty "restriction" elementUnionDocument.UnionaddNewUnion()Appends and returns a new empty "union" elementjava.lang.ObjectgetFinal()Gets the "final" attributeListDocument.ListgetList()Gets the "list" elementjava.lang.StringgetName()Gets the "name" attributeRestrictionDocument.RestrictiongetRestriction()Gets the "restriction" elementUnionDocument.UniongetUnion()Gets the "union" elementbooleanisSetFinal()True if has "final" attributebooleanisSetList()True if has "list" elementbooleanisSetName()True if has "name" attributebooleanisSetRestriction()True if has "restriction" elementbooleanisSetUnion()True if has "union" elementvoidsetFinal(java.lang.Object xfinal)Sets the "final" attributevoidsetList(ListDocument.List list)Sets the "list" elementvoidsetName(java.lang.String name)Sets the "name" attributevoidsetRestriction(RestrictionDocument.Restriction restriction)Sets the "restriction" elementvoidsetUnion(UnionDocument.Union union)Sets the "union" elementvoidunsetFinal()Unsets the "final" attributevoidunsetList()Unsets the "list" elementvoidunsetName()Unsets the "name" attributevoidunsetRestriction()Unsets the "restriction" elementvoidunsetUnion()Unsets the "union" elementSimpleDerivationSetxgetFinal()Gets (as xml) the "final" attributeXmlNCNamexgetName()Gets (as xml) the "name" attributevoidxsetFinal(SimpleDerivationSet xfinal)Sets (as xml) the "final" attributevoidxsetName(XmlNCName name)Sets (as xml) the "name" attribute-
Methods inherited from class org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_text
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _set, attach_store, build_nil, build_text, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, equals, execQuery, execQuery, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, invalidate_element_order, invalidate_nilvalue, invalidate_value, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set_newValue, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xmlText, xmlText
-
Methods inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId
-
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
-
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Constructor Detail
-
SimpleTypeImpl
public SimpleTypeImpl(SchemaType sType)
-
-
Method Detail
-
getRestriction
public RestrictionDocument.Restriction getRestriction()
Gets the "restriction" element- Specified by:
getRestrictionin interfaceSimpleType
-
isSetRestriction
public boolean isSetRestriction()
True if has "restriction" element- Specified by:
isSetRestrictionin interfaceSimpleType
-
setRestriction
public void setRestriction(RestrictionDocument.Restriction restriction)
Sets the "restriction" element- Specified by:
setRestrictionin interfaceSimpleType
-
addNewRestriction
public RestrictionDocument.Restriction addNewRestriction()
Appends and returns a new empty "restriction" element- Specified by:
addNewRestrictionin interfaceSimpleType
-
unsetRestriction
public void unsetRestriction()
Unsets the "restriction" element- Specified by:
unsetRestrictionin interfaceSimpleType
-
getList
public ListDocument.List getList()
Gets the "list" element- Specified by:
getListin interfaceSimpleType
-
isSetList
public boolean isSetList()
True if has "list" element- Specified by:
isSetListin interfaceSimpleType
-
setList
public void setList(ListDocument.List list)
Sets the "list" element- Specified by:
setListin interfaceSimpleType
-
addNewList
public ListDocument.List addNewList()
Appends and returns a new empty "list" element- Specified by:
addNewListin interfaceSimpleType
-
unsetList
public void unsetList()
Unsets the "list" element- Specified by:
unsetListin interfaceSimpleType
-
getUnion
public UnionDocument.Union getUnion()
Gets the "union" element- Specified by:
getUnionin interfaceSimpleType
-
isSetUnion
public boolean isSetUnion()
True if has "union" element- Specified by:
isSetUnionin interfaceSimpleType
-
setUnion
public void setUnion(UnionDocument.Union union)
Sets the "union" element- Specified by:
setUnionin interfaceSimpleType
-
addNewUnion
public UnionDocument.Union addNewUnion()
Appends and returns a new empty "union" element- Specified by:
addNewUnionin interfaceSimpleType
-
unsetUnion
public void unsetUnion()
Unsets the "union" element- Specified by:
unsetUnionin interfaceSimpleType
-
getFinal
public java.lang.Object getFinal()
Gets the "final" attribute- Specified by:
getFinalin interfaceSimpleType
-
xgetFinal
public SimpleDerivationSet xgetFinal()
Gets (as xml) the "final" attribute- Specified by:
xgetFinalin interfaceSimpleType
-
isSetFinal
public boolean isSetFinal()
True if has "final" attribute- Specified by:
isSetFinalin interfaceSimpleType
-
setFinal
public void setFinal(java.lang.Object xfinal)
Sets the "final" attribute- Specified by:
setFinalin interfaceSimpleType
-
xsetFinal
public void xsetFinal(SimpleDerivationSet xfinal)
Sets (as xml) the "final" attribute- Specified by:
xsetFinalin interfaceSimpleType
-
unsetFinal
public void unsetFinal()
Unsets the "final" attribute- Specified by:
unsetFinalin interfaceSimpleType
-
getName
public java.lang.String getName()
Gets the "name" attribute- Specified by:
getNamein interfaceSimpleType
-
xgetName
public XmlNCName xgetName()
Gets (as xml) the "name" attribute- Specified by:
xgetNamein interfaceSimpleType
-
isSetName
public boolean isSetName()
True if has "name" attribute- Specified by:
isSetNamein interfaceSimpleType
-
setName
public void setName(java.lang.String name)
Sets the "name" attribute- Specified by:
setNamein interfaceSimpleType
-
xsetName
public void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute- Specified by:
xsetNamein interfaceSimpleType
-
unsetName
public void unsetName()
Unsets the "name" attribute- Specified by:
unsetNamein interfaceSimpleType
-
-