|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.common.impex.model.util.DifferenceUtils
public class DifferenceUtils
Field Summary | |
---|---|
static String |
CLOSE_PAD_PAREN
|
static String |
COMMA
|
static String |
DOT
|
static String |
FOUND_IN_LABEL
|
static String |
LABEL_SEPARATOR
|
static String |
NOT_EQUAL_SEPARATOR
|
static String |
NOT_FOUND_IN_LABEL
|
static String |
OPEN_PAD_PAREN
|
static String |
SPACE
|
Constructor Summary | |
---|---|
DifferenceUtils()
|
Method Summary | |
---|---|
static String |
buildDifferenceToken(String label,
SchemaDifference difference)
|
static String |
buildMissingElementToken(String typeLabel,
String foundToken,
String notFoundToken)
Build a token representing a missing schema element |
static String |
buildSchema1Token(SchemaDifference difference)
Build a token to label the first "side" of a schema difference. |
static String |
buildSchema2Token(SchemaDifference difference)
Build a token to label the second "side" of a schema difference. |
static String |
buildTable1DifferenceToken(TableDifference t)
Build a token to label the first "side" of a difference. |
static String |
buildTable2DifferenceToken(TableDifference t)
Build a token to label the second "side" of a difference. |
static String |
buildTypeSizeToken(DataTypeSize typeSize)
|
static String |
parenWrapToken(String s)
Wraps a token in space padded parenthesis |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LABEL_SEPARATOR
public static final String FOUND_IN_LABEL
public static final String NOT_FOUND_IN_LABEL
public static final String DOT
public static final String COMMA
public static final String SPACE
public static final String NOT_EQUAL_SEPARATOR
public static final String OPEN_PAD_PAREN
public static final String CLOSE_PAD_PAREN
Constructor Detail |
---|
public DifferenceUtils()
Method Detail |
---|
public static String buildDifferenceToken(String label, SchemaDifference difference)
public static String buildTable1DifferenceToken(TableDifference t)
t
- the TableDifference containing table data
public static String buildSchema1Token(SchemaDifference difference)
difference
- the SchemaDifference containing difference data
public static String buildSchema2Token(SchemaDifference difference)
difference
- the SchemaDifference containing difference data
public static String buildTable2DifferenceToken(TableDifference t)
t
- the TableDifference containing table data
public static String buildMissingElementToken(String typeLabel, String foundToken, String notFoundToken)
typeLabel
- label for the type of differencefoundToken
- token labeling the found elementnotFoundToken
- token labeling the missing element
public static String parenWrapToken(String s)
s
- input String
public static String buildTypeSizeToken(DataTypeSize typeSize)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |