@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 as many frameworks required that.
|
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 the attribute "aBigDecimal".
|
BigInteger |
getABigInteger()
Method returns the attribute "aBigInteger".
|
boolean |
getABoolean()
Method returns the attribute "aBoolean".
|
byte |
getAByte()
Method returns the attribute "aByte".
|
char |
getACharacter()
Method returns the attribute "aCharacter".
|
double |
getADouble()
Method returns the attribute "aDouble".
|
float |
getAFloat()
Method returns the attribute "aFloat".
|
int |
getAInteger()
Method returns the attribute "aInteger".
|
long |
getALong()
Method returns the attribute "aLong".
|
short |
getAShort()
Method returns the attribute "aShort".
|
String |
getAString()
Method returns the attribute "aString".
|
Boolean |
getBBoolean()
Method returns the attribute "bBoolean".
|
Byte |
getBByte()
Method returns the attribute "bByte".
|
Character |
getBCharacter()
Method returns the attribute "bCharacter".
|
Double |
getBDouble()
Method returns the attribute "bDouble".
|
Float |
getBFloat()
Method returns the attribute "bFloat".
|
Integer |
getBInteger()
Method returns the attribute "bInteger".
|
Long |
getBLong()
Method returns the attribute "bLong".
|
Short |
getBShort()
Method returns the attribute "bShort".
|
String |
getBString()
Method returns the attribute "bString".
|
boolean |
getCBoolean()
Method returns the attribute "cBoolean".
|
Integer |
getCInteger()
Method returns the attribute "cInteger".
|
void |
setABigDecimal(BigDecimal pABigDecimal)
Method sets the attribute "aBigDecimal".
|
void |
setABigInteger(BigInteger pABigInteger)
Method sets the attribute "aBigInteger".
|
void |
setABoolean(boolean pABoolean)
Method sets the attribute "aBoolean".
|
void |
setAByte(byte pAByte)
Method sets the attribute "aByte".
|
void |
setACharacter(char pACharacter)
Method sets the attribute "aCharacter".
|
void |
setADouble(double pADouble)
Method sets the attribute "aDouble".
|
void |
setAFloat(float pAFloat)
Method sets the attribute "aFloat".
|
void |
setAInteger(int pAInteger)
Method sets the attribute "aInteger".
|
void |
setALong(long pALong)
Method sets the attribute "aLong".
|
void |
setAShort(short pAShort)
Method sets the attribute "aShort".
|
void |
setAString(String pAString)
Method sets the attribute "aString".
|
void |
setBBoolean(Boolean pBBoolean)
Method sets the attribute "bBoolean".
|
void |
setBByte(Byte pBByte)
Method sets the attribute "bByte".
|
void |
setBCharacter(Character pBCharacter)
Method sets the attribute "bCharacter".
|
void |
setBDouble(Double pBDouble)
Method sets the attribute "bDouble".
|
void |
setBFloat(Float pBFloat)
Method sets the attribute "bFloat".
|
void |
setBInteger(Integer pBInteger)
Method sets the attribute "bInteger".
|
void |
setBLong(Long pBLong)
Method sets the attribute "bLong".
|
void |
setBShort(Short pBShort)
Method sets the attribute "bShort".
|
void |
setBString(String pBString)
Method sets the attribute "bString".
|
void |
setCBoolean(boolean pCBoolean)
Method sets the attribute "cBoolean".
|
void |
setCInteger(Integer pCInteger)
Method sets the 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()
public void setABoolean(boolean pABoolean)
pABoolean - Value to which the attribute "aBoolean" should be set.public Boolean getBBoolean()
public void setBBoolean(Boolean pBBoolean)
pBBoolean - Value to which the attribute "bBoolean" should be set.public boolean getCBoolean()
public void setCBoolean(boolean pCBoolean)
pCBoolean - Value to which the attribute "cBoolean" should be set.public byte getAByte()
public void setAByte(byte pAByte)
pAByte - Value to which the attribute "aByte" should be set.public Byte getBByte()
public void setBByte(Byte pBByte)
pBByte - Value to which the attribute "bByte" should be set.public short getAShort()
public void setAShort(short pAShort)
pAShort - Value to which the attribute "aShort" should be set.public Short getBShort()
public void setBShort(Short pBShort)
pBShort - Value to which the attribute "bShort" should be set.public int getAInteger()
public void setAInteger(int pAInteger)
pAInteger - Value to which the attribute "aInteger" should be set.public Integer getBInteger()
public void setBInteger(Integer pBInteger)
pBInteger - Value to which the attribute "bInteger" should be set.public Integer getCInteger()
public void setCInteger(Integer pCInteger)
pCInteger - Value to which the attribute "cInteger" should be set.public long getALong()
public void setALong(long pALong)
pALong - Value to which the attribute "aLong" should be set.public Long getBLong()
public void setBLong(Long pBLong)
pBLong - Value to which the attribute "bLong" should be set.public BigInteger getABigInteger()
public void setABigInteger(BigInteger pABigInteger)
pABigInteger - Value to which the attribute "aBigInteger" should be set.public char getACharacter()
public void setACharacter(char pACharacter)
pACharacter - Value to which the attribute "aCharacter" should be set.public Character getBCharacter()
public void setBCharacter(Character pBCharacter)
pBCharacter - Value to which the attribute "bCharacter" should be set.public float getAFloat()
public void setAFloat(float pAFloat)
pAFloat - Value to which the attribute "aFloat" should be set.public Float getBFloat()
public void setBFloat(Float pBFloat)
pBFloat - Value to which the attribute "bFloat" should be set.public double getADouble()
public void setADouble(double pADouble)
pADouble - Value to which the attribute "aDouble" should be set.public Double getBDouble()
public void setBDouble(Double pBDouble)
pBDouble - Value to which the attribute "bDouble" should be set.public BigDecimal getABigDecimal()
public void setABigDecimal(BigDecimal pABigDecimal)
pABigDecimal - Value to which the attribute "aBigDecimal" should be set.public String getAString()
public void setAString(String pAString)
pAString - Value to which the attribute "aString" should be set.public String getBString()
public void setBString(String pBString)
pBString - Value to which the attribute "bString" should be set.public StringBuilder toStringBuilder(String pIndent)
StringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2022. All rights reserved.