public class QBEntity
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.Date | createdAt | 
| protected java.lang.Integer | id | 
| protected java.util.Date | updatedAt | 
| Constructor and Description | 
|---|
| QBEntity()Constructs a new QBEntity object | 
| QBEntity(int id)Constructs a new QBEntity object with ID | 
| Modifier and Type | Method and Description | 
|---|---|
| void | copyFieldsTo(QBEntity entity)Copy the data of all fields to another instance | 
| boolean | equals(java.lang.Object o) | 
| java.util.Date | getCreatedAt()Get the created at value | 
| java.lang.String | getFCreatedAt()Get the formatted created at value | 
| java.lang.String | getFUpdatedAt()Get the formatted updated at value | 
| java.lang.Integer | getId()Get the ID | 
| java.util.Date | getUpdatedAt()Get the updated at value | 
| int | hashCode() | 
| void | setCreatedAt(java.util.Date createdAt)Sets the created at value | 
| void | setId(int id)Sets the ID | 
| void | setUpdatedAt(java.util.Date updatedAt)Sets the updated at value | 
| java.lang.String | toString() | 
protected java.lang.Integer id
protected java.util.Date createdAt
protected java.util.Date updatedAt
public QBEntity()
public QBEntity(int id)
id - IDpublic java.lang.Integer getId()
public void setId(int id)
id - the ID to setpublic java.util.Date getCreatedAt()
public void setCreatedAt(java.util.Date createdAt)
createdAt - the created at value to setpublic java.util.Date getUpdatedAt()
public void setUpdatedAt(java.util.Date updatedAt)
updatedAt - the updated at value to setpublic void copyFieldsTo(QBEntity entity)
entity - receiver instancepublic java.lang.String getFCreatedAt()
public java.lang.String getFUpdatedAt()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object