Modifier and Type | Class and Description |
---|---|
static class |
B.Attribute |
Constructor and Description |
---|
B()
No argument constructor required by JPA.
|
B(String 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(String 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(String id) |
Set<A> |
getA_R1()
Getter.
|
Set<C> |
getC_R1()
Getter.
|
String |
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 |
relateAcrossR1(A a_R1)
ONE_MANY B is characterized by ONE_MANY A
|
B |
relateAcrossR1(C c_R1)
ONE B is characterized by ONE_MANY C
|
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) |
void |
setA_R1(Set<A> a_R1)
Setter.
|
void |
setC_R1(Set<C> c_R1)
Setter.
|
B |
setId_(String id) |
void |
setId(String 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.
|
B |
unrelateAcrossR1(A a_R1)
ONE_MANY B is characterized by ONE_MANY A
|
B |
unrelateAcrossR1(C c_R1)
ONE B is characterized by ONE_MANY C
|
public B()
public B(String id)
public static B create(CreationEvent<B> creationEvent)
public EntityHelper helper()
public String uniqueId()
public String getId()
public void setId(String id)
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.