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