com.evolveum.midpoint.schema.processor
Class ResourceSchema

java.lang.Object
  extended by com.evolveum.midpoint.prism.schema.PrismSchema
      extended by com.evolveum.midpoint.schema.processor.ResourceSchema
All Implemented Interfaces:
DebugDumpable, Dumpable

public class ResourceSchema
extends PrismSchema

Author:
semancik

Field Summary
 
Fields inherited from class com.evolveum.midpoint.prism.schema.PrismSchema
definitions, namespace, prismContext
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Constructor Summary
protected ResourceSchema(PrismContext prismContext)
           
  ResourceSchema(java.lang.String namespace, PrismContext prismContext)
           
 
Method Summary
 ObjectClassComplexTypeDefinition createObjectClassDefinition(javax.xml.namespace.QName typeName)
          Creates a new resource object definition and adds it to the schema.
 ObjectClassComplexTypeDefinition createObjectClassDefinition(java.lang.String localTypeName)
          Creates a new resource object definition and adds it to the schema.
 ObjectClassComplexTypeDefinition findAccountDefinition(java.lang.String intent)
           
 ObjectClassComplexTypeDefinition findDefaultAccountDefinition()
           
 ObjectClassComplexTypeDefinition findObjectClassDefinition(javax.xml.namespace.QName qName)
           
 ObjectClassComplexTypeDefinition findObjectClassDefinition(ResourceObjectShadowType shadow)
           
 java.util.Collection<ObjectClassComplexTypeDefinition> getObjectClassDefinitions()
           
static ResourceSchema parse(org.w3c.dom.Element element, java.lang.String shortDesc, PrismContext prismContext)
           
 
Methods inherited from class com.evolveum.midpoint.prism.schema.PrismSchema
add, createComplexTypeDefinition, createPropertyContainerDefinition, createPropertyContainerDefinition, createPropertyDefinition, createPropertyDefinition, createPropertyDefinition, debugDump, debugDump, dump, findComplexTypeDefinition, findContainerDefinitionByElementName, findContainerDefinitionByType, findItemDefinition, findItemDefinition, findItemDefinitionByType, findObjectDefinitionByCompileTimeClass, findObjectDefinitionByElementName, findObjectDefinitionByType, findObjectDefinitionByType, findPropertyDefinitionByElementName, getDefinitions, getDefinitions, getNamespace, getPrismContext, isEmpty, parse, parse, parse, serializeToXsd, setNamespace, toElementName, toElementQName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceSchema

protected ResourceSchema(PrismContext prismContext)

ResourceSchema

public ResourceSchema(java.lang.String namespace,
                      PrismContext prismContext)
Method Detail

parse

public static ResourceSchema parse(org.w3c.dom.Element element,
                                   java.lang.String shortDesc,
                                   PrismContext prismContext)
                            throws SchemaException
Throws:
SchemaException

getObjectClassDefinitions

public java.util.Collection<ObjectClassComplexTypeDefinition> getObjectClassDefinitions()

createObjectClassDefinition

public ObjectClassComplexTypeDefinition createObjectClassDefinition(java.lang.String localTypeName)
Creates a new resource object definition and adds it to the schema. This is a preferred way how to create definition in the schema.

Parameters:
localTypeName - type name "relative" to schema namespace
Returns:
new resource object definition

createObjectClassDefinition

public ObjectClassComplexTypeDefinition createObjectClassDefinition(javax.xml.namespace.QName typeName)
Creates a new resource object definition and adds it to the schema. This is a preferred way how to create definition in the schema.

Parameters:
localTypeName - type QName
Returns:
new resource object definition

findObjectClassDefinition

public ObjectClassComplexTypeDefinition findObjectClassDefinition(ResourceObjectShadowType shadow)

findObjectClassDefinition

public ObjectClassComplexTypeDefinition findObjectClassDefinition(javax.xml.namespace.QName qName)

findAccountDefinition

public ObjectClassComplexTypeDefinition findAccountDefinition(java.lang.String intent)

findDefaultAccountDefinition

public ObjectClassComplexTypeDefinition findDefaultAccountDefinition()


Copyright © 2012 evolveum. All Rights Reserved.