Package it.unipd.dei.eis.data.entities
Class TermsDataEntity
- java.lang.Object
-
- it.unipd.dei.eis.data.entities.DataEntity
-
- it.unipd.dei.eis.data.entities.TermsDataEntity
-
- All Implemented Interfaces:
IFilterable
public class TermsDataEntity extends DataEntity
TermsDataEntity.
-
-
Constructor Summary
Constructors Constructor Description TermsDataEntity(String title, String body)Constructs an TermsDataEntity object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String s)Filters the object by a string.StringtoString()Returns a formatted string.-
Methods inherited from class it.unipd.dei.eis.data.entities.DataEntity
after, before
-
-
-
-
Method Detail
-
toString
public String toString()
Returns a formatted string.
-
contains
public boolean contains(String s)
Filters the object by a string.- Specified by:
containsin interfaceIFilterable- Overrides:
containsin classDataEntity- Parameters:
s- the string to filter by- Returns:
- true if the object respects the filter, false otherwise
-
-