@Column (name = "cellphone_number", nullable = false)
private Long phoneNumber;
+ /**
+ * Default constructor
+ */
+ public CellphoneNumber () {
+ }
+
/**
* Constructor with cellphone provider and number
* <p>
* @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) {
+ public CellphoneNumber (final SmsProvider cellphoneProvider, final Long cellphoneNumber) {
// Call default constructor
this();
// Set all values
this.cellphoneProvider = cellphoneProvider;
this.phoneNumber = cellphoneNumber;
- this.phoneEntryCreated = phoneEntryCreated;
- }
-
- /**
- * Default constructor
- */
- public CellphoneNumber () {
}
@Override
@Column (name = "fax_number", nullable = false)
private Long phoneNumber;
+ /**
+ * Default constructor
+ */
+ public FaxNumber () {
+ }
+
/**
* 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 phoneEntryCreated When this entry has been created
*/
- public FaxNumber (final Country faxCountry, final Integer faxAreaCode, final Long faxNumber, final Calendar phoneEntryCreated) {
+ public FaxNumber (final Country faxCountry, final Integer faxAreaCode, final Long faxNumber) {
// Call default constructor
this();
this.faxCountry = faxCountry;
this.faxAreaCode = faxAreaCode;
this.phoneNumber = faxNumber;
- this.phoneEntryCreated = phoneEntryCreated;
- }
-
- /**
- * Default constructor
- */
- public FaxNumber () {
}
@Override
@Column (name = "phone_number", nullable = false)
private Long phoneNumber;
+ /**
+ * Default constructor
+ */
+ public LandLineNumber () {
+ }
+
/**
* Constructor with country instance, area code and number
* <p>
* @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) {
+ public LandLineNumber (final Country phoneCountry, final Integer phoneAreaCode, final Long phoneNumber) {
// Call default constructor
this();
this.phoneCountry = phoneCountry;
this.phoneAreaCode = phoneAreaCode;
this.phoneNumber = phoneNumber;
- this.phoneEntryCreated = phoneEntryCreated;
- }
-
- /**
- * Default constructor
- */
- public LandLineNumber () {
}
@Override
/**
* Constructor with all required data
* <p>
- * @param providerDialPrefix Dial prefix
- * @param providerName Name
- * @param providerCountry Country
- * @param providerEntryCreated When this entry has been created
+ * @param providerDialPrefix Dial prefix
+ * @param providerName Name
+ * @param providerCountry Country
*/
- public CellphoneProvider (final Long providerDialPrefix, final String providerName, final Country providerCountry, final Calendar providerEntryCreated) {
+ public CellphoneProvider (final Long providerDialPrefix, final String providerName, final Country providerCountry) {
// Call default constructor
this();
this.providerDialPrefix = providerDialPrefix;
this.providerName = providerName;
this.providerCountry = providerCountry;
- this.providerEntryCreated = providerEntryCreated;
}
/**