View Javadoc
1   package org.argeo.naming;
2   
3   /**
4    * A name which has been specified and for which an id has been defined
5    * (typically an OID).
6    */
7   public interface SpecifiedName {
8   	/** The name */
9   	String name();
10  
11  	/** An RFC or the URLof some specification */
12  	default String getSpec() {
13  		return null;
14  	}
15  
16  	/** Typicall an OID */
17  	default String getID() {
18  		return getClass().getName() + "." + name();
19  	}
20  }