public class PolyString extends Object implements Matchable<PolyString>, Recomputable, Structured, Dumpable, DebugDumpable, Serializable
Modifier and Type | Field and Description |
---|---|
static QName |
F_NORM |
static QName |
F_ORIG |
INDENT_STRING
Constructor and Description |
---|
PolyString(String orig) |
PolyString(String orig,
String norm) |
Modifier and Type | Method and Description |
---|---|
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
String |
dump()
Show the content of the object intended for diagnostics by developer.
|
boolean |
equals(Object obj) |
boolean |
equalsOriginalValue(Recomputable obj) |
PolyString |
getAt(int index) |
String |
getNorm() |
String |
getOrig() |
static String |
getOrig(PolyString s) |
static String |
getOrig(PolyStringType s) |
int |
hashCode() |
boolean |
isComputed() |
boolean |
isEmpty() |
int |
length() |
boolean |
match(PolyString other) |
boolean |
matches(String regex) |
PolyString |
plus(PolyString other) |
PolyString |
plus(PolyStringType other) |
PolyString |
plus(String other) |
void |
recompute(PolyStringNormalizer normalizer) |
Object |
resolve(ItemPath subpath) |
String |
toString() |
public PolyString(String orig)
public String getOrig()
public String getNorm()
public boolean isEmpty()
public void recompute(PolyStringNormalizer normalizer)
public boolean isComputed()
public Object resolve(ItemPath subpath)
resolve
in interface Structured
public PolyString plus(PolyString other)
public PolyString plus(String other)
public PolyString plus(PolyStringType other)
public PolyString getAt(int index)
public int length()
public boolean equalsOriginalValue(Recomputable obj)
equalsOriginalValue
in interface Recomputable
public String dump()
Dumpable
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
public static String getOrig(PolyString s)
public static String getOrig(PolyStringType s)
public boolean match(PolyString other)
match
in interface Matchable<PolyString>
public boolean matches(String regex)
matches
in interface Matchable<PolyString>
Copyright © 2013 evolveum. All rights reserved.