package org.mxchange.jphone.model.phonenumbers;
import java.io.Serializable;
-import java.util.Calendar;
+import java.util.Date;
import org.mxchange.jcountry.model.data.Country;
/**
* <p>
* @return Timestamp when this entry has been created
*/
- Calendar getPhoneEntryCreated ();
+ Date getPhoneEntryCreated ();
/**
* Setter for timestamp when this entry has been created
* <p>
* @param phoneEntryCreated Timestamp when this entry has been created
*/
- void setPhoneEntryCreated (final Calendar phoneEntryCreated);
+ void setPhoneEntryCreated (final Date phoneEntryCreated);
/**
* Getter for timestamp when this entry has been updated
* <p>
* @return Timestamp when this entry has been updated
*/
- Calendar getPhoneEntryUpdated ();
+ Date getPhoneEntryUpdated ();
/**
* Setter for timestamp when this entry has been updated
* <p>
* @param phoneEntryUpdated Timestamp when this entry has been updated
*/
- void setPhoneEntryUpdated (final Calendar phoneEntryUpdated);
+ void setPhoneEntryUpdated (final Date phoneEntryUpdated);
}
*/
package org.mxchange.jphone.model.phonenumbers.fax;
-import java.util.Calendar;
+import java.util.Date;
import java.util.Objects;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "fax_entry_created", nullable = false, updatable = false)
- private Calendar phoneEntryCreated;
+ private Date phoneEntryCreated;
/**
* Timestamp when this entry has been created
*/
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "phone_entry_updated", updatable = false)
- private Calendar phoneEntryUpdated;
+ private Date phoneEntryUpdated;
/**
* Id number
@Override
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryCreated () {
+ public Date getPhoneEntryCreated () {
return this.phoneEntryCreated;
}
@Override
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryCreated (final Calendar phoneEntryCreated) {
+ public void setPhoneEntryCreated (final Date phoneEntryCreated) {
this.phoneEntryCreated = phoneEntryCreated;
}
@Override
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryUpdated () {
+ public Date getPhoneEntryUpdated () {
return this.phoneEntryUpdated;
}
@Override
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryUpdated (final Calendar phoneEntryUpdated) {
+ public void setPhoneEntryUpdated (final Date phoneEntryUpdated) {
this.phoneEntryUpdated = phoneEntryUpdated;
}
*/
package org.mxchange.jphone.model.phonenumbers.landline;
-import java.util.Calendar;
+import java.util.Date;
import java.util.Objects;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "landline_entry_created", nullable = false, updatable = false)
- private Calendar phoneEntryCreated;
+ private Date phoneEntryCreated;
/**
* Timestamp when this entry has been created
*/
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "landline_entry_updated", updatable = false)
- private Calendar phoneEntryUpdated;
+ private Date phoneEntryUpdated;
/**
* Id number
@Override
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryCreated () {
+ public Date getPhoneEntryCreated () {
return this.phoneEntryCreated;
}
@Override
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryCreated (final Calendar phoneEntryCreated) {
+ public void setPhoneEntryCreated (final Date phoneEntryCreated) {
this.phoneEntryCreated = phoneEntryCreated;
}
@Override
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryUpdated () {
+ public Date getPhoneEntryUpdated () {
return this.phoneEntryUpdated;
}
@Override
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryUpdated (final Calendar phoneEntryUpdated) {
+ public void setPhoneEntryUpdated (final Date phoneEntryUpdated) {
this.phoneEntryUpdated = phoneEntryUpdated;
}
*/
package org.mxchange.jphone.model.phonenumbers.mobile;
-import java.util.Calendar;
+import java.util.Date;
import java.util.Objects;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "mobile_entry_created", nullable = false, updatable = false)
- private Calendar phoneEntryCreated;
+ private Date phoneEntryCreated;
/**
* Timestamp when this entry has been created
*/
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "mobile_entry_updated", updatable = false)
- private Calendar phoneEntryUpdated;
+ private Date phoneEntryUpdated;
/**
* Id number
@Override
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryCreated () {
+ public Date getPhoneEntryCreated () {
return this.phoneEntryCreated;
}
@Override
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryCreated (final Calendar phoneEntryCreated) {
+ public void setPhoneEntryCreated (final Date phoneEntryCreated) {
this.phoneEntryCreated = phoneEntryCreated;
}
@Override
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getPhoneEntryUpdated () {
+ public Date getPhoneEntryUpdated () {
return this.phoneEntryUpdated;
}
@Override
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setPhoneEntryUpdated (final Calendar phoneEntryUpdated) {
+ public void setPhoneEntryUpdated (final Date phoneEntryUpdated) {
this.phoneEntryUpdated = phoneEntryUpdated;
}
*/
package org.mxchange.jphone.model.phonenumbers.mobileprovider;
-import java.util.Calendar;
+import java.util.Date;
import java.util.Objects;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
@Column (name = "provider_entry_created", nullable = false, updatable = false)
- private Calendar providerEntryCreated;
+ private Date providerEntryCreated;
/**
* Id number
@Override
@SuppressWarnings ("ReturnOfDateField")
- public Calendar getProviderEntryCreated () {
+ public Date getProviderEntryCreated () {
return this.providerEntryCreated;
}
@Override
@SuppressWarnings ("AssignmentToDateFieldFromParameter")
- public void setProviderEntryCreated (final Calendar providerEntryCreated) {
+ public void setProviderEntryCreated (final Date providerEntryCreated) {
this.providerEntryCreated = providerEntryCreated;
}
package org.mxchange.jphone.model.phonenumbers.mobileprovider;
import java.io.Serializable;
-import java.util.Calendar;
+import java.util.Date;
import org.mxchange.jcountry.model.data.Country;
/**
* <p>
* @return Timestamp when this entry has been created
*/
- Calendar getProviderEntryCreated ();
+ Date getProviderEntryCreated ();
/**
* Setter for timestamp when this entry has been created
* <p>
* @param providerEntryCreated Timestamp when this entry has been created
*/
- void setProviderEntryCreated (final Calendar providerEntryCreated);
+ void setProviderEntryCreated (final Date providerEntryCreated);
/**
* Getter for pattern for mail gateway