Class ShadowItemUcfDefinition.Data

java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.schema.processor.ShadowItemUcfDefinition.Data
All Implemented Interfaces:
Freezable, ShadowItemUcfDefinition, ShadowItemUcfDefinition.Mutable, ShortDumpable, Serializable
Enclosing interface:
ShadowItemUcfDefinition

public static class ShadowItemUcfDefinition.Data extends AbstractFreezable implements ShadowItemUcfDefinition, ShadowItemUcfDefinition.Mutable, Serializable
Contains real data for UCF aspect of resource attribute/association definition.
See Also:
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • getNativeAttributeName

      public String getNativeAttributeName()
      Description copied from interface: ShadowItemUcfDefinition
      Returns native attribute name. Native name of the attribute is a name as it is used on the resource or as seen by the connector. It is used for diagnostics purposes and may be used by the connector itself. As the attribute names in XSD have to comply with XML element name limitations, this may be the only way how to determine original attribute name. Returns null if native attribute name is not set or unknown. The name should be the same as the one used by the resource, if the resource supports naming of attributes. E.g. in case of LDAP this annotation should contain "cn", "givenName", etc. If the resource is not that flexible, the native attribute names may be hardcoded (e.g. "username", "homeDirectory") or may not be present at all.
      Specified by:
      getNativeAttributeName in interface ShadowItemUcfDefinition
      Returns:
      native attribute name
    • setNativeAttributeName

      public void setNativeAttributeName(String nativeAttributeName)
      Specified by:
      setNativeAttributeName in interface ShadowItemUcfDefinition.Mutable
    • getFrameworkAttributeName

      public String getFrameworkAttributeName()
      Description copied from interface: ShadowItemUcfDefinition
      Returns name of the attribute as given in the connector framework. This is not used for any significant logic. It is mostly for diagnostics.
      Specified by:
      getFrameworkAttributeName in interface ShadowItemUcfDefinition
      Returns:
      name of the attribute as given in the connector framework.
    • setFrameworkAttributeName

      public void setFrameworkAttributeName(String frameworkAttributeName)
      Specified by:
      setFrameworkAttributeName in interface ShadowItemUcfDefinition.Mutable
    • getReturnedByDefault

      @Nullable public @Nullable Boolean getReturnedByDefault()
      Description copied from interface: ShadowItemUcfDefinition
      Is this attribute returned by default? (I.e. if no specific options are sent to the connector?)
      Specified by:
      getReturnedByDefault in interface ShadowItemUcfDefinition
    • setReturnedByDefault

      public void setReturnedByDefault(Boolean returnedByDefault)
      Specified by:
      setReturnedByDefault in interface ShadowItemUcfDefinition.Mutable
    • shortDump

      public void shortDump(StringBuilder sb)
      Description copied from interface: ShortDumpable
      Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.
      Specified by:
      shortDump in interface ShortDumpable
      Parameters:
      sb - StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object