java.io.Serializable
, Referable
class SimpleTypeReference extends SimpleType
FINAL_ALL, FINAL_LIST, FINAL_RESTRICTION, FINAL_UNION
ANNOTATION, 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
NULL_ARGUMENT
Constructor | Description |
---|---|
SimpleTypeReference(Schema schema,
java.lang.String name) |
Creates a new SimpleTypeReference.
|
Modifier and Type | Method | 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.
|
addAnnotation, getAnnotations, removeAnnotation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, validate
getBaseType, getBaseTypeName, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId
SimpleTypeReference(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 SimpleType
public void setName(java.lang.String name)
public void setSchema(Schema schema)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com