@Entity
public class Company
extends java.lang.Object
Constructor and Description |
---|
Company() |
Company(java.lang.String name,
java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDateCreated() |
java.time.Instant |
getLastUpdated() |
java.lang.Long |
getMyId() |
java.lang.String |
getName() |
java.net.URL |
getUrl() |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setLastUpdated(java.time.Instant lastUpdated) |
void |
setMyId(java.lang.Long myId) |
void |
setName(java.lang.String name) |
void |
setUrl(java.net.URL url) |
@Creator public Company(java.lang.String name, java.net.URL url)
public Company()
public java.lang.Long getMyId()
public void setMyId(java.lang.Long myId)
public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
public java.time.Instant getLastUpdated()
public void setLastUpdated(java.time.Instant lastUpdated)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.net.URL getUrl()
public void setUrl(java.net.URL url)