public class SequenceRepresentation extends Object implements Representation
Constructor and Description |
---|
SequenceRepresentation() |
Modifier and Type | Method and Description |
---|---|
List<SequenceElement> |
getElements()
Returns the elements of this sequence
|
String |
getTextFromData()
Returns a textual representation of the data stored in this
representation
|
boolean |
isCompatible(Representation rep)
Evaluates whether a representation is compatible with this one, e.g.., they have
same type and pass additional checks that are type-dependent
|
void |
setDataFromText(String representationDescription)
Initializes a Representation using its textual description provided in
representationDescription |
String |
toString() |
public List<SequenceElement> getElements()
public void setDataFromText(String representationDescription) throws Exception
Representation
representationDescription
setDataFromText
in interface Representation
representationDescription
- the textual description of the representation to be
initializedException
public String getTextFromData()
Representation
getTextFromData
in interface Representation
public boolean isCompatible(Representation rep)
Representation
isCompatible
in interface Representation
rep
- the representation to be compared with this oneCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.