@Valid public class ParentClass extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
ParentClass.Builder
Class implements builder to create a new instance of class ParentClass.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ParentClass()
Default constructor is only intended to be used for deserialization as many frameworks required that.
|
protected |
ParentClass(ParentClass.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToIbans(Collection<IBAN> pIbans)
Method adds all passed objects to the association "ibans".
|
void |
addToIbans(IBAN pIbans)
Method adds the passed IBAN object to the association "ibans".
|
static ParentClass.Builder |
builder()
Method returns a new builder.
|
static ParentClass.Builder |
builder(ParentClass pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static ParentClass.Builder |
builder(String pParentAttribute)
Method creates a new builder and initializes it with the passed attributes.
|
void |
clearIbans()
Method removes all objects from the association "ibans".
|
Set<IBAN> |
getIbans()
Method returns the association "ibans".
|
String |
getParentAttribute()
Method returns the attribute "parentAttribute".
|
void |
removeFromIbans(IBAN pIbans)
Method removes the passed IBAN object from the association "ibans".
|
void |
setParentAttribute(String pParentAttribute)
Method sets the attribute "parentAttribute".
|
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.
|
protected ParentClass()
protected ParentClass(ParentClass.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static ParentClass.Builder builder()
ParentClass.Builder New builder that can be used to create new ParentClass objects.public static ParentClass.Builder builder(ParentClass pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.ParentClass.Builder New builder that can be used to create new ParentClass objects. The method never returns
null.public static ParentClass.Builder builder(String pParentAttribute)
public String getParentAttribute()
public void setParentAttribute(String pParentAttribute)
pParentAttribute - Value to which the attribute "parentAttribute" should be set.public Set<IBAN> getIbans()
public void addToIbans(IBAN pIbans)
pIbans - Object that should be added to the association "ibans". The parameter must not be null.public void addToIbans(Collection<IBAN> pIbans)
pIbans - Collection with all objects that should be added to the association "ibans". The parameter must not
be null.public void removeFromIbans(IBAN pIbans)
pIbans - Object that should be removed from the association "ibans". The parameter must not be null.public void clearIbans()
public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.