@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 as many frameworks required that.
|
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 BooleanCodeType object to the association "booleanCodeAssociation".
|
void |
addToBooleanCodeAssociation(Collection<BooleanCodeType> pBooleanCodeAssociation)
Method adds all passed objects to the association "booleanCodeAssociation".
|
void |
addToShortCodeTypeAssociation(Collection<ShortCodeType> pShortCodeTypeAssociation)
Method adds all passed objects to the association "shortCodeTypeAssociation".
|
void |
addToShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
Method adds the passed ShortCodeType object to the association "shortCodeTypeAssociation".
|
static CodeTypeUsageTest.Builder |
builder()
Method returns a new builder.
|
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 the association "booleanCodeAssociation".
|
void |
clearShortCodeTypeAssociation()
Method removes all objects from the association "shortCodeTypeAssociation".
|
BooleanCodeType |
getBooleanCode()
Method returns the attribute "booleanCode".
|
Set<BooleanCodeType> |
getBooleanCodeAssociation()
Method returns the association "booleanCodeAssociation".
|
ShortCode |
getShortCode()
Method returns the association "shortCode".
|
Set<ShortCodeType> |
getShortCodeTypeAssociation()
Method returns the association "shortCodeTypeAssociation".
|
StringCodeType |
getStringCode()
Method returns the attribute "stringCode".
|
void |
removeFromBooleanCodeAssociation(BooleanCodeType pBooleanCodeAssociation)
Method removes the passed BooleanCodeType object from the association "booleanCodeAssociation".
|
void |
removeFromShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
Method removes the passed ShortCodeType object from the association "shortCodeTypeAssociation".
|
void |
setBooleanCode(BooleanCodeType pBooleanCode)
Method sets the attribute "booleanCode".
|
void |
setShortCode(ShortCode pShortCode)
Method sets the association "shortCode".
|
void |
setStringCode(StringCodeType pStringCode)
Method sets the 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 the association "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 BooleanCodeType getBooleanCode()
public void setBooleanCode(BooleanCodeType pBooleanCode)
pBooleanCode - Value to which the attribute "booleanCode" should be set.public Set<BooleanCodeType> getBooleanCodeAssociation()
public void addToBooleanCodeAssociation(BooleanCodeType pBooleanCodeAssociation)
pBooleanCodeAssociation - Object that should be added to the association "booleanCodeAssociation". The
parameter must not be null.public void addToBooleanCodeAssociation(Collection<BooleanCodeType> pBooleanCodeAssociation)
pBooleanCodeAssociation - Collection with all objects that should be added to the association
"booleanCodeAssociation". The parameter must not be null.public void removeFromBooleanCodeAssociation(BooleanCodeType pBooleanCodeAssociation)
pBooleanCodeAssociation - Object that should be removed from the association "booleanCodeAssociation". The
parameter must not be null.public void clearBooleanCodeAssociation()
public Set<ShortCodeType> getShortCodeTypeAssociation()
public void addToShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
pShortCodeTypeAssociation - Object that should be added to the association "shortCodeTypeAssociation". The
parameter must not be null.public void addToShortCodeTypeAssociation(Collection<ShortCodeType> pShortCodeTypeAssociation)
pShortCodeTypeAssociation - Collection with all objects that should be added to the association
"shortCodeTypeAssociation". The parameter must not be null.public void removeFromShortCodeTypeAssociation(ShortCodeType pShortCodeTypeAssociation)
pShortCodeTypeAssociation - Object that should be removed from the association "shortCodeTypeAssociation". The
parameter must not be null.public void clearShortCodeTypeAssociation()
public StringCodeType getStringCode()
public void setStringCode(StringCodeType pStringCode)
pStringCode - Value to which the attribute "stringCode" should be set.public ShortCode getShortCode()
public void setShortCode(ShortCode pShortCode)
pShortCode - ShortCode to which the association "shortCode" should be set.public final void unsetShortCode()
public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.