java.io.Serializable
, Referable
public class ListType 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 |
---|---|
ListType(Schema schema) |
Creates a new ListType.
|
Modifier and Type | Method | Description |
---|---|---|
SimpleType |
getItemType() |
Returns the simpleType for the items of this ListType.
|
Annotation |
getLocalAnnotation() |
Returns the annotation which appears local to this Union, or
null if no local annotation has been set.
|
short |
getStructureType() |
Returns the type of this Schema Structure
|
void |
setItemType(java.lang.String typeName) |
Sets the SimpleType for this ListType (the type of
item that instances of this list holds).
|
void |
setItemType(SimpleType type) |
Sets the SimpleType for this ListType (the type of
item that instances of this list holds).
|
void |
setLocalAnnotation(Annotation annotation) |
Sets an annotation which is local to this Union.
|
void |
setSchema(Schema schema) |
Sets the Schema for this Union.
|
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, validate
getBaseType, getBaseTypeName, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName
public ListType(Schema schema) throws SchemaException
schema
- the Schema for this ListType (Cannot be null)SchemaException
public SimpleType getItemType()
public Annotation getLocalAnnotation()
public short getStructureType()
getStructureType
in class SimpleType
public void setItemType(SimpleType type)
type
- the SimpleType for this ListType.public void setItemType(java.lang.String typeName)
typeName
- the name of the SimpleType for this ListType.public void setLocalAnnotation(Annotation annotation)
annotation
- the local annotation to set for this Union.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com