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

io.imunity.console.views.directory_browser.identities.ResolvedEntity Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * Copyright (c) 2018 Bixbit - Krzysztof Benedyczak All rights reserved.
 * See LICENCE.txt file for licensing information.
 */
package io.imunity.console.views.directory_browser.identities;

import pl.edu.icm.unity.base.attribute.Attribute;
import pl.edu.icm.unity.base.entity.Entity;
import pl.edu.icm.unity.base.identity.Identity;

import java.util.*;


class ResolvedEntity
{
	private final Entity entity;
	private final Set identities;
	private final Map rootAttributes;
	private final Map currentAttributes;

	ResolvedEntity(Entity entity, List identities, 
			Map rootAttributes, Map currentAttributes)
	{
		this.identities = new LinkedHashSet<>(identities); 
		this.rootAttributes = rootAttributes;
		this.currentAttributes = currentAttributes;
		this.entity = entity;
	}

	Collection getIdentities()
	{
		return identities;
	}

	Map getRootAttributes()
	{
		return rootAttributes;
	}

	Map getCurrentAttributes()
	{
		return currentAttributes;
	}

	Entity getEntity()
	{
		return entity;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy