package com.gentics.mesh.madl.type;

import com.gentics.mesh.madl.type.impl.EdgeTypeDefinitionImpl;
import com.gentics.mesh.madl.type.impl.EdgeTypeDefinitionImpl.EdgeTypeDefinitionBuilder;

public interface EdgeTypeDefinition extends ElementTypeDefinition {

	/**
	 * Create a new edge type definition builder for the given label.
	 * 
	 * @param label
	 */
	public static EdgeTypeDefinitionBuilder edgeType(String label) {
		return new EdgeTypeDefinitionImpl.EdgeTypeDefinitionBuilder(label);
	}

	/**
	 * Label of the edge.
	 * 
	 * @return
	 */
	String getLabel();

}
