@Valid public class PrimitiveObjectWithRestrictions extends Object implements com.anaptecs.jeaf.core.api.ServiceObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PrimitiveObjectWithRestrictions.Builder
Class implements builder to create a new instance of class
PrimitiveObjectWithRestrictions. |
| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveObjectWithRestrictions()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
PrimitiveObjectWithRestrictions(PrimitiveObjectWithRestrictions.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveObjectWithRestrictions.Builder |
builder()
Method returns a new builder.
|
static PrimitiveObjectWithRestrictions.Builder |
builder(Boolean pABoolean,
Boolean pBBoolean,
Boolean pCBoolean,
byte pAByte,
Byte pBByte,
short pAShort,
Short pBShort,
int pAInteger,
Integer pBInteger,
Integer pCInteger,
long pALong,
Long pBLong,
BigInteger pABigInteger,
char pACharacter,
Character pBCharacter,
float pAFloat,
Float pBFloat,
double pADouble,
Double pBDouble,
BigDecimal pABigDecimal,
String pAString,
String pBString)
Method creates a new builder and initializes it with the passed attributes.
|
static PrimitiveObjectWithRestrictions.Builder |
builder(PrimitiveObjectWithRestrictions pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
BigDecimal |
getABigDecimal()
Method returns attribute
aBigDecimal. |
BigInteger |
getABigInteger()
Method returns attribute
aBigInteger. |
boolean |
getABoolean()
Method returns attribute
aBoolean. |
byte |
getAByte()
Method returns attribute
aByte. |
char |
getACharacter()
Method returns attribute
aCharacter. |
double |
getADouble()
Method returns attribute
aDouble. |
float |
getAFloat()
Method returns attribute
aFloat. |
int |
getAInteger()
Method returns attribute
aInteger. |
long |
getALong()
Method returns attribute
aLong. |
short |
getAShort()
Method returns attribute
aShort. |
String |
getAString()
Method returns attribute
aString. |
Boolean |
getBBoolean()
Method returns attribute
bBoolean. |
Byte |
getBByte()
Method returns attribute
bByte. |
Character |
getBCharacter()
Method returns attribute
bCharacter. |
Double |
getBDouble()
Method returns attribute
bDouble. |
Float |
getBFloat()
Method returns attribute
bFloat. |
Integer |
getBInteger()
Method returns attribute
bInteger. |
Long |
getBLong()
Method returns attribute
bLong. |
Short |
getBShort()
Method returns attribute
bShort. |
String |
getBString()
Method returns attribute
bString. |
boolean |
getCBoolean()
Method returns attribute
cBoolean. |
Integer |
getCInteger()
Method returns attribute
cInteger. |
void |
setABigDecimal(BigDecimal pABigDecimal)
Method sets attribute
aBigDecimal. |
void |
setABigInteger(BigInteger pABigInteger)
Method sets attribute
aBigInteger. |
void |
setABoolean(boolean pABoolean)
Method sets attribute
aBoolean. |
void |
setAByte(byte pAByte)
Method sets attribute
aByte. |
void |
setACharacter(char pACharacter)
Method sets attribute
aCharacter. |
void |
setADouble(double pADouble)
Method sets attribute
aDouble. |
void |
setAFloat(float pAFloat)
Method sets attribute
aFloat. |
void |
setAInteger(int pAInteger)
Method sets attribute
aInteger. |
void |
setALong(long pALong)
Method sets attribute
aLong. |
void |
setAShort(short pAShort)
Method sets attribute
aShort. |
void |
setAString(String pAString)
Method sets attribute
aString. |
void |
setBBoolean(Boolean pBBoolean)
Method sets attribute
bBoolean. |
void |
setBByte(Byte pBByte)
Method sets attribute
bByte. |
void |
setBCharacter(Character pBCharacter)
Method sets attribute
bCharacter. |
void |
setBDouble(Double pBDouble)
Method sets attribute
bDouble. |
void |
setBFloat(Float pBFloat)
Method sets attribute
bFloat. |
void |
setBInteger(Integer pBInteger)
Method sets attribute
bInteger. |
void |
setBLong(Long pBLong)
Method sets attribute
bLong. |
void |
setBShort(Short pBShort)
Method sets attribute
bShort. |
void |
setBString(String pBString)
Method sets attribute
bString. |
void |
setCBoolean(boolean pCBoolean)
Method sets attribute
cBoolean. |
void |
setCInteger(Integer pCInteger)
Method sets attribute
cInteger. |
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 PrimitiveObjectWithRestrictions()
protected PrimitiveObjectWithRestrictions(PrimitiveObjectWithRestrictions.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static PrimitiveObjectWithRestrictions.Builder builder()
PrimitiveObjectWithRestrictions.Builder New builder that can be used to create new PrimitiveObjectWithRestrictions objects.public static PrimitiveObjectWithRestrictions.Builder builder(PrimitiveObjectWithRestrictions pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.PrimitiveObjectWithRestrictions.Builder New builder that can be used to create new PrimitiveObjectWithRestrictions objects. The
method never returns null.public static PrimitiveObjectWithRestrictions.Builder builder(Boolean pABoolean, Boolean pBBoolean, Boolean pCBoolean, byte pAByte, Byte pBByte, short pAShort, Short pBShort, int pAInteger, Integer pBInteger, Integer pCInteger, long pALong, Long pBLong, BigInteger pABigInteger, char pACharacter, Character pBCharacter, float pAFloat, Float pBFloat, double pADouble, Double pBDouble, BigDecimal pABigDecimal, String pAString, String pBString)
public boolean getABoolean()
aBoolean.aBoolean is set.public void setABoolean(boolean pABoolean)
aBoolean.pABoolean - Value to which aBoolean should be set.public void setBBoolean(Boolean pBBoolean)
bBoolean.pBBoolean - Value to which bBoolean should be set.public boolean getCBoolean()
cBoolean.cBoolean is set.public void setCBoolean(boolean pCBoolean)
cBoolean.pCBoolean - Value to which cBoolean should be set.public byte getAByte()
aByte.aByte is set.public void setAByte(byte pAByte)
aByte.pAByte - Value to which aByte should be set.public void setBByte(Byte pBByte)
bByte.pBByte - Value to which bByte should be set.public short getAShort()
aShort.aShort is set.public void setAShort(short pAShort)
aShort.pAShort - Value to which aShort should be set.public void setBShort(Short pBShort)
bShort.pBShort - Value to which bShort should be set.public int getAInteger()
aInteger.aInteger is set.public void setAInteger(int pAInteger)
aInteger.pAInteger - Value to which aInteger should be set.public void setBInteger(Integer pBInteger)
bInteger.pBInteger - Value to which bInteger should be set.public void setCInteger(Integer pCInteger)
cInteger.pCInteger - Value to which cInteger should be set.public long getALong()
aLong.aLong is set.public void setALong(long pALong)
aLong.pALong - Value to which aLong should be set.public void setBLong(Long pBLong)
bLong.pBLong - Value to which bLong should be set.public BigInteger getABigInteger()
aBigInteger.BigInteger Value to which aBigInteger is set.public void setABigInteger(BigInteger pABigInteger)
aBigInteger.pABigInteger - Value to which aBigInteger should be set.public char getACharacter()
aCharacter.aCharacter is set.public void setACharacter(char pACharacter)
aCharacter.pACharacter - Value to which aCharacter should be set.public Character getBCharacter()
bCharacter.Character Value to which bCharacter is set.public void setBCharacter(Character pBCharacter)
bCharacter.pBCharacter - Value to which bCharacter should be set.public float getAFloat()
aFloat.aFloat is set.public void setAFloat(float pAFloat)
aFloat.pAFloat - Value to which aFloat should be set.public void setBFloat(Float pBFloat)
bFloat.pBFloat - Value to which bFloat should be set.public double getADouble()
aDouble.aDouble is set.public void setADouble(double pADouble)
aDouble.pADouble - Value to which aDouble should be set.public void setBDouble(Double pBDouble)
bDouble.pBDouble - Value to which bDouble should be set.public BigDecimal getABigDecimal()
aBigDecimal.BigDecimal Value to which aBigDecimal is set.public void setABigDecimal(BigDecimal pABigDecimal)
aBigDecimal.pABigDecimal - Value to which aBigDecimal should be set.public void setAString(String pAString)
aString.pAString - Value to which aString should be set.public void setBString(String pBString)
bString.pBString - Value to which bString should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.