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

io.atlasmap.v2.Action Maven / Gradle / Ivy

There is a newer version: 2.5.2
Show newest version
package io.atlasmap.v2;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;

@JsonTypeInfo(
    use = JsonTypeInfo.Id.NAME,
    include = JsonTypeInfo.As.EXISTING_PROPERTY,
    property = "@type"
)
@JsonTypeIdResolver(ActionResolver.class)
public abstract class Action implements Serializable, FieldAction {

    private static final long serialVersionUID = 1L;

    @JsonProperty("@type")
    public String getType() {
        return ActionResolver.getInstance().toId(getClass());
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy