ai.grakn.engine.controller.response.Thing Maven / Gradle / Ivy
/*
* Grakn - A Distributed Semantic Database
* Copyright (C) 2016-2018 Grakn Labs Limited
*
* Grakn is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Grakn is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Grakn. If not, see .
*/
package ai.grakn.engine.controller.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Nullable;
/**
*
* Wrapper class for {@link ai.grakn.concept.Thing}
*
*
* @author Filipe Peliz Pinto Teixeira
*/
public abstract class Thing extends Concept {
@JsonProperty
public abstract EmbeddedSchemaConcept type();
@JsonProperty
public abstract Link attributes();
@JsonProperty
public abstract Link keys();
@JsonProperty
public abstract Link relationships();
@JsonProperty
public abstract boolean inferred();
@Nullable
@JsonProperty("explanation-query")
public abstract String explanation();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy