Package de.espirit.firstspirit.webedit
Interface DataAssociationHandler<T,A> 
- Type Parameters:
- T- The type to get the associations from.
- A- The type of the associations.
Handler for element associations.
- Since:
- 5.2.101
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classDataAssociationHandler.Type<H extends DataAssociationHandler<?,?>> The type token of the association handler.
- 
Method SummaryModifier and TypeMethodDescriptionReturns a set of objects the given object is associated with.getAssociation(@NotNull String id) Gets the association belonging to the specified identifier, ornullif the identifier is invalid or unknown.@NotNull StringReturns the identifier of the given association.@NotNull DataAssociationHandler.Type<? extends DataAssociationHandler<T,A>> getType()Returns the type token of this handler.
- 
Method Details- 
getTypeReturns the type token of this handler.- Returns:
- The handler type.
- Since:
- 5.2.101
 
- 
associateReturns a set of objects the given object is associated with.- Parameters:
- object- The object to get the associations from.
- Returns:
- The associated objects.
- Since:
- 5.2.101
 
- 
getIdReturns the identifier of the given association. This identifier might be used ingetAssociation(String)to get the association later again.- Parameters:
- association- The association to get the identifier from.
- Returns:
- The identifier.
- Since:
- 5.2.101
 
- 
getAssociationGets the association belonging to the specified identifier, ornullif the identifier is invalid or unknown.- Parameters:
- id- The identifier of an assocation.
- Returns:
- The association belonging to the given id.
- Since:
- 5.2.101
 
 
-