com.evolveum.midpoint.schema.processor
Class ComplexTypeDefinition

java.lang.Object
  extended by com.evolveum.midpoint.schema.processor.Definition
      extended by com.evolveum.midpoint.schema.processor.ComplexTypeDefinition
All Implemented Interfaces:
DebugDumpable, Dumpable, java.io.Serializable

public class ComplexTypeDefinition
extends Definition

TODO

Author:
Radovan Semancik
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.evolveum.midpoint.schema.processor.Definition
defaultName, displayName, help, ignored, typeName
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Method Summary
 ComplexTypeDefinition clone()
          Shallow clone.
protected  void copyDefinitionData(ComplexTypeDefinition clone)
           
 PropertyDefinition createPropertyDefinifion(javax.xml.namespace.QName name)
           
 PropertyDefinition createPropertyDefinifion(javax.xml.namespace.QName name, javax.xml.namespace.QName typeName)
           
 PropertyDefinition createPropertyDefinifion(java.lang.String localName, java.lang.String localTypeName)
           
 PropertyDefinition createPropertyDefinition(java.lang.String localName, javax.xml.namespace.QName typeName)
           
 java.lang.String debugDump(int indent)
           
 java.util.Set<ItemDefinition> getDefinitions()
          Returns set of property definitions.
 javax.xml.namespace.QName getExtensionForType()
           
protected  java.lang.String getSchemaNamespace()
           
 boolean isEmpty()
           
 void replaceDefinition(javax.xml.namespace.QName propertyName, ItemDefinition newDefinition)
           
 void setExtensionForType(javax.xml.namespace.QName extensionForType)
           
 
Methods inherited from class com.evolveum.midpoint.schema.processor.Definition
copyDefinitionData, debugDump, dump, equals, getDefaultName, getDisplayName, getHelp, getTypeName, hashCode, isIgnored, setDisplayName, setHelp, setIgnored, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getSchemaNamespace

protected java.lang.String getSchemaNamespace()

getDefinitions

public java.util.Set<ItemDefinition> getDefinitions()
Returns set of property definitions. The set contains all property definitions of all types that were parsed. Order of definitions is insignificant.

Returns:
set of definitions

getExtensionForType

public javax.xml.namespace.QName getExtensionForType()

setExtensionForType

public void setExtensionForType(javax.xml.namespace.QName extensionForType)

createPropertyDefinifion

public PropertyDefinition createPropertyDefinifion(javax.xml.namespace.QName name,
                                                   javax.xml.namespace.QName typeName)

createPropertyDefinifion

public PropertyDefinition createPropertyDefinifion(javax.xml.namespace.QName name)

createPropertyDefinition

public PropertyDefinition createPropertyDefinition(java.lang.String localName,
                                                   javax.xml.namespace.QName typeName)

createPropertyDefinifion

public PropertyDefinition createPropertyDefinifion(java.lang.String localName,
                                                   java.lang.String localTypeName)

isEmpty

public boolean isEmpty()

clone

public ComplexTypeDefinition clone()
Shallow clone.

Overrides:
clone in class java.lang.Object

copyDefinitionData

protected void copyDefinitionData(ComplexTypeDefinition clone)

replaceDefinition

public void replaceDefinition(javax.xml.namespace.QName propertyName,
                              ItemDefinition newDefinition)

debugDump

public java.lang.String debugDump(int indent)
Specified by:
debugDump in interface DebugDumpable
Overrides:
debugDump in class Definition


Copyright © 2012 evolveum. All Rights Reserved.