public interface ChildRelationExt
extends javax.slee.ChildRelation
ChildRelation. Adds the concept that childs are mapped
to names.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CHILD_NAME
the proposed default name for a child sbb, useful when using this
extension to handle a single child.
|
| Modifier and Type | Method and Description |
|---|---|
SbbLocalObjectExt |
create(String name)
Create a new SBB entity of the SBB type associated with the relation,
with the specified name.
|
SbbLocalObjectExt |
get(String name)
Retrieves the sbb entity associated with the child relation, with the
specified name.
|
static final String DEFAULT_CHILD_NAME
SbbLocalObjectExt create(String name) throws javax.slee.CreateException, IllegalArgumentException, NullPointerException, javax.slee.TransactionRequiredLocalException, javax.slee.SLEEException
This method is a mandatory transactional method.
name - the name to apply to the object created.javax.slee.CreateException - if an SBB entity could not be created. This exception may
have propagated from the SBB object's Sbb.sbbCreate()
or Sbb.sbbPostCreate(), or may have been thrown by the
SLEE.IllegalArgumentException - if the specified name is the empty string.NullPointerException - if the specified name is null.javax.slee.TransactionRequiredLocalException - if this method is invoked without a valid transaction
context.javax.slee.SLEEException - if the child SBB could not be created due to a system-level
failure.SbbLocalObjectExt get(String name) throws IllegalArgumentException, NullPointerException, javax.slee.TransactionRequiredLocalException, javax.slee.SLEEException
This method is a mandatory transactional method.
name - the name of the object's sbb entity to retrieve.IllegalArgumentException - if the specified name is the empty string.NullPointerException - if the specified name is null.javax.slee.TransactionRequiredLocalException - if this method is invoked without a valid transaction
context.javax.slee.SLEEException - if the child SBB could not be retrieved due to a system-level
failure.Copyright © 2016. All Rights Reserved.