org.nakedobjects.metamodel.adapter.oid.stringable.directly.DirectlyStringableOid Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.metamodel.adapter.oid.stringable.directly;
import org.nakedobjects.metamodel.adapter.oid.Oid;
import org.nakedobjects.metamodel.commons.encoding.Encodable;
/**
* An alternative to {@link Encodable}, intended to be used for Oids
* that can be encoded/decoded from strings.
*
*
* This is inspired by the DSFA's implementation that uses CUS|1234567A as the
* string representation of their OStoreOid, representing a Customer.
*/
public interface DirectlyStringableOid extends Oid {
String enString();
}