added getId to ModelObject interface

This commit is contained in:
Sebastian Sdorra
2011-05-13 17:26:08 +02:00
parent 05e862048c
commit 92a71f9c2b
3 changed files with 35 additions and 1 deletions

View File

@@ -43,4 +43,14 @@ import java.io.Serializable;
*/
public interface ModelObject
extends TypedObject, LastModifiedAware, Cloneable, Validateable,
Serializable {}
Serializable
{
/**
* Method description
*
*
* @return
*/
public String getId();
}

View File

@@ -363,6 +363,18 @@ public class Group implements ModelObject, Iterable<String>
return description;
}
/**
* Method description
*
*
* @return
*/
@Override
public String getId()
{
return name;
}
/**
* Method description
*

View File

@@ -328,6 +328,18 @@ public class User implements Principal, ModelObject
return displayName;
}
/**
* Method description
*
*
* @return
*/
@Override
public String getId()
{
return name;
}
/**
* Method description
*