class SimpleTypeReference extends SimpleType
FINAL_ALL, FINAL_LIST, FINAL_RESTRICTION, FINAL_UNIONNULL_ARGUMENTANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD| Constructor and Description |
|---|
SimpleTypeReference(Schema schema,
java.lang.String name)
Creates a new SimpleTypeReference.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getStructureType()
Returns Structure.UNKNOWN
(This class should not be seen outside AttributeDecl (and ElementDecl ?) anyway)
|
(package private) XMLType |
getType()
Returns the referred type
|
(package private) void |
resolveTypeReference()
Resolves the type reference.
|
void |
setName(java.lang.String name)
Sets the Schema for this Union.
|
void |
setSchema(Schema schema)
Sets the Schema for this SimpleTypeReference.
|
addFacet, copyFacets, createReference, getBuiltInBaseType, getEffectiveFacets, getFacet, getFacets, getFacets, getFinal, getLength, getLocalFacets, getMaxLength, getMinLength, getNumberOfFacets, getParent, getReferenceId, getTypeCode, hasFacet, isBuiltInType, isDateTimeType, isNumericType, isRedefined, removeFacet, removeFacet, resolveReference, setFinal, setParent, setRedefined, setTypeCode, validategetBaseType, getBaseTypeName, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setIdaddAnnotation, getAnnotations, removeAnnotationSimpleTypeReference(Schema schema, java.lang.String name)
name - the name of the simple type being referenced,
must not be null.schema - the parent Schema of the simple type being referenced,
must not be null.XMLType getType()
void resolveTypeReference()
public short getStructureType()
getStructureType in class SimpleTypepublic void setName(java.lang.String name)
public void setSchema(Schema schema)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com