Class AssociationResolverServiceImpl
java.lang.Object
ch.tocco.nice2.optional.functionmutation.impl.AssociationResolverServiceImpl
- All Implemented Interfaces:
AssociationResolverService
@Component
public class AssociationResolverServiceImpl
extends Object
implements AssociationResolverService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Entity
getAssociationAddress
(Entity function) Resolves the association (Address) related to a given Function entity as followed:
-
Constructor Details
-
AssociationResolverServiceImpl
public AssociationResolverServiceImpl()
-
-
Method Details
-
getAssociationAddress
Description copied from interface:AssociationResolverService
Resolves the association (Address) related to a given Function entity as followed:1. if Function.relAddress is set → return it 2. if Function.relInstitution.relAddress is set → return it 3. return null
- Specified by:
getAssociationAddress
in interfaceAssociationResolverService
-