Class PrimitiveObjectWithRestrictions
- java.lang.Object
-
- com.anaptecs.jeaf.junit.openapi.base.PrimitiveObjectWithRestrictions
-
- All Implemented Interfaces:
com.anaptecs.jeaf.core.api.ServiceObject,java.io.Serializable
@Valid public class PrimitiveObjectWithRestrictions extends java.lang.Object implements com.anaptecs.jeaf.core.api.ServiceObject- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrimitiveObjectWithRestrictions.BuilderClass implements builder to create a new instance of classPrimitiveObjectWithRestrictions.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrimitiveObjectWithRestrictions()Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.protectedPrimitiveObjectWithRestrictions(PrimitiveObjectWithRestrictions.Builder pBuilder)Initialize object using the passed builder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrimitiveObjectWithRestrictions.Builderbuilder()Method returns a new builder.static PrimitiveObjectWithRestrictions.Builderbuilder(PrimitiveObjectWithRestrictions pObject)Method creates a new builder and initialize it with the data from the passed object.static PrimitiveObjectWithRestrictions.Builderbuilder(java.lang.Boolean pABoolean, java.lang.Boolean pBBoolean, java.lang.Boolean pCBoolean, byte pAByte, java.lang.Byte pBByte, short pAShort, java.lang.Short pBShort, int pAInteger, java.lang.Integer pBInteger, java.lang.Integer pCInteger, long pALong, java.lang.Long pBLong, java.math.BigInteger pABigInteger, char pACharacter, java.lang.Character pBCharacter, float pAFloat, java.lang.Float pBFloat, double pADouble, java.lang.Double pBDouble, java.math.BigDecimal pABigDecimal, java.lang.String pAString, java.lang.String pBString)Method creates a new builder and initializes it with the passed attributes.java.math.BigDecimalgetABigDecimal()Method returns attributeaBigDecimal.java.math.BigIntegergetABigInteger()Method returns attributeaBigInteger.booleangetABoolean()Method returns attributeaBoolean.bytegetAByte()Method returns attributeaByte.chargetACharacter()Method returns attributeaCharacter.doublegetADouble()Method returns attributeaDouble.floatgetAFloat()Method returns attributeaFloat.intgetAInteger()Method returns attributeaInteger.longgetALong()Method returns attributeaLong.shortgetAShort()Method returns attributeaShort.java.lang.StringgetAString()Method returns attributeaString.java.lang.BooleangetBBoolean()Method returns attributebBoolean.java.lang.BytegetBByte()Method returns attributebByte.java.lang.CharactergetBCharacter()Method returns attributebCharacter.java.lang.DoublegetBDouble()Method returns attributebDouble.java.lang.FloatgetBFloat()Method returns attributebFloat.java.lang.IntegergetBInteger()Method returns attributebInteger.java.lang.LonggetBLong()Method returns attributebLong.java.lang.ShortgetBShort()Method returns attributebShort.java.lang.StringgetBString()Method returns attributebString.booleangetCBoolean()Method returns attributecBoolean.java.lang.IntegergetCInteger()Method returns attributecInteger.voidsetABigDecimal(java.math.BigDecimal pABigDecimal)Method sets attributeaBigDecimal.voidsetABigInteger(java.math.BigInteger pABigInteger)Method sets attributeaBigInteger.voidsetABoolean(boolean pABoolean)Method sets attributeaBoolean.voidsetAByte(byte pAByte)Method sets attributeaByte.voidsetACharacter(char pACharacter)Method sets attributeaCharacter.voidsetADouble(double pADouble)Method sets attributeaDouble.voidsetAFloat(float pAFloat)Method sets attributeaFloat.voidsetAInteger(int pAInteger)Method sets attributeaInteger.voidsetALong(long pALong)Method sets attributeaLong.voidsetAShort(short pAShort)Method sets attributeaShort.voidsetAString(java.lang.String pAString)Method sets attributeaString.voidsetBBoolean(java.lang.Boolean pBBoolean)Method sets attributebBoolean.voidsetBByte(java.lang.Byte pBByte)Method sets attributebByte.voidsetBCharacter(java.lang.Character pBCharacter)Method sets attributebCharacter.voidsetBDouble(java.lang.Double pBDouble)Method sets attributebDouble.voidsetBFloat(java.lang.Float pBFloat)Method sets attributebFloat.voidsetBInteger(java.lang.Integer pBInteger)Method sets attributebInteger.voidsetBLong(java.lang.Long pBLong)Method sets attributebLong.voidsetBShort(java.lang.Short pBShort)Method sets attributebShort.voidsetBString(java.lang.String pBString)Method sets attributebString.voidsetCBoolean(boolean pCBoolean)Method sets attributecBoolean.voidsetCInteger(java.lang.Integer pCInteger)Method sets attributecInteger.java.lang.StringtoString()Method creates a new String with the values of all attributes of this class.java.lang.StringBuildertoStringBuilder(java.lang.String pIndent)Method returns a StringBuilder that can be used to create a String representation of this object.
-
-
-
Constructor Detail
-
PrimitiveObjectWithRestrictions
protected PrimitiveObjectWithRestrictions()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
-
PrimitiveObjectWithRestrictions
protected PrimitiveObjectWithRestrictions(PrimitiveObjectWithRestrictions.Builder pBuilder)
Initialize object using the passed builder.- Parameters:
pBuilder- Builder that should be used to initialize this object. The parameter must not be null.
-
-
Method Detail
-
builder
public static PrimitiveObjectWithRestrictions.Builder builder()
Method returns a new builder.- Returns:
PrimitiveObjectWithRestrictions.BuilderNew builder that can be used to create new PrimitiveObjectWithRestrictions objects.
-
builder
public static PrimitiveObjectWithRestrictions.Builder builder(PrimitiveObjectWithRestrictions pObject)
Method creates a new builder and initialize it with the data from the passed object.- Parameters:
pObject- Object that should be used to initialize the builder. The parameter may be null.- Returns:
PrimitiveObjectWithRestrictions.BuilderNew builder that can be used to create new PrimitiveObjectWithRestrictions objects. The method never returns null.
-
builder
public static PrimitiveObjectWithRestrictions.Builder builder(java.lang.Boolean pABoolean, java.lang.Boolean pBBoolean, java.lang.Boolean pCBoolean, byte pAByte, java.lang.Byte pBByte, short pAShort, java.lang.Short pBShort, int pAInteger, java.lang.Integer pBInteger, java.lang.Integer pCInteger, long pALong, java.lang.Long pBLong, java.math.BigInteger pABigInteger, char pACharacter, java.lang.Character pBCharacter, float pAFloat, java.lang.Float pBFloat, double pADouble, java.lang.Double pBDouble, java.math.BigDecimal pABigDecimal, java.lang.String pAString, java.lang.String pBString)
Method creates a new builder and initializes it with the passed attributes.
-
getABoolean
public boolean getABoolean()
Method returns attributeaBoolean.- Returns:
- boolean Value to which
aBooleanis set.
-
setABoolean
public void setABoolean(boolean pABoolean)
Method sets attributeaBoolean.- Parameters:
pABoolean- Value to whichaBooleanshould be set.
-
getBBoolean
public java.lang.Boolean getBBoolean()
Method returns attributebBoolean.- Returns:
BooleanValue to whichbBooleanis set.
-
setBBoolean
public void setBBoolean(java.lang.Boolean pBBoolean)
Method sets attributebBoolean.- Parameters:
pBBoolean- Value to whichbBooleanshould be set.
-
getCBoolean
public boolean getCBoolean()
Method returns attributecBoolean.- Returns:
- boolean Value to which
cBooleanis set.
-
setCBoolean
public void setCBoolean(boolean pCBoolean)
Method sets attributecBoolean.- Parameters:
pCBoolean- Value to whichcBooleanshould be set.
-
getAByte
public byte getAByte()
Method returns attributeaByte.- Returns:
- byte Value to which
aByteis set.
-
setAByte
public void setAByte(byte pAByte)
Method sets attributeaByte.- Parameters:
pAByte- Value to whichaByteshould be set.
-
getBByte
public java.lang.Byte getBByte()
Method returns attributebByte.- Returns:
ByteValue to whichbByteis set.
-
setBByte
public void setBByte(java.lang.Byte pBByte)
Method sets attributebByte.- Parameters:
pBByte- Value to whichbByteshould be set.
-
getAShort
public short getAShort()
Method returns attributeaShort.- Returns:
- short Value to which
aShortis set.
-
setAShort
public void setAShort(short pAShort)
Method sets attributeaShort.- Parameters:
pAShort- Value to whichaShortshould be set.
-
getBShort
public java.lang.Short getBShort()
Method returns attributebShort.- Returns:
ShortValue to whichbShortis set.
-
setBShort
public void setBShort(java.lang.Short pBShort)
Method sets attributebShort.- Parameters:
pBShort- Value to whichbShortshould be set.
-
getAInteger
public int getAInteger()
Method returns attributeaInteger.- Returns:
- int Value to which
aIntegeris set.
-
setAInteger
public void setAInteger(int pAInteger)
Method sets attributeaInteger.- Parameters:
pAInteger- Value to whichaIntegershould be set.
-
getBInteger
public java.lang.Integer getBInteger()
Method returns attributebInteger.- Returns:
IntegerValue to whichbIntegeris set.
-
setBInteger
public void setBInteger(java.lang.Integer pBInteger)
Method sets attributebInteger.- Parameters:
pBInteger- Value to whichbIntegershould be set.
-
getCInteger
public java.lang.Integer getCInteger()
Method returns attributecInteger.- Returns:
IntegerValue to whichcIntegeris set.
-
setCInteger
public void setCInteger(java.lang.Integer pCInteger)
Method sets attributecInteger.- Parameters:
pCInteger- Value to whichcIntegershould be set.
-
getALong
public long getALong()
Method returns attributeaLong.- Returns:
- long Value to which
aLongis set.
-
setALong
public void setALong(long pALong)
Method sets attributeaLong.- Parameters:
pALong- Value to whichaLongshould be set.
-
getBLong
public java.lang.Long getBLong()
Method returns attributebLong.- Returns:
LongValue to whichbLongis set.
-
setBLong
public void setBLong(java.lang.Long pBLong)
Method sets attributebLong.- Parameters:
pBLong- Value to whichbLongshould be set.
-
getABigInteger
public java.math.BigInteger getABigInteger()
Method returns attributeaBigInteger.- Returns:
BigIntegerValue to whichaBigIntegeris set.
-
setABigInteger
public void setABigInteger(java.math.BigInteger pABigInteger)
Method sets attributeaBigInteger.- Parameters:
pABigInteger- Value to whichaBigIntegershould be set.
-
getACharacter
public char getACharacter()
Method returns attributeaCharacter.- Returns:
- char Value to which
aCharacteris set.
-
setACharacter
public void setACharacter(char pACharacter)
Method sets attributeaCharacter.- Parameters:
pACharacter- Value to whichaCharactershould be set.
-
getBCharacter
public java.lang.Character getBCharacter()
Method returns attributebCharacter.- Returns:
CharacterValue to whichbCharacteris set.
-
setBCharacter
public void setBCharacter(java.lang.Character pBCharacter)
Method sets attributebCharacter.- Parameters:
pBCharacter- Value to whichbCharactershould be set.
-
getAFloat
public float getAFloat()
Method returns attributeaFloat.- Returns:
- float Value to which
aFloatis set.
-
setAFloat
public void setAFloat(float pAFloat)
Method sets attributeaFloat.- Parameters:
pAFloat- Value to whichaFloatshould be set.
-
getBFloat
public java.lang.Float getBFloat()
Method returns attributebFloat.- Returns:
FloatValue to whichbFloatis set.
-
setBFloat
public void setBFloat(java.lang.Float pBFloat)
Method sets attributebFloat.- Parameters:
pBFloat- Value to whichbFloatshould be set.
-
getADouble
public double getADouble()
Method returns attributeaDouble.- Returns:
- double Value to which
aDoubleis set.
-
setADouble
public void setADouble(double pADouble)
Method sets attributeaDouble.- Parameters:
pADouble- Value to whichaDoubleshould be set.
-
getBDouble
public java.lang.Double getBDouble()
Method returns attributebDouble.- Returns:
DoubleValue to whichbDoubleis set.
-
setBDouble
public void setBDouble(java.lang.Double pBDouble)
Method sets attributebDouble.- Parameters:
pBDouble- Value to whichbDoubleshould be set.
-
getABigDecimal
public java.math.BigDecimal getABigDecimal()
Method returns attributeaBigDecimal.- Returns:
BigDecimalValue to whichaBigDecimalis set.
-
setABigDecimal
public void setABigDecimal(java.math.BigDecimal pABigDecimal)
Method sets attributeaBigDecimal.- Parameters:
pABigDecimal- Value to whichaBigDecimalshould be set.
-
getAString
public java.lang.String getAString()
Method returns attributeaString.- Returns:
StringValue to whichaStringis set.
-
setAString
public void setAString(java.lang.String pAString)
Method sets attributeaString.- Parameters:
pAString- Value to whichaStringshould be set.
-
getBString
public java.lang.String getBString()
Method returns attributebString.- Returns:
StringValue to whichbStringis set.
-
setBString
public void setBString(java.lang.String pBString)
Method sets attributebString.- Parameters:
pBString- Value to whichbStringshould be set.
-
toStringBuilder
public java.lang.StringBuilder toStringBuilder(java.lang.String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object. The returned StringBuilder also takes care about attributes of super classes.- Returns:
StringBuilderStringBuilder representing this object. The method never returns null.
-
toString
public java.lang.String toString()
Method creates a new String with the values of all attributes of this class. All references to other objects will be ignored.- Overrides:
toStringin classjava.lang.Object- Returns:
StringString representation of this object. The method never returns null.
-
-