public class PolyString extends Object implements Matchable<PolyString>, Recomputable, Structured, DebugDumpable, Serializable, Comparable<Object>
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 |
---|---|
void |
checkConsistence() |
int |
compareTo(Object other) |
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
boolean |
equals(Object obj) |
boolean |
equalsOriginalValue(Recomputable obj) |
static PolyString |
fromOrig(String orig) |
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(Object other) |
void |
recompute(PolyStringNormalizer normalizer) |
Object |
resolve(ItemPath subpath) |
String |
substring(int from,
int to) |
static PolyString |
toPolyString(PolyStringType value) |
static PolyStringType |
toPolyStringType(PolyString value) |
String |
toString() |
PolyString |
trim() |
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(Object other)
public PolyString getAt(int index)
public int compareTo(Object other)
compareTo
in interface Comparable<Object>
public int length()
public PolyString trim()
public String substring(int from, int to)
public boolean equalsOriginalValue(Recomputable obj)
equalsOriginalValue
in interface Recomputable
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>
public void checkConsistence()
checkConsistence
in interface Recomputable
public static PolyString toPolyString(PolyStringType value)
public static PolyStringType toPolyStringType(PolyString value)
public static PolyString fromOrig(String orig)
Copyright © 2016 evolveum. All rights reserved.