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 String
intent
protected @Nullable ShadowKindType
kind
protected @Nullable QName
objectClass
protected @Nullable String
resourceOid
protected @Nullable String
tag
-
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 ResourceShadowCoordinates
clone()
String
debugDump(int indent)
boolean
equals(Object o)
@Nullable String
getIntent()
@Nullable ShadowKindType
getKind()
@Nullable QName
getObjectClass()
@Nullable String
getResourceOid()
@Nullable String
getTag()
int
hashCode()
boolean
isTypeSpecified()
void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.String
toHumanReadableDescription()
String
toHumanReadableDescription(boolean writeOid)
String
toString()
-
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: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 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:
toHumanReadableDescription
in interfaceHumanReadableDescribable
-
toHumanReadableDescription
public String toHumanReadableDescription(boolean writeOid)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
clone
public ResourceShadowCoordinates clone()
-
isTypeSpecified
public boolean isTypeSpecified()
-
-