net.sourceforge.nrl.parser.model.xsd
Class XSDClassifier

java.lang.Object
  extended by net.sourceforge.nrl.parser.model.AbstractModelElement
      extended by net.sourceforge.nrl.parser.model.AbstractClassifier
          extended by net.sourceforge.nrl.parser.model.xsd.XSDClassifier
All Implemented Interfaces:
IClassifier, IModelElement

public class XSDClassifier
extends AbstractClassifier

An XSD classifier, usually created from a complex type or element.


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.sourceforge.nrl.parser.model.IModelElement
IModelElement.ElementType
 
Constructor Summary
XSDClassifier(String name, IPackage container)
           
 
Method Summary
 List<String> getDocumentation()
          Return any documentation associated with the element.
 IModelElement.ElementType getElementType()
          Return an enum indicating what type of element this is, to reduce the need to sub-cast prematurely.
 String getParentName()
           
 void setParentName(String parentName)
           
 
Methods inherited from class net.sourceforge.nrl.parser.model.AbstractClassifier
addAttribute, getAttributeByName, getAttributes, getAttributes, hasAttribute, hasNonStaticAttributes, hasStaticAttributes, isEnumeration, removeAttribute, removeAttributeNameMapping, setEnumeration
 
Methods inherited from class net.sourceforge.nrl.parser.model.AbstractModelElement
addChild, getContainingPackage, getDescendants, getName, getOriginalName, getParent, getQualifiedName, getUserData, isAssignableFrom, isSupplementary, setName, setOriginalName, setParent, setSupplementary, setUserData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.nrl.parser.model.IModelElement
getContainingPackage, getDescendants, getName, getOriginalName, getParent, getQualifiedName, getUserData, isAssignableFrom, isSupplementary, setUserData
 

Constructor Detail

XSDClassifier

public XSDClassifier(String name,
                     IPackage container)
Method Detail

getDocumentation

public List<String> getDocumentation()
Description copied from interface: IModelElement
Return any documentation associated with the element.

Returns:
the documentation as a list of strings, or an empty list

getElementType

public IModelElement.ElementType getElementType()
Description copied from interface: IModelElement
Return an enum indicating what type of element this is, to reduce the need to sub-cast prematurely.

Returns:
the element type

getParentName

public String getParentName()

setParentName

public void setParentName(String parentName)


Copyright © 2006-2010 Christian Nentwich and others