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

io.imunity.scim.config.AttributeMapping Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * Copyright (c) 2021 Bixbit - Krzysztof Benedyczak. All rights reserved.
 * See LICENCE.txt file for licensing information.
 */

package io.imunity.scim.config;

import java.util.Optional;

import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;

import io.imunity.scim.console.mapping.AttributeMappingBean;

import com.fasterxml.jackson.annotation.JsonTypeInfo;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "mappingType", defaultImpl = UndefinedMapping.class, visible=true)
@JsonSubTypes(
{ @Type(value = ComplexAttributeMapping.class, name = "Complex"),
		@Type(value = SimpleAttributeMapping.class, name = "Simple"),
		@Type(value = ReferenceAttributeMapping.class, name = "Reference") })
public interface AttributeMapping
{
	Optional getDataArray();
	String getEvaluatorId();

	AttributeMappingBean toBean();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy