Class PrimitiveTestEntity

java.lang.Object
org.fastnate.generator.test.primitive.PrimitiveTestEntity

@Entity public class PrimitiveTestEntity extends Object
Entity to test primitive properties.
Author:
Tobias Liefke
  • Constructor Details

    • PrimitiveTestEntity

      public PrimitiveTestEntity(String name)
      Creates a new instance of PrimitiveTestEntity.
      Parameters:
      name - the name of the entity
    • PrimitiveTestEntity

      protected PrimitiveTestEntity()
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public Long getId()
    • getName

      public String getName()
    • getTransient1

      public String getTransient1()
    • getTransient2

      public String getTransient2()
    • getGroup

      public String getGroup()
    • getTestChar

      public char getTestChar()
    • isTestBoolean

      public boolean isTestBoolean()
    • getTestByte

      public byte getTestByte()
    • getTestShort

      public short getTestShort()
    • getTestInt

      public int getTestInt()
    • getTestLong

      public long getTestLong()
    • getTestFloat

      public float getTestFloat()
    • getTestDouble

      public double getTestDouble()
    • getLobChars

      public char[] getLobChars()
    • getLobBytes

      public byte[] getLobBytes()
    • getSerializable

      public SerTestObject getSerializable()
    • getOrdinalEnum

      public TestEnum getOrdinalEnum()
    • getStringEnum

      public TestEnum getStringEnum()
    • getColor

      public Color getColor()
    • setId

      public void setId(Long id)
    • setName

      public void setName(String name)
    • setTransient1

      public void setTransient1(String transient1)
    • setTransient2

      public void setTransient2(String transient2)
    • setGroup

      public void setGroup(String group)
    • setTestChar

      public void setTestChar(char testChar)
    • setTestBoolean

      public void setTestBoolean(boolean testBoolean)
    • setTestByte

      public void setTestByte(byte testByte)
    • setTestShort

      public void setTestShort(short testShort)
    • setTestInt

      public void setTestInt(int testInt)
    • setTestLong

      public void setTestLong(long testLong)
    • setTestFloat

      public void setTestFloat(float testFloat)
    • setTestDouble

      public void setTestDouble(double testDouble)
    • setLobChars

      public void setLobChars(char[] lobChars)
    • setLobBytes

      public void setLobBytes(byte[] lobBytes)
    • setSerializable

      public void setSerializable(SerTestObject serializable)
    • setOrdinalEnum

      public void setOrdinalEnum(TestEnum ordinalEnum)
    • setStringEnum

      public void setStringEnum(TestEnum stringEnum)
    • setColor

      public void setColor(Color color)