@Valid public class BidirectB extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
BidirectB.Builder
Class implements builder to create a new instance of class
BidirectB. |
| Modifier | Constructor and Description |
|---|---|
protected |
BidirectB()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
BidirectB(BidirectB.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static BidirectB.Builder |
builder()
Method returns a new builder.
|
static BidirectB.Builder |
builder(BidirectA pA)
Method creates a new builder and initializes it with the passed attributes.
|
static BidirectB.Builder |
builder(BidirectB pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
BidirectA |
getA()
Method returns association
a. |
void |
setA(BidirectA pA)
Method sets association
a. |
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 |
unsetA()
Method unsets
a. |
protected BidirectB()
protected BidirectB(BidirectB.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static BidirectB.Builder builder()
BidirectB.Builder New builder that can be used to create new BidirectB objects.public static BidirectB.Builder builder(BidirectB pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.BidirectB.Builder New builder that can be used to create new BidirectB objects. The method never returns
null.public static BidirectB.Builder builder(BidirectA pA)
public void setA(BidirectA pA)
a.pA - Value to which a should be set.public final void unsetA()
a.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.