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
RepresentationrepresentationDescriptionsetDataFromText in interface RepresentationrepresentationDescription - the textual description of the representation to be
initializedExceptionpublic String getTextFromData()
RepresentationgetTextFromData in interface Representationpublic boolean isCompatible(Representation rep)
RepresentationisCompatible in interface Representationrep - the representation to be compared with this oneCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.