Class ResourceShadowDiscriminator

    • Constructor Detail

      • ResourceShadowDiscriminator

        public ResourceShadowDiscriminator​(String resourceOid)
      • ResourceShadowDiscriminator

        public ResourceShadowDiscriminator​(String resourceOid,
                                           QName objectClass)
    • Method Detail

      • getResourceOid

        public String getResourceOid()
      • getIntent

        public String getIntent()
      • getTag

        public String getTag()
      • getObjectClass

        public QName getObjectClass()
      • setObjectClass

        public void setObjectClass​(QName objectClass)
      • getOrder

        public int getOrder()
      • setOrder

        public void setOrder​(int order)
      • isGone

        public boolean isGone()
        "Gone" flag is true: the account no longer exists. The data we have are the latest metadata we were able to get. The projection will be marked as gone if we discover that the associated resource object is gone. Or the shadow is gone and we can no longer associate the resource object. In any way the "gone" projection is marked for removal. It will be eventually unlinked and the shadow will be deleted. The shadow may stay around in the "dead" state for some time for reporting purposes. In the terms of shadow lifecycle state, this covers corpse and tombstone states.
      • setGone

        public void setGone​(boolean gone)
      • isWildcard

        public boolean isWildcard()
      • hashCode

        public int hashCode()
        hashCode in class Object
      • equivalent

        public boolean equivalent​(Object obj)
        Similar to equals but ignores the order.
      • equalsIntent

        public static boolean equalsIntent​(String a,
                                           String b)
      • 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
        sb - StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
      • toHumanReadableDescription

        public String toHumanReadableDescription​(boolean writeOid)