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

com.softicar.platform.common.core.properties.AbstractPropertyFactory Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.core.properties;

abstract class AbstractPropertyFactory {

	private final String namePrefix;

	public AbstractPropertyFactory(String namePrefix) {

		this.namePrefix = namePrefix;
	}

	protected PropertyName createName(String propertyName) {

		if (namePrefix.isEmpty()) {
			return new PropertyName(propertyName);
		} else {
			return new PropertyName(namePrefix + "." + propertyName);
		}
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy