Package org.silverpeas.core
Interface Instance<T>
-
- Type Parameters:
T
- the type of the parent object.
- All Known Subinterfaces:
Attachment
,Contribution
,Folder
,I18nContribution
,LocalizedAttachment
,LocalizedContribution
,SilverContentInterface
,SilverpeasContent
,SilverpeasToolContent
,ValidableContribution
- All Known Implementing Classes:
AbstractSilverpeasContentManager.ContributionWrapper
,CalendarEvent
,CalendarEventOccurrence
,Comment
,Document
,HistorisedDocument
,HistorisedDocumentVersion
,NodeDetail
,PublicationDetail
,QuestionContainerDetail
,QuestionContainerHeader
,SilverContent
,SimpleDocument
,SimpleDocumentVersion
public interface Instance<T>
An object satisfying this interface means that it COULD be born from an other object (so the parent).- Author:
- silveryocha
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default <U extends T>
Optional<U>getParent()
Gets the possible parent object from which the instance could be spawn.
-