@Valid public class TheReadOnlyServiceObject extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
TheReadOnlyServiceObject.Builder
Class implements builder to create a new instance of class
TheReadOnlyServiceObject. |
| Modifier | Constructor and Description |
|---|---|
protected |
TheReadOnlyServiceObject()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
TheReadOnlyServiceObject(TheReadOnlyServiceObject.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static TheReadOnlyServiceObject.Builder |
builder()
Method returns a new builder.
|
static TheReadOnlyServiceObject.Builder |
builder(String pName)
Method creates a new builder and initializes it with the passed attributes.
|
static TheReadOnlyServiceObject.Builder |
builder(TheReadOnlyServiceObject pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
boolean[] |
getBits()
Method returns attribute
bits. |
Set<BookingCode> |
getBookingCodes()
Method returns association
bookingCodes. |
InventoryType |
getInventoryType()
Method returns association
inventoryType. |
String |
getName()
Method returns attribute
name. |
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 TheReadOnlyServiceObject()
protected TheReadOnlyServiceObject(TheReadOnlyServiceObject.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static TheReadOnlyServiceObject.Builder builder()
TheReadOnlyServiceObject.Builder New builder that can be used to create new TheReadOnlyServiceObject objects.public static TheReadOnlyServiceObject.Builder builder(TheReadOnlyServiceObject pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.TheReadOnlyServiceObject.Builder New builder that can be used to create new TheReadOnlyServiceObject objects. The method
never returns null.public static TheReadOnlyServiceObject.Builder builder(String pName)
public boolean[] getBits()
bits.bits is set.public Set<BookingCode> getBookingCodes()
bookingCodes.Set Value to which bookingCodes is set. The method never returns null and the
returned collection is modifiable.public InventoryType getInventoryType()
inventoryType.InventoryType Value to which inventoryType is set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.