package com.gentics.mesh.core.data;

/**
 * A named element is a mesh element that can be identified by a name. Elements such as roles, users, tags, groups may implement this interface in order to
 * provide a common way to extract the name of the element. This way a generic way of retrieving a element name is created for e.g. logging purposes.
 */
public interface HibNamedElement extends HibElement {

	/**
	 * Return the name of the vertex.
	 * 
	 * @return
	 */
	String getName();

	/**
	 * Set the name of the vertex.
	 * 
	 * @param name
	 */
	void setName(String name);

}
