Package com.evolveum.midpoint.schema
Class ResourceShadowCoordinates
- java.lang.Object
-
- com.evolveum.midpoint.schema.ResourceShadowCoordinates
-
- All Implemented Interfaces:
DebugDumpable,HumanReadableDescribable,ShortDumpable,Serializable,Cloneable
public class ResourceShadowCoordinates extends Object implements Serializable, DebugDumpable, ShortDumpable, HumanReadableDescribable, Cloneable
Aggregate bean containing resource OID, kind, intent, object class and tag flags. For general use where a combination of (some of) these information bits is needed.- Author:
- Radovan Semancik
- See Also:
ResourceOperationCoordinates, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected @Nullable Stringintentprotected @Nullable ShadowKindTypekindprotected @Nullable QNameobjectClassprotected @Nullable StringresourceOidprotected @Nullable Stringtag-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ResourceShadowCoordinates(@Nullable String resourceOid, @Nullable ShadowKindType kind, @Nullable String intent, @Nullable String tag, @Nullable QName objectClass)ResourceShadowCoordinates(String resourceOid, ShadowKindType kind, String intent)ResourceShadowCoordinates(String resourceOid, ShadowKindType kind, String intent, QName objectClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceShadowCoordinatesclone()StringdebugDump(int indent)booleanequals(Object o)@Nullable StringgetIntent()@Nullable ShadowKindTypegetKind()@Nullable QNamegetObjectClass()@Nullable StringgetResourceOid()@Nullable StringgetTag()inthashCode()booleanisTypeSpecified()voidshortDump(StringBuilder sb)Show the content of the object intended for diagnostics.StringtoHumanReadableDescription()StringtoHumanReadableDescription(boolean writeOid)StringtoString()-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Field Detail
-
resourceOid
@Nullable protected final @Nullable String resourceOid
-
kind
@Nullable protected final @Nullable ShadowKindType kind
-
intent
@Nullable protected final @Nullable String intent
-
tag
@Nullable protected final @Nullable String tag
-
objectClass
@Nullable protected final @Nullable QName objectClass
-
-
Constructor Detail
-
ResourceShadowCoordinates
public ResourceShadowCoordinates(@Nullable @Nullable String resourceOid, @Nullable @Nullable ShadowKindType kind, @Nullable @Nullable String intent, @Nullable @Nullable String tag, @Nullable @Nullable QName objectClass)
-
ResourceShadowCoordinates
public ResourceShadowCoordinates(String resourceOid, ShadowKindType kind, String intent, QName objectClass)
-
ResourceShadowCoordinates
public ResourceShadowCoordinates(String resourceOid, ShadowKindType kind, String intent)
-
-
Method Detail
-
getResourceOid
@Nullable public @Nullable String getResourceOid()
-
getKind
@Nullable public @Nullable ShadowKindType getKind()
-
getIntent
@Nullable public @Nullable String getIntent()
-
getTag
@Nullable public @Nullable String getTag()
-
getObjectClass
@Nullable public @Nullable QName getObjectClass()
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpableShow 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:
shortDumpin interfaceShortDumpable- Parameters:
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()
- Specified by:
toHumanReadableDescriptionin interfaceHumanReadableDescribable
-
toHumanReadableDescription
public String toHumanReadableDescription(boolean writeOid)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable
-
clone
public ResourceShadowCoordinates clone()
-
isTypeSpecified
public boolean isTypeSpecified()
-
-