public class RefinedObjectClassDefinition extends ObjectClassComplexTypeDefinition implements DebugDumpable
deprecated, displayOrder, documentation, emphasized, help, ignored, inherited, isAbstract, isRuntimeSchema, prismContext, typeName
INDENT_STRING
Modifier | Constructor and Description |
---|---|
protected |
RefinedObjectClassDefinition(QName typeName,
PrismContext prismContext)
This is needed by the LayerRefinedObjectClassDefinition class
|
Modifier and Type | Method and Description |
---|---|
void |
add(RefinedAttributeDefinition<?> refinedAttributeDefinition) |
RefinedObjectClassDefinition |
clone()
Shallow clone.
|
boolean |
containsAttributeDefinition(ItemPathType pathType) |
boolean |
containsAttributeDefinition(QName attributeName) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
createBlankShadow() |
ObjectQuery |
createShadowSearchQuery(String resourceOid) |
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
protected String |
debugDump(int indent,
com.evolveum.midpoint.xml.ns._public.common.common_3.LayerType layer) |
boolean |
equals(Object obj) |
RefinedAssociationDefinition |
findAssociation(QName name) |
<X> RefinedAttributeDefinition<X> |
findAttributeDefinition(QName elementQName)
Finds a attribute definition by looking at the property name.
|
<X> RefinedAttributeDefinition<X> |
findAttributeDefinition(String elementLocalname) |
RefinedAssociationDefinition |
findEntitlementAssociation(QName name) |
LayerRefinedObjectClassDefinition |
forLayer(com.evolveum.midpoint.xml.ns._public.common.common_3.LayerType layerType)
Creates a derived version of this ROCD for a given layer.
|
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceBidirectionalMappingType |
getActivationBidirectionalMappingType(QName propertyName) |
com.evolveum.midpoint.xml.ns._public.common.common_3.AttributeFetchStrategyType |
getActivationFetchStrategy(QName propertyName) |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceActivationDefinitionType |
getActivationSchemaHandling() |
Collection<? extends RefinedAttributeDefinition<?>> |
getAllIdentifiers() |
Collection<RefinedAssociationDefinition> |
getAssociations() |
Collection<RefinedAssociationDefinition> |
getAssociations(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType kind) |
RefinedAttributeDefinition<?> |
getAttributeDefinition(QName attributeName) |
Collection<? extends RefinedAttributeDefinition<?>> |
getAttributeDefinitions() |
Collection<RefinedObjectClassDefinition> |
getAuxiliaryObjectClassDefinitions() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectReferenceType |
getBaseContext() |
protected String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs.
|
List<? extends ItemDefinition> |
getDefinitions()
Returns set of property definitions.
|
String |
getDescription() |
ResourceAttributeDefinition<?> |
getDescriptionAttribute()
Returns the definition of description attribute of a resource object.
|
String |
getDisplayName()
Returns display name.
|
RefinedAttributeDefinition<?> |
getDisplayNameAttribute()
Returns the definition of display name attribute.
|
<T extends com.evolveum.midpoint.xml.ns._public.resource.capabilities_3.CapabilityType> |
getEffectiveCapability(Class<T> capabilityClass) |
Collection<RefinedAssociationDefinition> |
getEntitlementAssociations() |
String |
getHumanReadableName() |
String |
getIntent() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType |
getKind() |
Collection<QName> |
getNamesOfAssociations() |
Collection<? extends QName> |
getNamesOfAssociationsWithOutboundExpressions() |
Collection<? extends QName> |
getNamesOfAttributesWithInboundExpressions() |
Collection<? extends QName> |
getNamesOfAttributesWithOutboundExpressions() |
RefinedAttributeDefinition<?> |
getNamingAttribute()
Specifies which resource attribute should be used as a "technical" name
for the account.
|
String |
getNativeObjectClass()
Returns the native object class string for the resource object.
|
ObjectClassComplexTypeDefinition |
getObjectClassDefinition() |
PrismObjectDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getObjectDefinition() |
com.evolveum.midpoint.xml.ns._public.resource.capabilities_3.PagedSearchCapabilityType |
getPagedSearches() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourcePasswordDefinitionType |
getPasswordDefinition() |
com.evolveum.midpoint.xml.ns._public.common.common_3.AttributeFetchStrategyType |
getPasswordFetchStrategy() |
List<com.evolveum.midpoint.xml.ns._public.common.common_3.MappingType> |
getPasswordInbound() |
com.evolveum.midpoint.xml.ns._public.common.common_3.MappingType |
getPasswordOutbound() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType |
getPasswordPolicy() |
Collection<? extends RefinedAttributeDefinition<?>> |
getPrimaryIdentifiers()
Returns the definition of primary identifier attributes of a resource object.
|
PrismContext |
getPrismContext() |
Collection<ResourceObjectPattern> |
getProtectedObjectPatterns() |
protected String |
getResourceNamespace() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType |
getResourceType() |
Collection<? extends RefinedAttributeDefinition<?>> |
getSecondaryIdentifiers()
Returns the definition of secondary identifier attributes of a resource
object.
|
ResourceShadowDiscriminator |
getShadowDiscriminator() |
QName |
getTypeName()
Returns the name of the definition type.
|
boolean |
hasAuxiliaryObjectClass(QName expectedObjectClassName) |
int |
hashCode() |
boolean |
isAuxiliary() |
boolean |
isDefault() |
boolean |
isDefaultInAKind()
Indicates whether definition is should be used as default definition in ist kind.
|
boolean |
isObjectCountingEnabled() |
boolean |
isPagedSearchEnabled() |
boolean |
matches(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType) |
void |
parseAssociations(RefinedResourceSchema rSchema) |
void |
parseAttributes(RefinedResourceSchema rSchema,
String contextDescription) |
void |
parseAttributesFrom(RefinedResourceSchema rSchema,
ObjectClassComplexTypeDefinition ocDef,
boolean auxiliary,
String contextDescription) |
void |
parseAuxiliaryObjectClasses(RefinedResourceSchema rSchema) |
static RefinedObjectClassDefinition |
parseFromSchema(ObjectClassComplexTypeDefinition objectClassDef,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
RefinedResourceSchema rSchema,
PrismContext prismContext,
String contextDescription) |
void |
setBaseContext(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectReferenceType baseContext) |
void |
setDefault(boolean isDefault) |
void |
setDefaultInAKind(boolean defaultAccountType) |
void |
setDescription(String description) |
void |
setDescriptionAttribute(ResourceAttributeDefinition<?> descriptionAttribute) |
void |
setDisplayName(String displayName) |
void |
setDisplayNameAttribute(QName displayName)
TODO
Convenience method.
|
void |
setIntent(String intent) |
void |
setKind(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType kind) |
void |
setObjectClassDefinition(ObjectClassComplexTypeDefinition objectClassDefinition) |
String |
toString() |
copyDefinitionData, createAttributeDefinition, createAttributeDefinition, createAttributeDefinition, extendDumpDefinition, extendDumpHeader, findAttributeDefinition, instantiate, isPrimaryIdentifier, isSecondaryIdentifier, setAuxiliary, setDisplayNameAttribute, setNamingAttribute, setNamingAttribute, setNativeObjectClass, toResourceAttributeContainerDefinition, toResourceAttributeContainerDefinition
add, addDefinition, copyDefinitionData, createPropertyDefinifion, createPropertyDefinifion, createPropertyDefinifion, createPropertyDefinition, deepClone, findContainerDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findItemDefinition, findItemDefinition, findPropertyDefinition, findPropertyDefinition, getCompileTimeClass, getDocClassName, getExtensionForType, getSchemaNamespace, getSuperType, isContainerMarker, isEmpty, isObjectMarker, isXsdAnyMarker, merge, replaceDefinition, revive, setCompileTimeClass, setContainerMarker, setExtensionForType, setObjectMarker, setSuperType, setXsdAnyMarker
copyDefinitionData, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getSchemaRegistry, getTypeClass, getTypeClassIfKnown, isAbstract, isDeprecated, isEmphasized, isIgnored, isInherited, isRuntimeSchema, setAbstract, setDeprecated, setDisplayOrder, setDocumentation, setEmphasized, setHelp, setIgnored, setInherited, setRuntimeSchema, setTypeName
protected RefinedObjectClassDefinition(QName typeName, PrismContext prismContext)
public LayerRefinedObjectClassDefinition forLayer(com.evolveum.midpoint.xml.ns._public.common.common_3.LayerType layerType)
layerType
- public ResourceAttributeDefinition<?> getDescriptionAttribute()
ObjectClassComplexTypeDefinition
getDescriptionAttribute
in class ObjectClassComplexTypeDefinition
public void setDescriptionAttribute(ResourceAttributeDefinition<?> descriptionAttribute)
setDescriptionAttribute
in class ObjectClassComplexTypeDefinition
public RefinedAttributeDefinition<?> getNamingAttribute()
ObjectClassComplexTypeDefinition
getNamingAttribute
in class ObjectClassComplexTypeDefinition
public QName getTypeName()
Definition
getTypeName
in class Definition
public String getNativeObjectClass()
ObjectClassComplexTypeDefinition
getNativeObjectClass
in class ObjectClassComplexTypeDefinition
public boolean isDefaultInAKind()
ObjectClassComplexTypeDefinition
isDefaultInAKind
in class ObjectClassComplexTypeDefinition
public void setDefaultInAKind(boolean defaultAccountType)
setDefaultInAKind
in class ObjectClassComplexTypeDefinition
public String getIntent()
getIntent
in class ObjectClassComplexTypeDefinition
public void setIntent(String intent)
setIntent
in class ObjectClassComplexTypeDefinition
public com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType getKind()
getKind
in class ObjectClassComplexTypeDefinition
public void setKind(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType kind)
setKind
in class ObjectClassComplexTypeDefinition
public RefinedAttributeDefinition<?> getDisplayNameAttribute()
ObjectClassComplexTypeDefinition
getDisplayNameAttribute
in class ObjectClassComplexTypeDefinition
public void setDisplayNameAttribute(QName displayName)
ObjectClassComplexTypeDefinition
setDisplayNameAttribute
in class ObjectClassComplexTypeDefinition
public Collection<? extends RefinedAttributeDefinition<?>> getPrimaryIdentifiers()
ObjectClassComplexTypeDefinition
getPrimaryIdentifiers
in class ObjectClassComplexTypeDefinition
public Collection<? extends RefinedAttributeDefinition<?>> getSecondaryIdentifiers()
ObjectClassComplexTypeDefinition
getSecondaryIdentifiers
in class ObjectClassComplexTypeDefinition
public Collection<? extends RefinedAttributeDefinition<?>> getAllIdentifiers()
getAllIdentifiers
in class ObjectClassComplexTypeDefinition
public Collection<RefinedAssociationDefinition> getAssociations()
public Collection<RefinedAssociationDefinition> getAssociations(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType kind)
public RefinedAssociationDefinition findAssociation(QName name)
public Collection<RefinedAssociationDefinition> getEntitlementAssociations()
public RefinedAssociationDefinition findEntitlementAssociation(QName name)
public Collection<QName> getNamesOfAssociations()
public Collection<? extends QName> getNamesOfAssociationsWithOutboundExpressions()
public Collection<RefinedObjectClassDefinition> getAuxiliaryObjectClassDefinitions()
public boolean hasAuxiliaryObjectClass(QName expectedObjectClassName)
public Collection<ResourceObjectPattern> getProtectedObjectPatterns()
public PrismContext getPrismContext()
getPrismContext
in class Definition
public RefinedObjectClassDefinition clone()
ComplexTypeDefinition
clone
in class ObjectClassComplexTypeDefinition
public <X> RefinedAttributeDefinition<X> findAttributeDefinition(QName elementQName)
ObjectClassComplexTypeDefinition
findAttributeDefinition
in class ObjectClassComplexTypeDefinition
elementQName
- property definition namepublic <X> RefinedAttributeDefinition<X> findAttributeDefinition(String elementLocalname)
findAttributeDefinition
in class ObjectClassComplexTypeDefinition
protected String getResourceNamespace()
public String getDisplayName()
Definition
getDisplayName
in class Definition
public void setDisplayName(String displayName)
setDisplayName
in class Definition
public String getDescription()
public void setDescription(String description)
public boolean isDefault()
public void setDefault(boolean isDefault)
public ObjectClassComplexTypeDefinition getObjectClassDefinition()
public void setObjectClassDefinition(ObjectClassComplexTypeDefinition objectClassDefinition)
public Collection<? extends RefinedAttributeDefinition<?>> getAttributeDefinitions()
getAttributeDefinitions
in class ObjectClassComplexTypeDefinition
public List<? extends ItemDefinition> getDefinitions()
ComplexTypeDefinition
getDefinitions
in class ComplexTypeDefinition
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType getResourceType()
public PrismObjectDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getObjectDefinition()
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectReferenceType getBaseContext()
public void setBaseContext(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectReferenceType baseContext)
public RefinedAttributeDefinition<?> getAttributeDefinition(QName attributeName)
public void add(RefinedAttributeDefinition<?> refinedAttributeDefinition)
public boolean containsAttributeDefinition(ItemPathType pathType)
public boolean containsAttributeDefinition(QName attributeName)
public static RefinedObjectClassDefinition parseFromSchema(ObjectClassComplexTypeDefinition objectClassDef, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, RefinedResourceSchema rSchema, PrismContext prismContext, String contextDescription) throws SchemaException
SchemaException
public void parseAssociations(RefinedResourceSchema rSchema) throws SchemaException
SchemaException
public void parseAuxiliaryObjectClasses(RefinedResourceSchema rSchema) throws SchemaException
SchemaException
public void parseAttributes(RefinedResourceSchema rSchema, String contextDescription) throws SchemaException
SchemaException
public void parseAttributesFrom(RefinedResourceSchema rSchema, ObjectClassComplexTypeDefinition ocDef, boolean auxiliary, String contextDescription) throws SchemaException
SchemaException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> createBlankShadow()
public ResourceShadowDiscriminator getShadowDiscriminator()
public Collection<? extends QName> getNamesOfAttributesWithOutboundExpressions()
public Collection<? extends QName> getNamesOfAttributesWithInboundExpressions()
public List<com.evolveum.midpoint.xml.ns._public.common.common_3.MappingType> getPasswordInbound()
public com.evolveum.midpoint.xml.ns._public.common.common_3.MappingType getPasswordOutbound()
public com.evolveum.midpoint.xml.ns._public.common.common_3.AttributeFetchStrategyType getPasswordFetchStrategy()
public com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType getPasswordPolicy()
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourcePasswordDefinitionType getPasswordDefinition()
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceActivationDefinitionType getActivationSchemaHandling()
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceBidirectionalMappingType getActivationBidirectionalMappingType(QName propertyName)
public com.evolveum.midpoint.xml.ns._public.common.common_3.AttributeFetchStrategyType getActivationFetchStrategy(QName propertyName)
public <T extends com.evolveum.midpoint.xml.ns._public.resource.capabilities_3.CapabilityType> T getEffectiveCapability(Class<T> capabilityClass)
public com.evolveum.midpoint.xml.ns._public.resource.capabilities_3.PagedSearchCapabilityType getPagedSearches()
public boolean isPagedSearchEnabled()
public boolean isObjectCountingEnabled()
public boolean isAuxiliary()
isAuxiliary
in class ObjectClassComplexTypeDefinition
public boolean matches(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowType)
public ObjectQuery createShadowSearchQuery(String resourceOid) throws SchemaException
createShadowSearchQuery
in class ObjectClassComplexTypeDefinition
SchemaException
public int hashCode()
hashCode
in class ObjectClassComplexTypeDefinition
public boolean equals(Object obj)
equals
in class ObjectClassComplexTypeDefinition
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
debugDump
in class Definition
public String debugDump(int indent)
debugDump
in interface DebugDumpable
debugDump
in class ComplexTypeDefinition
protected String debugDump(int indent, com.evolveum.midpoint.xml.ns._public.common.common_3.LayerType layer)
protected String getDebugDumpClassName()
getDebugDumpClassName
in class ObjectClassComplexTypeDefinition
public String getHumanReadableName()
public String toString()
toString
in class Definition
Copyright © 2016 evolveum. All rights reserved.