@Valid public class BidirectA extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
BidirectA.Builder
Class implements builder to create a new instance of class BidirectA.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BidirectA()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
BidirectA(BidirectA.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToTransientBs(BidirectB pTransientBs)
Method adds the passed BidirectB object to the association "transientBs".
|
void |
addToTransientBs(Collection<BidirectB> pTransientBs)
Method adds all passed objects to the association "transientBs".
|
static BidirectA.Builder |
builder()
Method returns a new builder.
|
static BidirectA.Builder |
builder(BidirectA pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
void |
clearTransientBs()
Method removes all objects from the association "transientBs".
|
BidirectA |
getParent()
Method returns the association "parent".
|
Set<BidirectB> |
getTransientBs()
Method returns the association "transientBs".
|
BidirectA |
getTransientChild()
Method returns the association "transientChild".
|
void |
removeFromTransientBs(BidirectB pTransientBs)
Method removes the passed BidirectB object from the association "transientBs".
|
void |
setParent(BidirectA pParent)
Method sets the association "parent".
|
void |
setTransientChild(BidirectA pTransientChild)
Method sets the association "transientChild".
|
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
void |
unsetParent()
Method unsets the association "parent".
|
void |
unsetTransientChild()
Method unsets the association "transientChild".
|
protected BidirectA()
protected BidirectA(BidirectA.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static BidirectA.Builder builder()
BidirectA.Builder New builder that can be used to create new BidirectA objects.public static BidirectA.Builder builder(BidirectA pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.BidirectA.Builder New builder that can be used to create new BidirectA objects. The method never returns
null.public Set<BidirectB> getTransientBs()
public void addToTransientBs(BidirectB pTransientBs)
pTransientBs - Object that should be added to the association "transientBs". The parameter must not be null.public void addToTransientBs(Collection<BidirectB> pTransientBs)
pTransientBs - Collection with all objects that should be added to the association "transientBs". The
parameter must not be null.public void removeFromTransientBs(BidirectB pTransientBs)
pTransientBs - Object that should be removed from the association "transientBs". The parameter must not be
null.public void clearTransientBs()
public BidirectA getParent()
public void setParent(BidirectA pParent)
pParent - BidirectA to which the association "parent" should be set.public final void unsetParent()
public BidirectA getTransientChild()
public void setTransientChild(BidirectA pTransientChild)
pTransientChild - BidirectA to which the association "transientChild" should be set.public final void unsetTransientChild()
public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.