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

org.kinotic.continuum.idl.api.schema.ParameterDefinition Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package org.kinotic.continuum.idl.api.schema;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * Provides functionality to define a parameter for a {@link FunctionDefinition}.
 * The context for equality here is the {@link FunctionDefinition}.
 * Given that no two {@link ParameterDefinition}s can have the same name in the same {@link FunctionDefinition}.
 * Created by navid on 2023-4-13
 */
@Getter
@Setter
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
public class ParameterDefinition extends AbstractDefinition {

    /**
     * The name of this {@link ParameterDefinition}, and the argument name for the {@link FunctionDefinition}
     */
    private String name;

    /**
     * This is the {@link C3Type} that defines the type of this argument.
     */
    @EqualsAndHashCode.Exclude // The context for equality here is the function definition
    private C3Type type;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy