public class ObjectClassComplexTypeDefinition extends ComplexTypeDefinition
defaultName, displayName, displayOrder, help, ignored, isRuntimeSchema, prismContext, typeName
INDENT_STRING
Constructor and Description |
---|
ObjectClassComplexTypeDefinition(QName defaultName,
QName typeName,
PrismContext prismContext) |
add, addDefinition, copyDefinitionData, createPropertyDefinifion, createPropertyDefinifion, createPropertyDefinifion, createPropertyDefinition, debugDump, findContainerDefinition, findItemDefinition, findPropertyDefinition, getCompileTimeClass, getDefinitions, getExtensionForType, getSchemaNamespace, getSuperType, isContainerMarker, isEmpty, isObjectMarker, isXsdAnyMarker, replaceDefinition, setCompileTimeClass, setContainerMarker, setExtensionForType, setObjectMarker, setSuperType, setXsdAnyMarker
copyDefinitionData, debugDump, dump, equals, getDefaultName, getDisplayName, getDisplayOrder, getHelp, getPrismContext, getSchemaRegistry, getTypeClass, getTypeName, hashCode, isIgnored, isRuntimeSchema, setDisplayName, setDisplayOrder, setHelp, setIgnored, setRuntimeSchema, setTypeName, toString
public ObjectClassComplexTypeDefinition(QName defaultName, QName typeName, PrismContext prismContext)
public Collection<? extends ResourceAttributeDefinition> getAttributeDefinitions()
public Collection<? extends ResourceAttributeDefinition> getIdentifiers()
IllegalStateException
- if there is no definition for the referenced attributedpublic boolean isIdentifier(QName attrName)
public Collection<? extends ResourceAttributeDefinition> getSecondaryIdentifiers()
IllegalStateException
- if there is no definition for the referenced attributedpublic boolean isSecondaryIdentifier(QName attrName)
public ResourceAttributeDefinition getDescriptionAttribute()
IllegalStateException
- if there is more than one description attribute. But this
should never happen.IllegalStateException
- if there is no definition for the referenced attributedpublic void setDescriptionAttribute(ResourceAttributeDefinition descriptionAttribute)
public ResourceAttributeDefinition getNamingAttribute()
public void setNamingAttribute(ResourceAttributeDefinition namingAttribute)
public void setNamingAttribute(QName namingAttribute)
public String getNativeObjectClass()
IllegalStateException
- if there is more than one description attribute.public void setNativeObjectClass(String nativeObjectClass)
public ShadowKindType getKind()
public void setKind(ShadowKindType kind)
public boolean isDefaultInAKind()
IllegalStateException
- if more than one default account is suggested in the schema.public void setDefaultInAKind(boolean defaultAccountType)
public String getIntent()
public void setIntent(String intent)
public ResourceAttributeDefinition getDisplayNameAttribute()
IllegalStateException
- if there is more than one display name attribute or the
definition of the referenced attribute does not exist.public void setDisplayNameAttribute(ResourceAttributeDefinition displayName)
public void setDisplayNameAttribute(QName displayName)
displayName
- public ResourceAttributeDefinition findAttributeDefinition(QName name)
name
- property definition namepublic ResourceAttributeDefinition findAttributeDefinition(String name)
public ResourceAttributeDefinition createAttributeDefinition(QName name, QName typeName)
public ResourceAttributeDefinition createAttributeDefinition(String localName, QName typeName)
public ResourceAttributeDefinition createAttributeDefinition(String localName, String localTypeName)
public ResourceAttributeContainerDefinition toResourceAttributeContainerDefinition()
public ResourceAttributeContainerDefinition toResourceAttributeContainerDefinition(QName elementName)
public ResourceAttributeContainer instantiate(QName elementName)
public ObjectClassComplexTypeDefinition clone()
ComplexTypeDefinition
clone
in class ComplexTypeDefinition
protected void copyDefinitionData(ObjectClassComplexTypeDefinition clone)
protected String getDebugDumpClassName()
ComplexTypeDefinition
getDebugDumpClassName
in class ComplexTypeDefinition
protected void extendDumpHeader(StringBuilder sb)
extendDumpHeader
in class ComplexTypeDefinition
protected void extendDumpDefinition(StringBuilder sb, ItemDefinition def)
extendDumpDefinition
in class ComplexTypeDefinition
Copyright © 2013 evolveum. All rights reserved.