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

graphql.language.TypeExtensionDefinition Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
package graphql.language;


import java.util.List;

public class TypeExtensionDefinition extends ObjectTypeDefinition {
    public TypeExtensionDefinition() {
        super(null);
    }

    public TypeExtensionDefinition(String name) {
        super(name);
    }

    public TypeExtensionDefinition(String name, List implementz, List directives, List fieldDefinitions) {
        super(name, implementz, directives, fieldDefinitions);
    }

    public TypeExtensionDefinition deepCopy() {
        return new TypeExtensionDefinition(getName(),
                deepCopy(getImplements()),
                deepCopy(getDirectives()),
                deepCopy(getFieldDefinitions())
        );
    }


    @Override
    public String toString() {
        return "TypeExtensionDefinition{" +
                "name='" + getName() + '\'' +
                ", implements=" + getImplements() +
                ", directives=" + getDirectives() +
                ", fieldDefinitions=" + getFieldDefinitions() +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy