Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.schema.model
Interface TypeDefinition

All Superinterfaces:
Comparable<Definition<?>>, Definition<TypeConstraint>, DefinitionGroup, Locatable
All Known Implementing Classes:
AnonymousXmlType, DefaultTypeDefinition, XmlTypeDefinition

public interface TypeDefinition
extends Definition<TypeConstraint>, DefinitionGroup

Represents a type definition

Author:
Simon Templer

Method Summary
 Collection<? extends ChildDefinition<?>> getChildren()
          Get all children that an instance of the type may have.
 Collection<? extends TypeDefinition> getSubTypes()
          Get the sub types
 TypeDefinition getSuperType()
          Get the super type
 
Methods inherited from interface eu.esdihumboldt.hale.common.schema.model.Definition
getConstraint, getDescription, getDisplayName, getIdentifier, getName
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.supplier.Locatable
getLocation
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface eu.esdihumboldt.hale.common.schema.model.DefinitionGroup
addChild, getChild, getDeclaredChildren, getIdentifier
 

Method Detail

getSuperType

TypeDefinition getSuperType()
Get the super type

Returns:
the super type, may be null

getSubTypes

Collection<? extends TypeDefinition> getSubTypes()
Get the sub types

Returns:
the list of sub types, may not be modified

getChildren

Collection<? extends ChildDefinition<?>> getChildren()
Get all children that an instance of the type may have. Usually these are the declared children and the super type children.

Returns:
the child definitions

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d