Package jadex.bpmn.tutorial
Class Customer
java.lang.Object
jadex.bpmn.tutorial.Customer
A simple business object representing a customer
of an insurance company.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the customer is risk adverse or willing to take risks.toString()
Get a text representation of the customer.
-
Field Details
-
name
The name of the customer. -
gender
The gender of the customer ('male' or 'female'). -
age
protected int ageThe age of the customer. -
married
protected boolean marriedThe marital state of the customer.
-
-
Constructor Details
-
Customer
Create a new customer with initial values.
-
-
Method Details