private Long phoneNumber;
/**
- * Constructor with cellphone carrier and number
+ * Constructor with cellphone provider and number
* <p>
- * @param cellphoneProvider Cellphone carrier instance
+ * @param cellphoneProvider Cellphone provider instance
* @param cellphoneNumber Cellphone number
* @param phoneEntryCreated When this entry has been created
*/
public CellphoneNumber (final SmsProvider cellphoneProvider, final Long cellphoneNumber, final Calendar phoneEntryCreated) {
+ // Call default constructor
+ this();
+
+ // Set all values
this.cellphoneProvider = cellphoneProvider;
this.phoneNumber = cellphoneNumber;
this.phoneEntryCreated = phoneEntryCreated;
private Long phoneNumber;
/**
- * Contructor with country, area code and number
+ * Constructor with country, area code and number
* <p>
- * @param faxCountry Country instance
- * @param faxAreaCode Area code (without leading zeros)
- * @param faxNumber Fax number (without area code and leading zero)
+ * @param faxCountry Country instance
+ * @param faxAreaCode Area code (without leading zeros)
+ * @param faxNumber Fax number (without area code and leading zero)
* @param phoneEntryCreated When this entry has been created
*/
public FaxNumber (final Country faxCountry, final Integer faxAreaCode, final Long faxNumber, final Calendar phoneEntryCreated) {
+ // Call default constructor
+ this();
+
+ // Set all values
this.faxCountry = faxCountry;
this.faxAreaCode = faxAreaCode;
this.phoneNumber = faxNumber;
private Long phoneNumber;
/**
- * Counstructor with country instance, area code and number
+ * Constructor with country instance, area code and number
* <p>
- * @param phoneCountry Country instance
- * @param phoneAreaCode Phone area code
- * @param phoneNumber Phone number
+ * @param phoneCountry Country instance
+ * @param phoneAreaCode Phone area code
+ * @param phoneNumber Phone number
* @param phoneEntryCreated When this entry has been created
*/
public LandLineNumber (final Country phoneCountry, final Integer phoneAreaCode, final Long phoneNumber, final Calendar phoneEntryCreated) {
+ // Call default constructor
+ this();
+
+ // Set all values
this.phoneCountry = phoneCountry;
this.phoneAreaCode = phoneAreaCode;
this.phoneNumber = phoneNumber;
/**
* Constructor with all required data
* <p>
- * @param providerDialPrefix Dial prefix
- * @param providerName Name
- * @param providerCountry Country
+ * @param providerDialPrefix Dial prefix
+ * @param providerName Name
+ * @param providerCountry Country
* @param providerEntryCreated When this entry has been created
*/
public CellphoneProvider (final Long providerDialPrefix, final String providerName, final Country providerCountry, final Calendar providerEntryCreated) {
+ // Call default constructor
+ this();
+
+ // Set all values
this.providerDialPrefix = providerDialPrefix;
this.providerName = providerName;
this.providerCountry = providerCountry;