class SimpleTypeDefinition
extends java.lang.Object
| Constructor and Description |
|---|
SimpleTypeDefinition(Schema schema,
java.lang.String name,
java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFacet(Facet facet)
Adds the given Facet to the list of Facets for this
SimpleTypeDefinition
|
(package private) void |
copyInto(SimpleType simpleType)
Copies the name, facets and annotations of this SimpleTypeDefinition
into the given SimpleType.
|
(package private) SimpleType |
createSimpleType()
Creates the SimpleType instance which represents this
SimpleTypeDefinition
|
(package private) Schema |
getSchema()
Returns the Schema for this SimpleTypeDefinition
|
(package private) void |
setAnnotation(Annotation annotation)
Sets the annotation for this SimpleTypeDefinition
|
(package private) void |
setBaseType(SimpleType baseType)
Sets the base type for this SimpleTypeDefinition.
|
(package private) void |
setBaseTypeName(java.lang.String baseTypeName)
Sets the base type for this SimpleTypeDefinition.
|
(package private) void |
setFinal(java.lang.String finalValue)
Sets the value of the 'final' property, indicating which
types of derivation are not allowed.
|
SimpleTypeDefinition(Schema schema, java.lang.String name, java.lang.String id)
public void addFacet(Facet facet)
facet - the Facet to addvoid copyInto(SimpleType simpleType)
simpleType - the SimpleType to copy into.SimpleType createSimpleType()
Schema getSchema()
void setAnnotation(Annotation annotation)
annotation - the Annotation for this SimpleTypeDefinitionvoid setBaseType(SimpleType baseType)
baseType - the base type for this SimpleTypeDefinitionvoid setBaseTypeName(java.lang.String baseTypeName)
baseTypeName - the base type for this SimpleTypeDefinitionvoid setFinal(java.lang.String finalValue)
finalValue - the value of the final property.Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com