Class NativeObjectClassUcfDefinition.Data
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.schema.processor.NativeObjectClassUcfDefinition.Data
- All Implemented Interfaces:
Freezable
,NativeObjectClassUcfDefinition
,NativeObjectClassUcfDefinition.Mutable
,DebugDumpable
,Serializable
- Enclosing interface:
- NativeObjectClassUcfDefinition
public static class NativeObjectClassUcfDefinition.Data
extends AbstractFreezable
implements NativeObjectClassUcfDefinition, NativeObjectClassUcfDefinition.Mutable, Serializable, DebugDumpable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.NativeObjectClassUcfDefinition
NativeObjectClassUcfDefinition.Data, NativeObjectClassUcfDefinition.Delegable, NativeObjectClassUcfDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.NativeObjectClassUcfDefinition.Mutable
NativeObjectClassUcfDefinition.Mutable.Delegable
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondebugDump
(int indent) @Nullable QName
Returns the name of the description attribute.@Nullable QName
Returns the definition of display name attribute.@Nullable QName
Returns name of the naming attribute.Returns the native object class name.boolean
Is this an auxiliary object class, i.e., a class that can be attached to an object that already holds the structural object class?boolean
Indicates whether definition is the default account definition.boolean
Is this an embedded object?void
setAuxiliary
(boolean value) void
setDefaultAccountDefinition
(boolean value) void
setDescriptionAttributeName
(QName descriptionAttributeName) void
setDisplayNameAttributeName
(QName displayNameAttributeName) void
setEmbedded
(boolean value) void
setNamingAttributeName
(QName namingAttributeName) void
setNativeObjectClassName
(String value) void
setPrimaryIdentifierName
(QName value) void
setSecondaryIdentifierName
(QName value) Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreeze
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
getNativeObjectClassName
Description copied from interface:NativeObjectClassUcfDefinition
Returns the native object class name. Native object class is the name of the object class as it is seen by the resource itself. The name of the object class used in midPoint may be constrained by XSD or other syntax and therefore may be "mangled" to conform to such syntax. The _native object class_ value will contain original, un-mangled name (if available). Returns null if there is no native object class. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing.- Specified by:
getNativeObjectClassName
in interfaceNativeObjectClassUcfDefinition
- Returns:
- native object class
-
setNativeObjectClassName
- Specified by:
setNativeObjectClassName
in interfaceNativeObjectClassUcfDefinition.Mutable
-
isAuxiliary
public boolean isAuxiliary()Description copied from interface:NativeObjectClassUcfDefinition
Is this an auxiliary object class, i.e., a class that can be attached to an object that already holds the structural object class? This is originally an LDAP concept, but it may be applicable to other systems as well.- Specified by:
isAuxiliary
in interfaceNativeObjectClassUcfDefinition
-
setAuxiliary
public void setAuxiliary(boolean value) - Specified by:
setAuxiliary
in interfaceNativeObjectClassUcfDefinition.Mutable
-
isEmbedded
public boolean isEmbedded()Description copied from interface:NativeObjectClassUcfDefinition
Is this an embedded object? These can only be passed "by value" in reference attributes.- Specified by:
isEmbedded
in interfaceNativeObjectClassUcfDefinition
-
setEmbedded
public void setEmbedded(boolean value) - Specified by:
setEmbedded
in interfaceNativeObjectClassUcfDefinition.Mutable
-
isDefaultAccountDefinition
public boolean isDefaultAccountDefinition()Description copied from interface:NativeObjectClassUcfDefinition
Indicates whether definition is the default account definition. (This feature is present for "dumb" resource definition that are completely without `schemaHandling` part.) This is a way how a resource connector may suggest applicable object classes. Currently the only use of this flag is that ConnId `pass:[__ACCOUNT__]` is declared as a default for the kind of `ACCOUNT`. Originally, this property was called `defaultInAKind` and marked the object class as being default for given kind. At that time, the kind was part of object class definition. This is no longer the case, therefore also this property is renamed - and is available only for account-like object classes. In the future we may put those things (kind + default-in-a-kind) back, if needed.- Specified by:
isDefaultAccountDefinition
in interfaceNativeObjectClassUcfDefinition
-
setDefaultAccountDefinition
public void setDefaultAccountDefinition(boolean value) - Specified by:
setDefaultAccountDefinition
in interfaceNativeObjectClassUcfDefinition.Mutable
-
getNamingAttributeName
Description copied from interface:NativeObjectClassUcfDefinition
Returns name of the naming attribute.- Specified by:
getNamingAttributeName
in interfaceNativeObjectClassUcfDefinition
- See Also:
-
setNamingAttributeName
- Specified by:
setNamingAttributeName
in interfaceNativeObjectClassUcfDefinition.Mutable
-
getDisplayNameAttributeName
Description copied from interface:NativeObjectClassUcfDefinition
Returns the definition of display name attribute. Display name attribute specifies which resource attribute should be used as title when displaying objects of a specific resource object class. It must point to an attribute of String type. If not present, primary identifier should be used instead (but this method does not handle this default behavior). Returns null if there is no display name attribute. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing. NOTE: Currently seems to be not used. (Neither not set nor used.)- Specified by:
getDisplayNameAttributeName
in interfaceNativeObjectClassUcfDefinition
-
setDisplayNameAttributeName
- Specified by:
setDisplayNameAttributeName
in interfaceNativeObjectClassUcfDefinition.Mutable
-
getDescriptionAttributeName
Description copied from interface:NativeObjectClassUcfDefinition
Returns the name of the description attribute. Currently seems to be unused.- Specified by:
getDescriptionAttributeName
in interfaceNativeObjectClassUcfDefinition
-
setDescriptionAttributeName
- Specified by:
setDescriptionAttributeName
in interfaceNativeObjectClassUcfDefinition.Mutable
-
getPrimaryIdentifierName
- Specified by:
getPrimaryIdentifierName
in interfaceNativeObjectClassUcfDefinition
-
setPrimaryIdentifierName
- Specified by:
setPrimaryIdentifierName
in interfaceNativeObjectClassUcfDefinition.Mutable
-
getSecondaryIdentifierName
- Specified by:
getSecondaryIdentifierName
in interfaceNativeObjectClassUcfDefinition
-
setSecondaryIdentifierName
- Specified by:
setSecondaryIdentifierName
in interfaceNativeObjectClassUcfDefinition.Mutable
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-