Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
420ad9a3c8
1 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,13 @@ public class Relation extends Entity {
|
|||
return Collections.unmodifiableMap(members);
|
||||
}
|
||||
|
||||
public Map<EntityId, String> getModifiableMembersMap() {
|
||||
if(members == null){
|
||||
return Collections.emptyMap();
|
||||
}
|
||||
return members;
|
||||
}
|
||||
|
||||
public Collection<EntityId> getMemberIds(String role) {
|
||||
if (members == null) {
|
||||
return Collections.emptyList();
|
||||
|
|
Loading…
Reference in a new issue