@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 by tools like Jackson for JSON.
|
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 object to
transientBs. |
void |
addToTransientBs(Collection<BidirectB> pTransientBs)
Method adds all passed objects to
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.
|
static BidirectA.Builder |
builder(BidirectA pParent,
BidirectA pTransientChild)
Method creates a new builder and initializes it with the passed attributes.
|
void |
clearTransientBs()
Method removes all objects from
transientBs. |
BidirectA |
getParent()
Method returns association
parent. |
Set<BidirectB> |
getTransientBs()
Method returns association
transientBs. |
BidirectA |
getTransientChild()
Method returns association
transientChild. |
void |
removeFromTransientBs(BidirectB pTransientBs)
Method removes the passed object from
transientBs. |
void |
setParent(BidirectA pParent)
Method sets association
parent. |
void |
setTransientChild(BidirectA pTransientChild)
Method sets 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
parent. |
void |
unsetTransientChild()
Method unsets
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 static BidirectA.Builder builder(BidirectA pParent, BidirectA pTransientChild)
public Set<BidirectB> getTransientBs()
transientBs.Set Value to which transientBs is set. The method never returns null and the
returned collection is modifiable.public void addToTransientBs(BidirectB pTransientBs)
transientBs.pTransientBs - Object that should be added to transientBs. The parameter must not be null.public void addToTransientBs(Collection<BidirectB> pTransientBs)
transientBs.pTransientBs - Collection with all objects that should be added to transientBs. The parameter must
not be null.public void removeFromTransientBs(BidirectB pTransientBs)
transientBs.pTransientBs - Object that should be removed from transientBs. The parameter must not be null.public void clearTransientBs()
transientBs.public void setParent(BidirectA pParent)
parent.pParent - Value to which parent should be set.public final void unsetParent()
parent.public BidirectA getTransientChild()
transientChild.BidirectA Value to which transientChild is set.public void setTransientChild(BidirectA pTransientChild)
transientChild.pTransientChild - Value to which transientChild should be set.public final void unsetTransientChild()
transientChild.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.