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

io.continual.services.model.core.ModelObjectAndPath Maven / Gradle / Ivy

There is a newer version: 0.3.16
Show newest version
package io.continual.services.model.core;

import io.continual.util.naming.Path;

public interface ModelObjectAndPath
{
	Path getPath ();

	T getObject ();

	static  ModelObjectAndPath from ( final Path p, final T o )
	{
		return new ModelObjectAndPath ()
		{
			@Override
			public Path getPath () { return p; }

			@Override
			public T getObject () { return o; }
		};
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy