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