Class ExternalEntityImp
java.lang.Object
net.tangly.core.ExternalEntityImp
- All Implemented Interfaces:
ExternalEntity,HasComments,HasDate,HasId,HasName,HasTags,HasText
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.tangly.core.HasDate
HasDate.IntervalFilter<T extends HasDate> -
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExternalEntityImp(@NotNull String id, String name, LocalDate date, String text) -
Method Summary
Modifier and TypeMethodDescriptioncomments()Return the collection of comments owned by the entity.date()Returns the date of entity.booleaninthashCode()id()Return the unique external identifier of the instance.name()tags()Returns the collection of tags for the entity.voidtags(@NotNull Collection<Tag> tags) text()Return the human-readable text description of the instance.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.tangly.core.HasComments
findByAuthor, findByTag, findByTimeMethods inherited from interface net.tangly.core.HasTags
containsTag, containsTag, findBy, findBy, findByNamespace, rawTags, value, value
-
Constructor Details
-
ExternalEntityImp
-
-
Method Details
-
id
-
name
-
text
-
date
-
comments
Description copied from interface:HasCommentsReturn the collection of comments owned by the entity.- Specified by:
commentsin interfaceHasComments- Returns:
- list of comments
-
tags
Description copied from interface:HasTagsReturns the collection of tags for the entity. -
tags
-
hashCode
-
equals
-