Class EntityExtendedImp
java.lang.Object
net.tangly.core.EntityExtendedImp
- All Implemented Interfaces:
 Entity,EntityExtended,HasComments,HasDateRange,HasId,HasName,HasOid,HasTags,HasText
Default implementation of the 
EntityExtended interface. The unique object identifier shall be set at construction.- 
Nested Class Summary
Nested classes/interfaces inherited from interface net.tangly.core.HasDateRange
HasDateRange.RangeFilter<T extends HasDateRange> - 
Field Summary
Fields inherited from interface net.tangly.core.HasDateRange
FROM, TOFields inherited from interface net.tangly.core.HasOid
OID, UNDEFINED_OID - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncomments()Return the collection of comments owned by the entity.booleaninthashCode()id()Return the unique external identifier of the instance.static <T extends MutableEntityExtended>
Tname()longoid()Return the unique internal identifier of the instance.range()Return the range of the mixin.tags()Returns the collection of tags for the entity.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.HasDateRange
from, isActive, isActive, toMethods inherited from interface net.tangly.core.HasTags
containsTag, containsTag, findBy, findBy, findByNamespace, rawTags, value, value 
- 
Constructor Details
- 
EntityExtendedImp
protected EntityExtendedImp(long oid)  
 - 
 - 
Method Details
- 
init
 - 
oid
 - 
id
 - 
name
 - 
range
Description copied from interface:HasDateRangeReturn the range of the mixin.- Specified by:
 rangein interfaceHasDateRange- Returns:
 - date range of the mixin
 
 - 
text
 - 
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. - 
hashCode
 - 
equals
 
 -