public class SimpleTypeDefinition
extends java.lang.Object
Constructor | Description |
---|---|
SimpleTypeDefinition(Schema schema,
java.lang.String name,
java.lang.String id) |
Modifier and Type | Method | 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.
|
SimpleType |
createSimpleType() |
Creates the SimpleType instance which represents this
SimpleTypeDefinition
|
(package private) java.lang.Object |
getBaseType() |
|
(package private) Schema |
getSchema() |
Returns the Schema for this SimpleTypeDefinition
|
(package private) void |
setAnnotation(Annotation annotation) |
Sets the annotation for this SimpleTypeDefinition
|
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.
|
void |
setFinal(java.lang.String finalValue) |
Sets the value of the 'final' property, indicating which
types of derivation are not allowed.
|
public 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.public SimpleType createSimpleType()
Schema getSchema()
void setAnnotation(Annotation annotation)
annotation
- the Annotation for this SimpleTypeDefinitionpublic void setBaseType(SimpleType baseType)
baseType
- the base type for this SimpleTypeDefinitionvoid setBaseTypeName(java.lang.String baseTypeName)
baseTypeName
- the base type for this SimpleTypeDefinitionpublic void setFinal(java.lang.String finalValue)
finalValue
- the value of the final property.java.lang.Object getBaseType()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com