@Override public boolean isValidValueForUpdate(Object obj) { boolean ret = true; if (obj != null) { validateAtlasRelationshipType((AtlasRelationshipType) obj); ret = super.isValidValueForUpdate(obj); } return ret; }
@Override public boolean isValidValueForUpdate(Object obj) { if (obj != null) { for (AtlasEntityType superType : superTypes) { if (!superType.isValidValueForUpdate(obj)) { return false; } } return super.isValidValueForUpdate(obj); } return true; }
@Override public boolean isValidValueForUpdate(Object obj) { if (obj != null) { for (AtlasClassificationType superType : superTypes) { if (!superType.isValidValueForUpdate(obj)) { return false; } } return super.isValidValueForUpdate(obj); } return true; }
@Override public boolean isValidValueForUpdate(Object obj) { if (obj != null) { for (AtlasEntityType superType : superTypes) { if (!superType.isValidValueForUpdate(obj)) { return false; } } return super.isValidValueForUpdate(obj); } return true; }
@Override public Object getNormalizedValueForUpdate(Object obj) { Object ret = null; if (obj != null) { if (isValidValueForUpdate(obj)) { if (obj instanceof AtlasStruct) { normalizeAttributeValuesForUpdate((AtlasStruct) obj); ret = obj; } else if (obj instanceof Map) { normalizeAttributeValuesForUpdate((Map) obj); ret = obj; } } } return ret; }
@Override public boolean isValidValueForUpdate(Object obj) { if (obj != null) { for (AtlasClassificationType superType : superTypes) { if (!superType.isValidValueForUpdate(obj)) { return false; } } if (!validateTimeBoundaries(obj, null)) { return false; } return super.isValidValueForUpdate(obj); } return true; }
@Override public Object getNormalizedValueForUpdate(Object obj) { Object ret = null; if (obj != null) { if (isValidValueForUpdate(obj)) { if (obj instanceof AtlasStruct) { normalizeAttributeValuesForUpdate((AtlasStruct) obj); ret = obj; } else if (obj instanceof Map) { normalizeAttributeValuesForUpdate((Map) obj); ret = obj; } } } return ret; }