All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.epsilon.eol.parse.test.eol Maven / Gradle / Ivy

The newest version!
operation Any toDbType() : String {
	var mapping : OO2DB!TypeMapping;
	mapping := OO2DB!TypeMapping.allInstances().select(tm|tm.source = self).first;
	if (not mapping.isDefined()){
		('Cannot find DB type for OO type ' + self + '. Setting the default.').println();
		return OO2DB!TypeMap.allInstances().first().`default`.target;
	}
	else {
		return mapping.target;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy