public class ComplexTypeDefinition extends Definition
deprecated, displayName, displayOrder, documentation, emphasized, help, ignored, inherited, isAbstract, isRuntimeSchema, prismContext, typeName
INDENT_STRING
Constructor and Description |
---|
ComplexTypeDefinition(QName typeName,
PrismContext prismContext) |
ComplexTypeDefinition(QName typeName,
PrismContext prismContext,
Class<?> compileTimeClass) |
Modifier and Type | Method and Description |
---|---|
void |
add(ItemDefinition definition) |
void |
addDefinition(ItemDefinition itemDef) |
ComplexTypeDefinition |
clone()
Shallow clone.
|
protected void |
copyDefinitionData(ComplexTypeDefinition clone) |
PrismPropertyDefinition |
createPropertyDefinifion(QName name) |
PrismPropertyDefinition |
createPropertyDefinifion(QName name,
QName typeName) |
PrismPropertyDefinition |
createPropertyDefinifion(String localName,
String localTypeName) |
PrismPropertyDefinition |
createPropertyDefinition(String localName,
QName typeName) |
String |
debugDump(int indent) |
ComplexTypeDefinition |
deepClone() |
boolean |
equals(Object obj) |
protected void |
extendDumpDefinition(StringBuilder sb,
ItemDefinition def) |
protected void |
extendDumpHeader(StringBuilder sb) |
<C extends Containerable> |
findContainerDefinition(ItemPath path) |
<C extends Containerable> |
findContainerDefinition(QName name) |
<ID extends ItemDefinition> |
findItemDefinition(ItemPath path) |
<ID extends ItemDefinition> |
findItemDefinition(ItemPath path,
Class<ID> clazz) |
<T extends ItemDefinition> |
findItemDefinition(QName name,
Class<T> clazz) |
<T extends ItemDefinition> |
findItemDefinition(QName name,
Class<T> clazz,
boolean caseInsensitive) |
<T> PrismPropertyDefinition<T> |
findPropertyDefinition(ItemPath path) |
<T> PrismPropertyDefinition<T> |
findPropertyDefinition(QName name)
Finds a PropertyDefinition by looking at the property name.
|
Class<?> |
getCompileTimeClass() |
protected String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.
|
List<? extends ItemDefinition> |
getDefinitions()
Returns set of property definitions.
|
String |
getDocClassName()
Returns human-readable name of this class suitable for documentation.
|
QName |
getExtensionForType() |
protected String |
getSchemaNamespace() |
QName |
getSuperType() |
int |
hashCode() |
boolean |
isContainerMarker()
Flag indicating whether this type was marked as "container"
in the original schema.
|
boolean |
isEmpty() |
boolean |
isObjectMarker()
Flag indicating whether this type was marked as "object"
in the original schema.
|
boolean |
isXsdAnyMarker() |
void |
merge(ComplexTypeDefinition otherComplexTypeDef)
Merge provided definition into this definition.
|
void |
replaceDefinition(QName propertyName,
ItemDefinition newDefinition) |
void |
revive(PrismContext prismContext) |
void |
setCompileTimeClass(Class<?> compileTimeClass) |
void |
setContainerMarker(boolean containerMarker) |
void |
setExtensionForType(QName extensionForType) |
void |
setObjectMarker(boolean objectMarker) |
void |
setSuperType(QName superType) |
void |
setXsdAnyMarker(boolean xsdAnyMarker) |
copyDefinitionData, debugDump, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getPrismContext, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, getTypeName, isAbstract, isDeprecated, isEmphasized, isIgnored, isInherited, isRuntimeSchema, setAbstract, setDeprecated, setDisplayName, setDisplayOrder, setDocumentation, setEmphasized, setHelp, setIgnored, setInherited, setRuntimeSchema, setTypeName, toString
public ComplexTypeDefinition(QName typeName, PrismContext prismContext)
public ComplexTypeDefinition(QName typeName, PrismContext prismContext, Class<?> compileTimeClass)
protected String getSchemaNamespace()
public List<? extends ItemDefinition> getDefinitions()
public void addDefinition(ItemDefinition itemDef)
public Class<?> getCompileTimeClass()
public void setCompileTimeClass(Class<?> compileTimeClass)
public QName getExtensionForType()
public void setExtensionForType(QName extensionForType)
public boolean isContainerMarker()
public void setContainerMarker(boolean containerMarker)
public boolean isObjectMarker()
public boolean isXsdAnyMarker()
public void setXsdAnyMarker(boolean xsdAnyMarker)
public QName getSuperType()
public void setSuperType(QName superType)
public void setObjectMarker(boolean objectMarker)
public void add(ItemDefinition definition)
public PrismPropertyDefinition createPropertyDefinifion(QName name, QName typeName)
public PrismPropertyDefinition createPropertyDefinifion(QName name)
public PrismPropertyDefinition createPropertyDefinition(String localName, QName typeName)
public PrismPropertyDefinition createPropertyDefinifion(String localName, String localTypeName)
public <T> PrismPropertyDefinition<T> findPropertyDefinition(QName name)
name
- property definition namepublic <T> PrismPropertyDefinition<T> findPropertyDefinition(ItemPath path)
public <C extends Containerable> PrismContainerDefinition<C> findContainerDefinition(QName name)
public <C extends Containerable> PrismContainerDefinition<C> findContainerDefinition(ItemPath path)
public <T extends ItemDefinition> T findItemDefinition(QName name, Class<T> clazz)
public <T extends ItemDefinition> T findItemDefinition(QName name, Class<T> clazz, boolean caseInsensitive)
public <ID extends ItemDefinition> ID findItemDefinition(ItemPath path)
public <ID extends ItemDefinition> ID findItemDefinition(ItemPath path, Class<ID> clazz)
public void merge(ComplexTypeDefinition otherComplexTypeDef)
public void revive(PrismContext prismContext)
revive
in interface Revivable
revive
in class Definition
public boolean isEmpty()
public ComplexTypeDefinition clone()
clone
in class Definition
public ComplexTypeDefinition deepClone()
protected void copyDefinitionData(ComplexTypeDefinition clone)
public void replaceDefinition(QName propertyName, ItemDefinition newDefinition)
public int hashCode()
hashCode
in class Definition
public boolean equals(Object obj)
equals
in class Definition
public String debugDump(int indent)
debugDump
in interface DebugDumpable
debugDump
in class Definition
protected void extendDumpHeader(StringBuilder sb)
protected void extendDumpDefinition(StringBuilder sb, ItemDefinition def)
protected String getDebugDumpClassName()
getDebugDumpClassName
in class Definition
public String getDocClassName()
Definition
getDocClassName
in class Definition
Copyright © 2016 evolveum. All rights reserved.