public class SchemaMessages extends FoundationMessages
Constructor and Description |
---|
SchemaMessages() |
Modifier and Type | Method and Description |
---|---|
static String |
arrayTooLarge(String fieldName,
Number maximum,
Object actualNumber) |
static String |
arrayTooSmall(String fieldName,
Number minimum,
Object actualNumber) |
static String |
binaryFieldAllowedValuesNotSupported() |
static String |
blankTextIsNotAllowed(String fieldName,
int minimumLength) |
static String |
cyclicDependency(String referenceEntityName,
String name) |
static String |
duplicateChildName(String childIdentifierName,
String name) |
static String |
duplicateIndexFields(String index1,
String index2,
String fieldNames) |
static String |
elementIsWrongType(String fieldName,
int elementIndex,
FieldType expectedType,
FieldType actualType) |
static String |
entityHasNoSchema(String entityName) |
static String |
entityMissingInSchema(String entityRole,
String entityName,
String schemaName) |
static String |
exceptionMappingValue(String exception,
String fieldName,
Object value,
FieldType targetFieldType) |
static String |
fieldHasNoEntity(String fieldName) |
static String |
fieldIsArray(String fieldName,
int arraySize) |
static String |
fieldIsWrongType(String fieldName,
FieldType expectedType,
FieldType actualType) |
static String |
fieldIsWrongType(String fieldName,
Object expectedType,
Object actualType) |
static String |
fieldMissingInEntity(String fieldRole,
String fieldName,
String entityName) |
static String |
fieldNotArray(String fieldName) |
static String |
fieldTypeIsNotBinary(String fieldName,
FieldType actualType) |
static String |
fieldTypeIsNotBooelan(String fieldName,
FieldType actualType) |
static String |
fieldTypeIsNotNumeric(String fieldName,
FieldType actualType) |
static String |
fieldTypeIsNotRecord(String fieldName,
FieldType actualType) |
static String |
fieldTypeIsNotTemporal(String fieldName,
FieldType actualType) |
static String |
fieldTypeIsNotText(String fieldName,
FieldType actualType) |
static String |
fieldTypeIsNotUuid(String fieldName,
FieldType actualType) |
static String |
incorrectPrimaryKeyPosition(String name,
int expectedPosition,
int currentPosition) |
static String |
indexDoesNotHaveFields(String entityName,
String indexName) |
static String |
indexFieldHasNoIndex(String indexFieldName) |
static String |
indexFieldHasNoSchema(String indexFieldName) |
static String |
indexHasNoEntity(String indexName) |
static String |
indexHasNoSchema(String indexName) |
static String |
invalidEntityInRelationship(String relationshipName,
String entityRole,
String entityName) |
static String |
invalidIdentifier(String identifierName,
String conditionAsSourceString) |
static String |
invalidOneToManyRelationship(String entityRelationshipName) |
static String |
invalidStartOfIdentifier(String identifierName) |
static String |
minimumNotLessThanMaximum(Number minimum,
Number maximum,
String minimumFieldName,
String maximumFieldName) |
static String |
missingPrimaryKeyInPrimaryEntity(String primaryEntityName,
String entityRelationshipName) |
static String |
noEntityInRelationship(String relationshipName,
String entityRole) |
static String |
nonPrimaryKeyForeignKeyInOneToOneRelationship(String fieldName) |
static String |
noSourceEntity(String sourceEntityName) |
static String |
nullParent(String parentIdentifierName) |
static String |
numberTooLarge(String fieldName,
Number maximum,
Object actualNumber) |
static String |
numberTooSmall(String fieldName,
Number minimum,
Object actualNumber) |
static String |
precisionTooLarge(String fieldName,
int expectedPrecision,
int actualPrecision,
Object actualNumber) |
static String |
primaryForeignKeysCountMismatch(int primaryKeyFieldCount,
int foreignKeyFieldCount) |
static String |
primaryForeignKeyTypeMismatch(String primaryKeyName,
FieldType primaryKeyFieldType,
String foreignKeyName,
FieldType foreignKeyFieldType,
String relationshipName) |
static String |
recordFailedValidationRule(Filter rule) |
static String |
recordHasFieldsMismatch(String missingFields,
String extraFields) |
static String |
recordHasUnexpectedFields(String extraFields) |
static String |
recordMissingFields(String missingFields) |
static String |
referencedEntityNotFound(String referencedEntityName,
String schemaName) |
static String |
relationshipWithoutCardinality(String relationshipName) |
static String |
scaleTooLarge(String fieldName,
int expectedScale,
int actualScale,
Object actualNumber) |
static String |
textDoesntMatchPattern(String fieldName,
String pattern) |
static String |
typeMismatch(String field1,
String field2,
String className1,
String className2) |
static String |
valueIsNotABoolean(String fieldName,
Class<?> actualType) |
static String |
valueIsNotARecord(String fieldName,
Class<?> actualType) |
static String |
valueIsWrongType(Object value,
FieldType expectedType,
FieldType actualType) |
static String |
valueNotFoundInValueMatch(String fieldName) |
static String |
valueTooEarly(String fieldName,
TemporalAccessor minimum,
Object actual) |
static String |
valueTooLate(String fieldName,
TemporalAccessor maximum,
Object actual) |
static String |
valueTooLong(String fieldName,
Number maximumLength,
Number actualLength) |
static String |
valueTooShort(String fieldName,
Number minimumLength,
Number actualLength) |
columnCountMismatchInLocalFileDataset, dataLoadingNotStarted, fieldTypeNotSupportedByRecordSerializationTool, fileIndexOutOfBound, fileNotFound, indexOutOfBound, invalidOffsetOrCount, negativeValue, noDataMappingTargetFields, noFieldSet, positiveScale, precisionNotLessThanAbsScale, schemaMismatch, sizeMismatch, unsupportedOperation, variableNameIsReserved
public static String fieldIsWrongType(String fieldName, FieldType expectedType, FieldType actualType)
public static String fieldIsWrongType(String fieldName, Object expectedType, Object actualType)
public static String elementIsWrongType(String fieldName, int elementIndex, FieldType expectedType, FieldType actualType)
public static String valueIsWrongType(Object value, FieldType expectedType, FieldType actualType)
public static String fieldTypeIsNotBinary(String fieldName, FieldType actualType)
public static String fieldTypeIsNotBooelan(String fieldName, FieldType actualType)
public static String fieldTypeIsNotNumeric(String fieldName, FieldType actualType)
public static String fieldTypeIsNotRecord(String fieldName, FieldType actualType)
public static String fieldTypeIsNotTemporal(String fieldName, FieldType actualType)
public static String blankTextIsNotAllowed(String fieldName, int minimumLength)
public static String valueTooShort(String fieldName, Number minimumLength, Number actualLength)
public static String valueTooLong(String fieldName, Number maximumLength, Number actualLength)
public static String textDoesntMatchPattern(String fieldName, String pattern)
public static String numberTooSmall(String fieldName, Number minimum, Object actualNumber)
public static String numberTooLarge(String fieldName, Number maximum, Object actualNumber)
public static String precisionTooLarge(String fieldName, int expectedPrecision, int actualPrecision, Object actualNumber)
public static String scaleTooLarge(String fieldName, int expectedScale, int actualScale, Object actualNumber)
public static String valueTooEarly(String fieldName, TemporalAccessor minimum, Object actual)
public static String valueTooLate(String fieldName, TemporalAccessor maximum, Object actual)
public static String recordHasFieldsMismatch(String missingFields, String extraFields)
public static String binaryFieldAllowedValuesNotSupported()
public static String exceptionMappingValue(String exception, String fieldName, Object value, FieldType targetFieldType)
public static String arrayTooSmall(String fieldName, Number minimum, Object actualNumber)
public static String arrayTooLarge(String fieldName, Number maximum, Object actualNumber)
public static String referencedEntityNotFound(String referencedEntityName, String schemaName)
public static String duplicateIndexFields(String index1, String index2, String fieldNames)
public static String invalidIdentifier(String identifierName, String conditionAsSourceString)
public static String incorrectPrimaryKeyPosition(String name, int expectedPosition, int currentPosition)
public static String fieldMissingInEntity(String fieldRole, String fieldName, String entityName)
public static String entityMissingInSchema(String entityRole, String entityName, String schemaName)
public static String noEntityInRelationship(String relationshipName, String entityRole)
public static String invalidEntityInRelationship(String relationshipName, String entityRole, String entityName)
public static String missingPrimaryKeyInPrimaryEntity(String primaryEntityName, String entityRelationshipName)
public static String primaryForeignKeysCountMismatch(int primaryKeyFieldCount, int foreignKeyFieldCount)
public static String primaryForeignKeyTypeMismatch(String primaryKeyName, FieldType primaryKeyFieldType, String foreignKeyName, FieldType foreignKeyFieldType, String relationshipName)
public static String relationshipWithoutCardinality(String relationshipName)
public static String invalidOneToManyRelationship(String entityRelationshipName)
public static String nonPrimaryKeyForeignKeyInOneToOneRelationship(String fieldName)
public static String minimumNotLessThanMaximum(Number minimum, Number maximum, String minimumFieldName, String maximumFieldName)
public static String typeMismatch(String field1, String field2, String className1, String className2)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.