public abstract class EmbeddedAttribute extends Object implements Jacksonisable
Wrapper class for a light representation of Attributes which are embedded in the
Thing representations
| Constructor and Description |
|---|
EmbeddedAttribute() |
| Modifier and Type | Method and Description |
|---|---|
static EmbeddedAttribute |
create(ai.grakn.concept.Attribute attribute) |
static EmbeddedAttribute |
create(ai.grakn.concept.ConceptId id,
Link selfLink,
EmbeddedSchemaConcept type,
String value,
String dataType) |
abstract String |
dataType() |
abstract ai.grakn.concept.ConceptId |
id() |
abstract Link |
selfLink() |
abstract EmbeddedSchemaConcept |
type() |
abstract String |
value() |
public abstract ai.grakn.concept.ConceptId id()
public abstract Link selfLink()
public abstract EmbeddedSchemaConcept type()
public abstract String value()
public abstract String dataType()
public static EmbeddedAttribute create(ai.grakn.concept.ConceptId id, Link selfLink, EmbeddedSchemaConcept type, String value, String dataType)
public static EmbeddedAttribute create(ai.grakn.concept.Attribute attribute)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.