Package java8testing
Class BusinessService
- java.lang.Object
-
- java8testing.BusinessService
-
public final class BusinessService extends Object
The Class BusinessService.
-
-
Constructor Summary
Constructors Constructor Description BusinessService(Collaborator collaborator)Instantiates a new business service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollaboratorgetCollaborator()Gets the collaborator.StringperformBusinessOperation(int value)Perform business operation.
-
-
-
Constructor Detail
-
BusinessService
public BusinessService(Collaborator collaborator)
Instantiates a new business service.- Parameters:
collaborator- the collaborator
-
-
Method Detail
-
getCollaborator
public Collaborator getCollaborator()
Gets the collaborator.- Returns:
- the collaborator
-
performBusinessOperation
public String performBusinessOperation(int value)
Perform business operation.- Parameters:
value- the value- Returns:
- the string
-
-