Class PrimitiveTestEntity
java.lang.Object
org.fastnate.generator.test.primitive.PrimitiveTestEntity
Entity to test primitive properties.
- Author:
- Tobias Liefke
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPrimitiveTestEntity(String name) Creates a new instance ofPrimitiveTestEntity. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetColor()getGroup()getId()byte[]char[]getName()bytechardoublefloatintlongshortinthashCode()booleanvoidvoidvoidvoidsetLobBytes(byte[] lobBytes) voidsetLobChars(char[] lobChars) voidvoidsetOrdinalEnum(TestEnum ordinalEnum) voidsetSerializable(SerTestObject serializable) voidsetStringEnum(TestEnum stringEnum) voidsetTestBoolean(boolean testBoolean) voidsetTestByte(byte testByte) voidsetTestChar(char testChar) voidsetTestDouble(double testDouble) voidsetTestFloat(float testFloat) voidsetTestInt(int testInt) voidsetTestLong(long testLong) voidsetTestShort(short testShort) voidsetTransient1(String transient1) voidsetTransient2(String transient2) toString()
-
Constructor Details
-
PrimitiveTestEntity
Creates a new instance ofPrimitiveTestEntity.- Parameters:
name- the name of the entity
-
PrimitiveTestEntity
protected PrimitiveTestEntity()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getId
-
getName
-
getTransient1
-
getTransient2
-
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
-
getOrdinalEnum
-
getStringEnum
-
getColor
-
setId
-
setName
-
setTransient1
-
setTransient2
-
setGroup
-
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
-
setOrdinalEnum
-
setStringEnum
-
setColor
-