Modifier and Type | Class and Description |
---|---|
static class |
B.Attribute |
Constructor and Description |
---|
B()
No argument constructor required by JPA.
|
B(Integer id)
Constructor using id.
|
Modifier and Type | Method and Description |
---|---|
B |
cancelSignal(Event<B> event) |
B |
cancelSignal(String eventSignatureKey) |
static B |
create(CreationEvent<B> creationEvent)
Static creator method using CreationEvent.
|
static B |
create(Integer id)
Static creator method using id.
|
B |
delete()
Same as this.remove()
|
B |
event(Event<B> event)
Synchronously runs the on entry procedure associated
with this event and also any signals to self that are
made during the procedure.
|
static com.google.common.base.Optional<B> |
find(Integer id) |
Double |
getContactFrequencyPerYear()
Returns contactFrequencyPerYear.
|
Integer |
getId()
Returns the identifier for this entity.
|
EntityHelper |
helper()
Returns the Helper for this instance.
|
B |
load() |
B |
load(javax.persistence.EntityManager em)
Does a merge then a refresh and returns a new updated merged instance.
|
B |
merge(javax.persistence.EntityManager em)
Same as EntityManager.merge() except allows method chaining.
|
B |
persist()
Same as
persist(Context.em()) . |
B |
persist(javax.persistence.EntityManager em)
Same as EntityManager.persist() except allows method chaining.
|
B |
refresh(javax.persistence.EntityManager em)
Same as EntityManager.refresh() except inverted to facilitate method chaining.
|
B |
remove()
Same as EntityManager.remove() except inverted to facilitate method chaining.
|
B |
remove(javax.persistence.EntityManager em)
Same as EntityManager.remove() except inverted to facilitate method chaining.
|
static SelectBuilder<B> |
select() |
static SelectBuilder<B> |
select(BooleanExpression<B> where) |
B |
setContactFrequencyPerYear_(Double contactFrequencyPerYear)
Sets the attribute to the given value and returns this
(enables method chaining).
|
void |
setContactFrequencyPerYear(Double contactFrequencyPerYear)
Sets contactFrequencyPerYear to the given value.
|
B |
setId_(Integer id) |
void |
setId(Integer id) |
B |
signal(Event<B> event)
Asychronously queues the given signal against this entity for processing.
|
B |
signal(Event<B> event,
scala.concurrent.duration.Duration delay)
Asychronously queues the given signal against this entity for processing
after the delay specified.
|
B |
signal(Event<B> event,
long time)
Asychronously queues the given signal against this entity for processing
at the epoch time in ms specified.
|
String |
uniqueId()
Returns a unique id for this instance as a String.
|
public B()
public B(Integer id)
public static B create(CreationEvent<B> creationEvent)
public EntityHelper helper()
public String uniqueId()
public Integer getId()
public void setId(Integer id)
public Double getContactFrequencyPerYear()
public void setContactFrequencyPerYear(Double contactFrequencyPerYear)
public B setContactFrequencyPerYear_(Double contactFrequencyPerYear)
public B signal(Event<B> event)
public B signal(Event<B> event, scala.concurrent.duration.Duration delay)
public B signal(Event<B> event, long time)
public B event(Event<B> event)
public B merge(javax.persistence.EntityManager em)
public B persist(javax.persistence.EntityManager em)
public B persist()
persist(Context.em())
. Returns this.public B remove(javax.persistence.EntityManager em)
public B remove()
public B delete()
public B refresh(javax.persistence.EntityManager em)
public B load(javax.persistence.EntityManager em)
public B load()
public static SelectBuilder<B> select(BooleanExpression<B> where)
public static SelectBuilder<B> select()
Copyright © 2012–2022. All rights reserved.