/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.keycloak.models.mongo.keycloak.entities; import java.util.List; import java.util.Map; /** * @author <a href="mailto:bburke@redhat.com">Bill Burke/a> */ public class GroupEntity extends AbstractIdentifiableEntity { private String name; private String realmId; private List<String> roleIds; private String parentId; private Map<String, List<String>> attributes; public String getRealmId() { return realmId; } public void setRealmId(String realmId) { this.realmId = realmId; } public List<String> getRoleIds() { return roleIds; } public void setRoleIds(List<String> roleIds) { this.roleIds = roleIds; } public Map<String, List<String>> getAttributes() { return attributes; } public void setAttributes(Map<String, List<String>> attributes) { this.attributes = attributes; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getParentId() { return parentId; } public void setParentId(String parentId) { this.parentId = parentId; } }