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