public class LayerRefinedResourceSchema extends RefinedResourceSchema
definitions, namespace, prismContext
INDENT_STRING
Modifier and Type | Method and Description |
---|---|
void |
add(com.evolveum.midpoint.prism.Definition def) |
com.evolveum.midpoint.prism.ComplexTypeDefinition |
createComplexTypeDefinition(QName typeName) |
ObjectClassComplexTypeDefinition |
createObjectClassDefinition(QName typeName)
Creates a new resource object definition and adds it to the schema.
|
ObjectClassComplexTypeDefinition |
createObjectClassDefinition(String localTypeName)
Creates a new resource object definition and adds it to the schema.
|
com.evolveum.midpoint.prism.PrismContainerDefinition |
createPropertyContainerDefinition(String localTypeName) |
com.evolveum.midpoint.prism.PrismContainerDefinition |
createPropertyContainerDefinition(String localElementName,
String localTypeName) |
com.evolveum.midpoint.prism.PrismPropertyDefinition |
createPropertyDefinition(QName name,
QName typeName) |
com.evolveum.midpoint.prism.PrismPropertyDefinition |
createPropertyDefinition(String localName,
QName typeName) |
com.evolveum.midpoint.prism.PrismPropertyDefinition |
createPropertyDefinition(String localName,
String localTypeName) |
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
boolean |
equals(Object obj) |
com.evolveum.midpoint.prism.ComplexTypeDefinition |
findComplexTypeDefinition(QName typeName) |
<C extends com.evolveum.midpoint.prism.Containerable> |
findContainerDefinitionByCompileTimeClass(Class<C> type) |
com.evolveum.midpoint.prism.PrismContainerDefinition |
findContainerDefinitionByElementName(QName elementName) |
com.evolveum.midpoint.prism.PrismContainerDefinition |
findContainerDefinitionByType(QName typeName) |
ObjectClassComplexTypeDefinition |
findDefaultObjectClassDefinition(ShadowKindType kind) |
<T extends com.evolveum.midpoint.prism.ItemDefinition> |
findItemDefinition(QName definitionName,
Class<T> definitionType) |
<T extends com.evolveum.midpoint.prism.ItemDefinition> |
findItemDefinition(String localName,
Class<T> definitionType) |
<T extends com.evolveum.midpoint.prism.ItemDefinition> |
findItemDefinitionByType(QName typeName,
Class<T> definitionType) |
ObjectClassComplexTypeDefinition |
findObjectClassDefinition(QName objectClassQName) |
ObjectClassComplexTypeDefinition |
findObjectClassDefinition(ShadowKindType kind,
String intent) |
ObjectClassComplexTypeDefinition |
findObjectClassDefinition(ShadowType shadow) |
ObjectClassComplexTypeDefinition |
findObjectClassDefinition(String localName) |
<T extends com.evolveum.midpoint.prism.Objectable> |
findObjectDefinitionByCompileTimeClass(Class<T> type) |
<X extends com.evolveum.midpoint.prism.Objectable> |
findObjectDefinitionByElementName(QName elementName) |
<X extends com.evolveum.midpoint.prism.Objectable> |
findObjectDefinitionByType(QName typeName) |
<T extends com.evolveum.midpoint.prism.Objectable> |
findObjectDefinitionByType(QName typeName,
Class<T> type) |
<X extends com.evolveum.midpoint.prism.Objectable> |
findObjectDefinitionByTypeAssumeNs(QName typeName) |
com.evolveum.midpoint.prism.PrismPropertyDefinition |
findPropertyDefinitionByElementName(QName elementName) |
com.evolveum.midpoint.prism.PrismReferenceDefinition |
findReferenceDefinitionByElementName(QName elementName) |
LayerRefinedObjectClassDefinition |
findRefinedDefinitionByObjectClassQName(ShadowKindType kind,
QName objectClass) |
Collection<com.evolveum.midpoint.prism.ComplexTypeDefinition> |
getComplexTypeDefinitions() |
LayerRefinedObjectClassDefinition |
getDefaultRefinedDefinition(ShadowKindType kind) |
Collection<com.evolveum.midpoint.prism.Definition> |
getDefinitions() |
<T extends com.evolveum.midpoint.prism.Definition> |
getDefinitions(Class<T> type) |
LayerType |
getLayer() |
String |
getNamespace() |
Collection<ObjectClassComplexTypeDefinition> |
getObjectClassDefinitions() |
com.evolveum.midpoint.prism.PrismObjectDefinition<ShadowType> |
getObjectDefinition(ShadowKindType kind,
ShadowType shadow) |
com.evolveum.midpoint.prism.PrismObjectDefinition<ShadowType> |
getObjectDefinition(ShadowKindType kind,
String intent) |
Collection<com.evolveum.midpoint.prism.PrismObjectDefinition> |
getObjectDefinitions() |
ResourceSchema |
getOriginalResourceSchema() |
com.evolveum.midpoint.prism.PrismContext |
getPrismContext() |
LayerRefinedObjectClassDefinition |
getRefinedDefinition(QName typeName) |
LayerRefinedObjectClassDefinition |
getRefinedDefinition(ShadowKindType kind,
ShadowType shadow) |
LayerRefinedObjectClassDefinition |
getRefinedDefinition(ShadowKindType kind,
String intent)
if null accountType is provided, default account definition is returned.
|
List<? extends RefinedObjectClassDefinition> |
getRefinedDefinitions() |
Collection<? extends RefinedObjectClassDefinition> |
getRefinedDefinitions(ShadowKindType kind) |
int |
hashCode() |
boolean |
isEmpty() |
Document |
serializeToXsd() |
void |
setNamespace(String namespace) |
determineCompositeObjectClassDefinition, determineCompositeObjectClassDefinition, determineCompositeObjectClassDefinition, determineCompositeObjectClassDefinition, forLayer, getIntentsForKind, getRefinedDefinition, getRefinedSchema, getRefinedSchema, getRefinedSchema, getRefinedSchema, getRefinedSchema, getRefinedSchema, getRefinedSchema, getResourceSchema, getResourceSchema, hasParsedSchema, hasRefinedSchema, parse, parse, setParsedResourceSchemaConditional, toString
parse
public LayerType getLayer()
public String getNamespace()
getNamespace
in class com.evolveum.midpoint.prism.schema.PrismSchema
public Collection<? extends RefinedObjectClassDefinition> getRefinedDefinitions(ShadowKindType kind)
getRefinedDefinitions
in class RefinedResourceSchema
public Collection<com.evolveum.midpoint.prism.Definition> getDefinitions()
getDefinitions
in class com.evolveum.midpoint.prism.schema.PrismSchema
public ResourceSchema getOriginalResourceSchema()
getOriginalResourceSchema
in class RefinedResourceSchema
public <T extends com.evolveum.midpoint.prism.Definition> Collection<T> getDefinitions(Class<T> type)
getDefinitions
in class com.evolveum.midpoint.prism.schema.PrismSchema
public LayerRefinedObjectClassDefinition getRefinedDefinition(ShadowKindType kind, ShadowType shadow)
getRefinedDefinition
in class RefinedResourceSchema
public LayerRefinedObjectClassDefinition getRefinedDefinition(ShadowKindType kind, String intent)
RefinedResourceSchema
getRefinedDefinition
in class RefinedResourceSchema
public LayerRefinedObjectClassDefinition getRefinedDefinition(QName typeName)
getRefinedDefinition
in class RefinedResourceSchema
public void add(com.evolveum.midpoint.prism.Definition def)
add
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismContext getPrismContext()
getPrismContext
in class com.evolveum.midpoint.prism.schema.PrismSchema
public LayerRefinedObjectClassDefinition getDefaultRefinedDefinition(ShadowKindType kind)
getDefaultRefinedDefinition
in class RefinedResourceSchema
public com.evolveum.midpoint.prism.PrismObjectDefinition<ShadowType> getObjectDefinition(ShadowKindType kind, String intent)
getObjectDefinition
in class RefinedResourceSchema
public com.evolveum.midpoint.prism.PrismObjectDefinition<ShadowType> getObjectDefinition(ShadowKindType kind, ShadowType shadow)
getObjectDefinition
in class RefinedResourceSchema
public com.evolveum.midpoint.prism.PrismContainerDefinition findContainerDefinitionByType(QName typeName)
findContainerDefinitionByType
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <X extends com.evolveum.midpoint.prism.Objectable> com.evolveum.midpoint.prism.PrismObjectDefinition<X> findObjectDefinitionByType(QName typeName)
findObjectDefinitionByType
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <X extends com.evolveum.midpoint.prism.Objectable> com.evolveum.midpoint.prism.PrismObjectDefinition<X> findObjectDefinitionByElementName(QName elementName)
findObjectDefinitionByElementName
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <T extends com.evolveum.midpoint.prism.Objectable> com.evolveum.midpoint.prism.PrismObjectDefinition<T> findObjectDefinitionByType(QName typeName, Class<T> type)
findObjectDefinitionByType
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <T extends com.evolveum.midpoint.prism.Objectable> com.evolveum.midpoint.prism.PrismObjectDefinition<T> findObjectDefinitionByCompileTimeClass(Class<T> type)
findObjectDefinitionByCompileTimeClass
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismPropertyDefinition findPropertyDefinitionByElementName(QName elementName)
findPropertyDefinitionByElementName
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <T extends com.evolveum.midpoint.prism.ItemDefinition> T findItemDefinition(QName definitionName, Class<T> definitionType)
findItemDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <T extends com.evolveum.midpoint.prism.ItemDefinition> T findItemDefinition(String localName, Class<T> definitionType)
findItemDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <T extends com.evolveum.midpoint.prism.ItemDefinition> T findItemDefinitionByType(QName typeName, Class<T> definitionType)
findItemDefinitionByType
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismContainerDefinition createPropertyContainerDefinition(String localTypeName)
createPropertyContainerDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismContainerDefinition createPropertyContainerDefinition(String localElementName, String localTypeName)
createPropertyContainerDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.ComplexTypeDefinition createComplexTypeDefinition(QName typeName)
createComplexTypeDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismPropertyDefinition createPropertyDefinition(String localName, QName typeName)
createPropertyDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismPropertyDefinition createPropertyDefinition(String localName, String localTypeName)
createPropertyDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismPropertyDefinition createPropertyDefinition(QName name, QName typeName)
createPropertyDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public LayerRefinedObjectClassDefinition findRefinedDefinitionByObjectClassQName(ShadowKindType kind, QName objectClass)
findRefinedDefinitionByObjectClassQName
in class RefinedResourceSchema
public com.evolveum.midpoint.prism.PrismContainerDefinition findContainerDefinitionByElementName(QName elementName)
findContainerDefinitionByElementName
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.ComplexTypeDefinition findComplexTypeDefinition(QName typeName)
findComplexTypeDefinition
in class com.evolveum.midpoint.prism.schema.PrismSchema
public void setNamespace(String namespace)
setNamespace
in class com.evolveum.midpoint.prism.schema.PrismSchema
public Document serializeToXsd() throws SchemaException
serializeToXsd
in class com.evolveum.midpoint.prism.schema.PrismSchema
SchemaException
public boolean isEmpty()
isEmpty
in class com.evolveum.midpoint.prism.schema.PrismSchema
public Collection<ObjectClassComplexTypeDefinition> getObjectClassDefinitions()
getObjectClassDefinitions
in class ResourceSchema
public ObjectClassComplexTypeDefinition createObjectClassDefinition(String localTypeName)
ResourceSchema
createObjectClassDefinition
in class ResourceSchema
localTypeName
- type name "relative" to schema namespacepublic ObjectClassComplexTypeDefinition createObjectClassDefinition(QName typeName)
ResourceSchema
createObjectClassDefinition
in class ResourceSchema
public List<? extends RefinedObjectClassDefinition> getRefinedDefinitions()
getRefinedDefinitions
in class RefinedResourceSchema
public ObjectClassComplexTypeDefinition findObjectClassDefinition(ShadowType shadow)
findObjectClassDefinition
in class ResourceSchema
public ObjectClassComplexTypeDefinition findObjectClassDefinition(String localName)
findObjectClassDefinition
in class ResourceSchema
public Collection<com.evolveum.midpoint.prism.PrismObjectDefinition> getObjectDefinitions()
getObjectDefinitions
in class com.evolveum.midpoint.prism.schema.PrismSchema
public Collection<com.evolveum.midpoint.prism.ComplexTypeDefinition> getComplexTypeDefinitions()
getComplexTypeDefinitions
in class com.evolveum.midpoint.prism.schema.PrismSchema
public ObjectClassComplexTypeDefinition findObjectClassDefinition(ShadowKindType kind, String intent)
findObjectClassDefinition
in class ResourceSchema
public ObjectClassComplexTypeDefinition findDefaultObjectClassDefinition(ShadowKindType kind)
findDefaultObjectClassDefinition
in class ResourceSchema
public ObjectClassComplexTypeDefinition findObjectClassDefinition(QName objectClassQName)
findObjectClassDefinition
in class RefinedResourceSchema
public <X extends com.evolveum.midpoint.prism.Objectable> com.evolveum.midpoint.prism.PrismObjectDefinition<X> findObjectDefinitionByTypeAssumeNs(QName typeName)
findObjectDefinitionByTypeAssumeNs
in class com.evolveum.midpoint.prism.schema.PrismSchema
public <C extends com.evolveum.midpoint.prism.Containerable> com.evolveum.midpoint.prism.PrismContainerDefinition<C> findContainerDefinitionByCompileTimeClass(Class<C> type)
findContainerDefinitionByCompileTimeClass
in class com.evolveum.midpoint.prism.schema.PrismSchema
public com.evolveum.midpoint.prism.PrismReferenceDefinition findReferenceDefinitionByElementName(QName elementName)
findReferenceDefinitionByElementName
in class com.evolveum.midpoint.prism.schema.PrismSchema
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
debugDump
in class com.evolveum.midpoint.prism.schema.PrismSchema
public String debugDump(int indent)
debugDump
in interface DebugDumpable
debugDump
in class com.evolveum.midpoint.prism.schema.PrismSchema
Copyright © 2016 Evolveum. All rights reserved.