Modifier and Type | Class and Description |
---|---|
static class |
A.Attribute |
Constructor and Description |
---|
A()
No argument constructor required by JPA.
|
A(String id)
Constructor using id.
|
Modifier and Type | Method and Description |
---|---|
A |
cancelSignal(Event<A> event) |
A |
cancelSignal(String eventSignatureKey) |
static A |
create(CreationEvent<A> creationEvent)
Static creator method using CreationEvent.
|
static A |
create(String id)
Static creator method using id.
|
A |
delete()
Same as this.remove()
|
A |
event(Event<A> 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<A> |
find(String id) |
Set<B> |
getB_R1()
Getter.
|
Set<B> |
getB_R2()
Getter.
|
Set<C> |
getC_R1()
Getter.
|
Set<D> |
getD_R2()
Getter.
|
String |
getId()
Returns the identifier for this entity.
|
EntityHelper |
helper()
Returns the Helper for this instance.
|
A |
load() |
A |
load(javax.persistence.EntityManager em)
Does a merge then a refresh and returns a new updated merged instance.
|
A |
merge(javax.persistence.EntityManager em)
Same as EntityManager.merge() except allows method chaining.
|
A |
persist()
Same as
persist(Context.em()) . |
A |
persist(javax.persistence.EntityManager em)
Same as EntityManager.persist() except allows method chaining.
|
A |
refresh(javax.persistence.EntityManager em)
Same as EntityManager.refresh() except inverted to facilitate method chaining.
|
A |
relateAcrossR1(B b_R1)
MANY A characterizes MANY B
|
A |
relateAcrossR1(C c_R1)
ONE A characterizes MANY C
|
A |
relateAcrossR2(B b_R2)
MANY A characterizes MANY B
|
A |
relateAcrossR2(D d_R2)
ONE A characterizes MANY D
|
A |
remove()
Same as EntityManager.remove() except inverted to facilitate method chaining.
|
A |
remove(javax.persistence.EntityManager em)
Same as EntityManager.remove() except inverted to facilitate method chaining.
|
static SelectBuilder<A> |
select() |
static SelectBuilder<A> |
select(BooleanExpression<A> where) |
void |
setB_R1(Set<B> b_R1)
Setter.
|
void |
setB_R2(Set<B> b_R2)
Setter.
|
void |
setC_R1(Set<C> c_R1)
Setter.
|
void |
setD_R2(Set<D> d_R2)
Setter.
|
A |
setId_(String id) |
void |
setId(String id) |
A |
signal(Event<A> event)
Asychronously queues the given signal against this entity for processing.
|
A |
signal(Event<A> event,
scala.concurrent.duration.Duration delay)
Asychronously queues the given signal against this entity for processing
after the delay specified.
|
A |
signal(Event<A> 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.
|
A |
unrelateAcrossR1(B b_R1)
MANY A characterizes MANY B
|
A |
unrelateAcrossR1(C c_R1)
ONE A characterizes MANY C
|
A |
unrelateAcrossR2(B b_R2)
MANY A characterizes MANY B
|
A |
unrelateAcrossR2(D d_R2)
ONE A characterizes MANY D
|
public A()
public A(String id)
public static A create(CreationEvent<A> creationEvent)
public EntityHelper helper()
public String uniqueId()
public String getId()
public void setId(String id)
public A signal(Event<A> event)
public A signal(Event<A> event, scala.concurrent.duration.Duration delay)
public A signal(Event<A> event, long time)
public A event(Event<A> event)
public A merge(javax.persistence.EntityManager em)
public A persist(javax.persistence.EntityManager em)
public A persist()
persist(Context.em())
. Returns this.public A remove(javax.persistence.EntityManager em)
public A remove()
public A delete()
public A refresh(javax.persistence.EntityManager em)
public A load(javax.persistence.EntityManager em)
public A load()
public static SelectBuilder<A> select(BooleanExpression<A> where)
public static SelectBuilder<A> select()
Copyright © 2012–2022. All rights reserved.