@Valid public class CodeTypeUsageTest extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CodeTypeUsageTest.Builder
Class implements builder to create a new instance of class
CodeTypeUsageTest. |
| Modifier | Constructor and Description |
|---|---|
protected |
CodeTypeUsageTest()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
CodeTypeUsageTest(CodeTypeUsageTest.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToBooleanCodeAssociation(BooleanCodeType pBooleanCodeAssociation)
Method adds the passed object to
booleanCodeAssociation. |
void |
addToBooleanCodeAssociation(Collection<BooleanCodeType> pBooleanCodeAssociation)
Method adds all passed objects to
booleanCodeAssociation. |
void |
addToShortCodeTypeAssociation(Collection<ShortCodeType> pShortCodeTypeAssociation)
Method adds all passed objects to
shortCodeTypeAssociation. |
void |
addToShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
Method adds the passed object to
shortCodeTypeAssociation. |
static CodeTypeUsageTest.Builder |
builder()
Method returns a new builder.
|
static CodeTypeUsageTest.Builder |
builder(BooleanCodeType pBooleanCode,
StringCodeType pStringCode,
ShortCode pShortCode)
Method creates a new builder and initializes it with the passed attributes.
|
static CodeTypeUsageTest.Builder |
builder(CodeTypeUsageTest pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
void |
clearBooleanCodeAssociation()
Method removes all objects from
booleanCodeAssociation. |
void |
clearShortCodeTypeAssociation()
Method removes all objects from
shortCodeTypeAssociation. |
BooleanCodeType |
getBooleanCode()
Method returns attribute
booleanCode. |
Set<BooleanCodeType> |
getBooleanCodeAssociation()
Method returns association
booleanCodeAssociation. |
ShortCode |
getShortCode()
Method returns association
shortCode. |
Set<ShortCodeType> |
getShortCodeTypeAssociation()
Method returns association
shortCodeTypeAssociation. |
StringCodeType |
getStringCode()
Method returns attribute
stringCode. |
void |
removeFromBooleanCodeAssociation(BooleanCodeType pBooleanCodeAssociation)
Method removes the passed object from
booleanCodeAssociation. |
void |
removeFromShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
Method removes the passed object from
shortCodeTypeAssociation. |
void |
setBooleanCode(BooleanCodeType pBooleanCode)
Method sets attribute
booleanCode. |
void |
setShortCode(ShortCode pShortCode)
Method sets association
shortCode. |
void |
setStringCode(StringCodeType pStringCode)
Method sets attribute
stringCode. |
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 |
unsetShortCode()
Method unsets
shortCode. |
protected CodeTypeUsageTest()
protected CodeTypeUsageTest(CodeTypeUsageTest.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static CodeTypeUsageTest.Builder builder()
CodeTypeUsageTest.Builder New builder that can be used to create new CodeTypeUsageTest objects.public static CodeTypeUsageTest.Builder builder(CodeTypeUsageTest pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.CodeTypeUsageTest.Builder New builder that can be used to create new CodeTypeUsageTest objects. The method never
returns null.public static CodeTypeUsageTest.Builder builder(BooleanCodeType pBooleanCode, StringCodeType pStringCode, ShortCode pShortCode)
public BooleanCodeType getBooleanCode()
booleanCode.BooleanCodeType Value to which booleanCode is set.public void setBooleanCode(BooleanCodeType pBooleanCode)
booleanCode.pBooleanCode - Value to which booleanCode should be set.public Set<BooleanCodeType> getBooleanCodeAssociation()
booleanCodeAssociation.Set Value to which booleanCodeAssociation is set. The method never
returns null and the returned collection is modifiable.public void addToBooleanCodeAssociation(BooleanCodeType pBooleanCodeAssociation)
booleanCodeAssociation.pBooleanCodeAssociation - Object that should be added to booleanCodeAssociation. The parameter must
not be null.public void addToBooleanCodeAssociation(Collection<BooleanCodeType> pBooleanCodeAssociation)
booleanCodeAssociation.pBooleanCodeAssociation - Collection with all objects that should be added to booleanCodeAssociation.
The parameter must not be null.public void removeFromBooleanCodeAssociation(BooleanCodeType pBooleanCodeAssociation)
booleanCodeAssociation.pBooleanCodeAssociation - Object that should be removed from booleanCodeAssociation. The parameter
must not be null.public void clearBooleanCodeAssociation()
booleanCodeAssociation.public Set<ShortCodeType> getShortCodeTypeAssociation()
shortCodeTypeAssociation.Set Value to which shortCodeTypeAssociation is set. The method never
returns null and the returned collection is modifiable.public void addToShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
shortCodeTypeAssociation.pShortCodeTypeAssociation - Object that should be added to shortCodeTypeAssociation. The parameter
must not be null.public void addToShortCodeTypeAssociation(Collection<ShortCodeType> pShortCodeTypeAssociation)
shortCodeTypeAssociation.pShortCodeTypeAssociation - Collection with all objects that should be added to
shortCodeTypeAssociation. The parameter must not be null.public void removeFromShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
shortCodeTypeAssociation.pShortCodeTypeAssociation - Object that should be removed from shortCodeTypeAssociation. The
parameter must not be null.public void clearShortCodeTypeAssociation()
shortCodeTypeAssociation.public StringCodeType getStringCode()
stringCode.StringCodeType Value to which stringCode is set.public void setStringCode(StringCodeType pStringCode)
stringCode.pStringCode - Value to which stringCode should be set.public void setShortCode(ShortCode pShortCode)
shortCode.pShortCode - Value to which shortCode should be set.public final void unsetShortCode()
shortCode.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.