Groovy Documentation

com.predic8.schema
[Groovy] Class ComplexType

java.lang.Object
  com.predic8.soamodel.XMLElement
      com.predic8.schema.SchemaComponent
          com.predic8.schema.TypeDefinition
              com.predic8.schema.ComplexType

class ComplexType
extends TypeDefinition

Field Summary
 
Fields inherited from class XMLElement
namespaces
 
Property Summary
String abstractAttr

SchemaComponent model

 
Method Summary
void add(Attribute attr)

def compare(AbstractDiffGenerator generator, def other, DiffGeneratorContext ctx = new DiffGeneratorContext()

def create(def creator, CreatorContext ctx)

boolean equals(Object obj)

String getBuildInTypeName()

protected def getElementName()

SchemaComponent getModel()

Sequence getSequence()

List getSuperTypes()

If C is in a ComplexType hierarchy like: A <- B <- C , calling C.getSuperTypes() returns [B, A]

int hashCode()

Attribute newAttribute(String name, JQName type)

Sequence newSequence()

protected def parseAttributes(def token, def params)

protected def parseChildren(def token, def child, def params)

String toString()

 
Methods inherited from class TypeDefinition
getAllAttributes, getAttribute, getAttributeGroup, parseAttributes, parseChildren
 
Methods inherited from class SchemaComponent
create, getAsString, getNamespaceUri, getPrefix, getRequestTemplate, getSchemaFragment, parseAttributes, parseChildren
 
Methods inherited from class XMLElement
getElementName, getNamespace, getNamespaceContext, getNamespaceUri, getPrefix, getPrefix, getQNameForPN, getTypeQName, getTypeString, parse, parseAttributes, parseChildren, parseNamespaces, parseText
 

Property Detail

abstractAttr

String abstractAttr


model

SchemaComponent model


 
Method Detail

add

void add(Attribute attr)


compare

def compare(AbstractDiffGenerator generator, def other, DiffGeneratorContext ctx = new DiffGeneratorContext()


create

def create(def creator, CreatorContext ctx)


equals

boolean equals(Object obj)


getBuildInTypeName

String getBuildInTypeName()


getElementName

protected def getElementName()


getModel

SchemaComponent getModel()


getSequence

Sequence getSequence()


getSuperTypes

List getSuperTypes()
If C is in a ComplexType hierarchy like: A <- B <- C , calling C.getSuperTypes() returns [B, A]
Returns:
the list of derivated CompexTypes and SimpleTypes


hashCode

int hashCode()


newAttribute

Attribute newAttribute(String name, JQName type)


newSequence

Sequence newSequence()


parseAttributes

protected def parseAttributes(def token, def params)


parseChildren

protected def parseChildren(def token, def child, def params)


toString

String toString()


 

Groovy Documentation