Class 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
    • 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​(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 attribute aBoolean.
        Returns:
        boolean Value to which aBoolean is set.
      • setABoolean

        public void setABoolean​(boolean pABoolean)
        Method sets attribute aBoolean.
        Parameters:
        pABoolean - Value to which aBoolean should be set.
      • getBBoolean

        public java.lang.Boolean getBBoolean()
        Method returns attribute bBoolean.
        Returns:
        Boolean Value to which bBoolean is set.
      • setBBoolean

        public void setBBoolean​(java.lang.Boolean pBBoolean)
        Method sets attribute bBoolean.
        Parameters:
        pBBoolean - Value to which bBoolean should be set.
      • getCBoolean

        public boolean getCBoolean()
        Method returns attribute cBoolean.
        Returns:
        boolean Value to which cBoolean is set.
      • setCBoolean

        public void setCBoolean​(boolean pCBoolean)
        Method sets attribute cBoolean.
        Parameters:
        pCBoolean - Value to which cBoolean should be set.
      • getAByte

        public byte getAByte()
        Method returns attribute aByte.
        Returns:
        byte Value to which aByte is set.
      • setAByte

        public void setAByte​(byte pAByte)
        Method sets attribute aByte.
        Parameters:
        pAByte - Value to which aByte should be set.
      • getBByte

        public java.lang.Byte getBByte()
        Method returns attribute bByte.
        Returns:
        Byte Value to which bByte is set.
      • setBByte

        public void setBByte​(java.lang.Byte pBByte)
        Method sets attribute bByte.
        Parameters:
        pBByte - Value to which bByte should be set.
      • getAShort

        public short getAShort()
        Method returns attribute aShort.
        Returns:
        short Value to which aShort is set.
      • setAShort

        public void setAShort​(short pAShort)
        Method sets attribute aShort.
        Parameters:
        pAShort - Value to which aShort should be set.
      • getBShort

        public java.lang.Short getBShort()
        Method returns attribute bShort.
        Returns:
        Short Value to which bShort is set.
      • setBShort

        public void setBShort​(java.lang.Short pBShort)
        Method sets attribute bShort.
        Parameters:
        pBShort - Value to which bShort should be set.
      • getAInteger

        public int getAInteger()
        Method returns attribute aInteger.
        Returns:
        int Value to which aInteger is set.
      • setAInteger

        public void setAInteger​(int pAInteger)
        Method sets attribute aInteger.
        Parameters:
        pAInteger - Value to which aInteger should be set.
      • getBInteger

        public java.lang.Integer getBInteger()
        Method returns attribute bInteger.
        Returns:
        Integer Value to which bInteger is set.
      • setBInteger

        public void setBInteger​(java.lang.Integer pBInteger)
        Method sets attribute bInteger.
        Parameters:
        pBInteger - Value to which bInteger should be set.
      • getCInteger

        public java.lang.Integer getCInteger()
        Method returns attribute cInteger.
        Returns:
        Integer Value to which cInteger is set.
      • setCInteger

        public void setCInteger​(java.lang.Integer pCInteger)
        Method sets attribute cInteger.
        Parameters:
        pCInteger - Value to which cInteger should be set.
      • getALong

        public long getALong()
        Method returns attribute aLong.
        Returns:
        long Value to which aLong is set.
      • setALong

        public void setALong​(long pALong)
        Method sets attribute aLong.
        Parameters:
        pALong - Value to which aLong should be set.
      • getBLong

        public java.lang.Long getBLong()
        Method returns attribute bLong.
        Returns:
        Long Value to which bLong is set.
      • setBLong

        public void setBLong​(java.lang.Long pBLong)
        Method sets attribute bLong.
        Parameters:
        pBLong - Value to which bLong should be set.
      • getABigInteger

        public java.math.BigInteger getABigInteger()
        Method returns attribute aBigInteger.
        Returns:
        BigInteger Value to which aBigInteger is set.
      • setABigInteger

        public void setABigInteger​(java.math.BigInteger pABigInteger)
        Method sets attribute aBigInteger.
        Parameters:
        pABigInteger - Value to which aBigInteger should be set.
      • getACharacter

        public char getACharacter()
        Method returns attribute aCharacter.
        Returns:
        char Value to which aCharacter is set.
      • setACharacter

        public void setACharacter​(char pACharacter)
        Method sets attribute aCharacter.
        Parameters:
        pACharacter - Value to which aCharacter should be set.
      • getBCharacter

        public java.lang.Character getBCharacter()
        Method returns attribute bCharacter.
        Returns:
        Character Value to which bCharacter is set.
      • setBCharacter

        public void setBCharacter​(java.lang.Character pBCharacter)
        Method sets attribute bCharacter.
        Parameters:
        pBCharacter - Value to which bCharacter should be set.
      • getAFloat

        public float getAFloat()
        Method returns attribute aFloat.
        Returns:
        float Value to which aFloat is set.
      • setAFloat

        public void setAFloat​(float pAFloat)
        Method sets attribute aFloat.
        Parameters:
        pAFloat - Value to which aFloat should be set.
      • getBFloat

        public java.lang.Float getBFloat()
        Method returns attribute bFloat.
        Returns:
        Float Value to which bFloat is set.
      • setBFloat

        public void setBFloat​(java.lang.Float pBFloat)
        Method sets attribute bFloat.
        Parameters:
        pBFloat - Value to which bFloat should be set.
      • getADouble

        public double getADouble()
        Method returns attribute aDouble.
        Returns:
        double Value to which aDouble is set.
      • setADouble

        public void setADouble​(double pADouble)
        Method sets attribute aDouble.
        Parameters:
        pADouble - Value to which aDouble should be set.
      • getBDouble

        public java.lang.Double getBDouble()
        Method returns attribute bDouble.
        Returns:
        Double Value to which bDouble is set.
      • setBDouble

        public void setBDouble​(java.lang.Double pBDouble)
        Method sets attribute bDouble.
        Parameters:
        pBDouble - Value to which bDouble should be set.
      • getABigDecimal

        public java.math.BigDecimal getABigDecimal()
        Method returns attribute aBigDecimal.
        Returns:
        BigDecimal Value to which aBigDecimal is set.
      • setABigDecimal

        public void setABigDecimal​(java.math.BigDecimal pABigDecimal)
        Method sets attribute aBigDecimal.
        Parameters:
        pABigDecimal - Value to which aBigDecimal should be set.
      • getAString

        public java.lang.String getAString()
        Method returns attribute aString.
        Returns:
        String Value to which aString is set.
      • setAString

        public void setAString​(java.lang.String pAString)
        Method sets attribute aString.
        Parameters:
        pAString - Value to which aString should be set.
      • getBString

        public java.lang.String getBString()
        Method returns attribute bString.
        Returns:
        String Value to which bString is set.
      • setBString

        public void setBString​(java.lang.String pBString)
        Method sets attribute bString.
        Parameters:
        pBString - Value to which bString should 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:
        StringBuilder StringBuilder 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:
        toString in class java.lang.Object
        Returns:
        String String representation of this object. The method never returns null.