Interface IStringIdentifiable

All Superinterfaces:
IIdentifiable<String>

public interface IStringIdentifiable extends IIdentifiable<String>
Interface for data objects that can be uniquely identifed by a string id.

The interface extends IIdentifiable to hardcode id type to string.

It is a common pattern to use a string GUID as the id, generated by IdGenerator.

### Example ###

 
  public class MyData implements IStringIdentifiable {
    private String id;
    public String field1;
    public int field2;
    ...
    public String getId() {...}
    public void setId(String newId) {...}
  }
  
  
See Also: