com.evolveum.midpoint.common.refinery
Class RefinedResourceSchema

java.lang.Object
  extended by com.evolveum.midpoint.schema.processor.Schema
      extended by com.evolveum.midpoint.common.refinery.RefinedResourceSchema
All Implemented Interfaces:
DebugDumpable, Dumpable, java.io.Serializable

public class RefinedResourceSchema
extends Schema
implements Dumpable, DebugDumpable

Author:
semancik
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.evolveum.midpoint.schema.processor.Schema
definitions, namespace
 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
 
Method Summary
 RefinedAccountDefinition getAccountDefinition(java.lang.String accountType)
          if null accountType is provided, default account definition is returned.
 java.util.Collection<RefinedAccountDefinition> getAccountDefinitions()
           
 RefinedAccountDefinition getDefaultAccountDefinition()
           
 ObjectDefinition<AccountShadowType> getObjectDefinition(AccountShadowType shadow)
           
 ObjectDefinition<AccountShadowType> getObjectDefinition(java.lang.String accountType)
           
 Schema getOriginalResourceSchema()
           
static RefinedResourceSchema getRefinedSchema(ResourceType resourceType, SchemaRegistry schemaRegistry)
          If already refined, return the version created before
static Schema getResourceSchema(ResourceType resource)
           
static RefinedResourceSchema parse(ResourceType resourceType, SchemaRegistry schemaRegistry)
           
<T extends ObjectType>
MidPointObject<T>
parseObjectType(T objectType)
           
 java.lang.String toString()
           
 
Methods inherited from class com.evolveum.midpoint.schema.processor.Schema
createDefaultItemDefinition, createPropertyContainerDefinition, createPropertyDefinition, createPropertyDefinition, createPropertyDefinition, createResourceObjectDefinition, createResourceObjectDefinition, debugDump, debugDump, dump, findAccountDefinition, findAccountDefinition, findComplexTypeDefinition, findContainerDefinition, findContainerDefinitionByType, findItemDefinition, findItemDefinition, findItemDefinitionByType, findObjectDefinition, findObjectDefinition, findObjectDefinitionByType, findObjectDefinitionByType, findResourceObjectDefinitionByType, getDefinitions, getDefinitions, getNamespace, isEmpty, parse, parse, parseObject, parseObject, parsePropertyContainer, resolveDynamicItemDefinition, serializeToXsd, serializeToXsd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.evolveum.midpoint.util.Dumpable
dump
 
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump
 

Method Detail

getAccountDefinitions

public java.util.Collection<RefinedAccountDefinition> getAccountDefinitions()
Overrides:
getAccountDefinitions in class Schema

getOriginalResourceSchema

public Schema getOriginalResourceSchema()

getAccountDefinition

public RefinedAccountDefinition getAccountDefinition(java.lang.String accountType)
if null accountType is provided, default account definition is returned.


getDefaultAccountDefinition

public RefinedAccountDefinition getDefaultAccountDefinition()

getObjectDefinition

public ObjectDefinition<AccountShadowType> getObjectDefinition(java.lang.String accountType)

getObjectDefinition

public ObjectDefinition<AccountShadowType> getObjectDefinition(AccountShadowType shadow)

getRefinedSchema

public static RefinedResourceSchema getRefinedSchema(ResourceType resourceType,
                                                     SchemaRegistry schemaRegistry)
                                              throws SchemaException
If already refined, return the version created before

Throws:
SchemaException

getResourceSchema

public static Schema getResourceSchema(ResourceType resource)
                                throws SchemaException
Throws:
SchemaException

parse

public static RefinedResourceSchema parse(ResourceType resourceType,
                                          SchemaRegistry schemaRegistry)
                                   throws SchemaException
Throws:
SchemaException

parseObjectType

public <T extends ObjectType> MidPointObject<T> parseObjectType(T objectType)
                                                     throws SchemaException
Overrides:
parseObjectType in class Schema
Throws:
SchemaException

toString

public java.lang.String toString()
Overrides:
toString in class Schema


Copyright © 2012 evolveum. All Rights Reserved.