All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daon.identityx.rest.model.pojo.Role Maven / Gradle / Ivy

/*
* Copyright Daon.
*
* 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 com.daon.identityx.rest.model.pojo;


import java.util.Date;

import com.daon.identityx.rest.model.def.RoleStatusEnum;


public class Role extends RestResource {

	private String name;
	private RoleStatusEnum status;
	private String description;		
	private Permission[] permissions;
	private String externalId;
	private Tenant tenant;
	private Date archived;	
	
	////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Permission[] getPermissions() {
		return permissions;
	}
	public void setPermissions(Permission[] restPermissions) {
		this.permissions = restPermissions;
	}
	
	public Tenant getTenant() {
		return tenant;
	}
	public void setTenant(Tenant tenant) {
		this.tenant = tenant;
	}
	public RoleStatusEnum getStatus() {
		return status;
	}
	public void setStatus(RoleStatusEnum status) {
		this.status = status;
	}

	public Date getArchived() {
		return archived;
	}

	public void setArchived(Date inactiveDate) {
		this.archived = inactiveDate;
	}
	public String getExternalId() {
		return externalId;
	}
	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy