Class ChildBB
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.ParentClass
-
- com.anaptecs.jeaf.junit.openapi.base.ChildB
-
- com.anaptecs.jeaf.junit.openapi.base.ChildBB
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
@Valid public class ChildBB extends ChildB
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChildBB.BuilderClass implements builder to create a new instance of classChildBB.
-
Constructor Summary
Constructors Modifier Constructor Description protectedChildBB()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedChildBB(ChildBB.Builder pBuilder)Initialize object using the passed builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddToDeprecatedBs(ChildB pDeprecatedBs)Deprecated.voidaddToDeprecatedBs(java.util.Collection<ChildB> pDeprecatedBs)Deprecated.static ChildBB.Builderbuilder()Method returns a new builder.static ChildBB.Builderbuilder(ChildBB pObject)Method creates a new builder and initialize it with the data from the passed object.static ChildBB.Builderbuilder(java.lang.String pParentAttribute, java.lang.Long pChildBBAttribute, int pDeprecatedAttribute)Method creates a new builder and initializes it with the passed attributes.voidclearDeprecatedBs()Deprecated.java.lang.LonggetChildBBAttribute()Method returns attributechildBBAttribute.byte[]getDeprecatedArray()Deprecated.intgetDeprecatedAttribute()Deprecated.java.util.Set<ChildB>getDeprecatedBs()Deprecated.ParentClassgetDeprecatedParent()Deprecated.voidremoveFromDeprecatedBs(ChildB pDeprecatedBs)Deprecated.voidsetChildBBAttribute(java.lang.Long pChildBBAttribute)Method sets attributechildBBAttribute.voidsetDeprecatedArray(byte[] pDeprecatedArray)Deprecated.voidsetDeprecatedAttribute(int pDeprecatedAttribute)Deprecated.voidsetDeprecatedParent(ParentClass pDeprecatedParent)Deprecated.java.lang.StringtoString()Method creates a new String with the values of all attributes of this class.java.lang.StringBuildertoStringBuilder(java.lang.String pIndent)Method returns a StringBuilder that can be used to create a String representation of this object.voidunsetDeprecatedParent()Deprecated.-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.ChildB
addToComposition, addToComposition, builder, builder, clearComposition, getChildBAttribute, getComposition, removeFromComposition, setChildBAttribute
-
Methods inherited from class com.anaptecs.jeaf.junit.openapi.base.ParentClass
addToIbans, addToIbans, addToLegacyBankAccounts, addToLegacyBankAccounts, builder, clearIbans, clearLegacyBankAccounts, getIbans, getLegacyBankAccounts, getParentAttribute, getTheBankAccount, removeFromIbans, removeFromLegacyBankAccounts, setParentAttribute, setTheBankAccount, unsetTheBankAccount
-
-
-
-
Constructor Detail
-
ChildBB
protected ChildBB()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
-
ChildBB
protected ChildBB(ChildBB.Builder pBuilder)
Initialize object using the passed builder.- Parameters:
pBuilder- Builder that should be used to initialize this object. The parameter must not be null.
-
-
Method Detail
-
builder
public static ChildBB.Builder builder()
Method returns a new builder.- Returns:
ChildBB.BuilderNew builder that can be used to create new ChildBB objects.
-
builder
public static ChildBB.Builder builder(ChildBB pObject)
Method creates a new builder and initialize it with the data from the passed object.- Parameters:
pObject- Object that should be used to initialize the builder. The parameter may be null.- Returns:
ChildBB.BuilderNew builder that can be used to create new ChildBB objects. The method never returns null.
-
builder
public static ChildBB.Builder builder(java.lang.String pParentAttribute, java.lang.Long pChildBBAttribute, int pDeprecatedAttribute)
Method creates a new builder and initializes it with the passed attributes.
-
getChildBBAttribute
public java.lang.Long getChildBBAttribute()
Method returns attributechildBBAttribute.- Returns:
LongValue to whichchildBBAttributeis set.
-
setChildBBAttribute
public void setChildBBAttribute(java.lang.Long pChildBBAttribute)
Method sets attributechildBBAttribute.- Parameters:
pChildBBAttribute- Value to whichchildBBAttributeshould be set.
-
getDeprecatedAttribute
@Deprecated public int getDeprecatedAttribute()
Deprecated.Method returns attributedeprecatedAttribute.- Returns:
- int Value to which
deprecatedAttributeis set.
-
setDeprecatedAttribute
@Deprecated public void setDeprecatedAttribute(int pDeprecatedAttribute)
Deprecated.Method sets attributedeprecatedAttribute.- Parameters:
pDeprecatedAttribute- Value to whichdeprecatedAttributeshould be set.
-
getDeprecatedBs
@Deprecated public java.util.Set<ChildB> getDeprecatedBs()
Deprecated.Method returns associationdeprecatedBs.- Returns:
SetValue to whichdeprecatedBsis set. The method never returns null and the returned collection is modifiable.
-
addToDeprecatedBs
@Deprecated public void addToDeprecatedBs(ChildB pDeprecatedBs)
Deprecated.Method adds the passed object todeprecatedBs.- Parameters:
pDeprecatedBs- Object that should be added todeprecatedBs. The parameter must not be null.
-
addToDeprecatedBs
@Deprecated public void addToDeprecatedBs(java.util.Collection<ChildB> pDeprecatedBs)
Deprecated.Method adds all passed objects todeprecatedBs.- Parameters:
pDeprecatedBs- Collection with all objects that should be added todeprecatedBs. The parameter must not be null.
-
removeFromDeprecatedBs
@Deprecated public void removeFromDeprecatedBs(ChildB pDeprecatedBs)
Deprecated.Method removes the passed object fromdeprecatedBs.- Parameters:
pDeprecatedBs- Object that should be removed fromdeprecatedBs. The parameter must not be null.
-
clearDeprecatedBs
@Deprecated public void clearDeprecatedBs()
Deprecated.Method removes all objects fromdeprecatedBs.
-
getDeprecatedParent
@Deprecated public ParentClass getDeprecatedParent()
Deprecated.Method returns associationdeprecatedParent.- Returns:
ParentClassValue to whichdeprecatedParentis set.
-
setDeprecatedParent
@Deprecated public void setDeprecatedParent(ParentClass pDeprecatedParent)
Deprecated.Method sets associationdeprecatedParent.- Parameters:
pDeprecatedParent- Value to whichdeprecatedParentshould be set.
-
unsetDeprecatedParent
@Deprecated public final void unsetDeprecatedParent()
Deprecated.Method unsetsdeprecatedParent.
-
getDeprecatedArray
@Deprecated public byte[] getDeprecatedArray()
Deprecated.Method returns attributedeprecatedArray.- Returns:
- byte Value to which
deprecatedArrayis set.
-
setDeprecatedArray
@Deprecated public void setDeprecatedArray(byte[] pDeprecatedArray)
Deprecated.Method sets attributedeprecatedArray.- Parameters:
pDeprecatedArray- Value to whichdeprecatedArrayshould be set.
-
toStringBuilder
public java.lang.StringBuilder toStringBuilder(java.lang.String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.- Overrides:
toStringBuilderin classChildB- Returns:
StringBuilderStringBuilder representing this object. The method never returns null.
-
-