|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface DataFactory
This interface defines the contact for data providers.
| 方法摘要 | |
|---|---|
Byte |
getByte(AttributeInfo attribute)
It returns a byte/Byte value. |
Byte |
getByteInRange(byte minValue,
byte maxValue,
AttributeInfo attribute)
It returns a byte/Byte within min and max value (included). |
Character |
getCharacter(AttributeInfo attribute)
It returns a char/Character value. |
Character |
getCharacterInRange(char minValue,
char maxValue,
AttributeInfo attribute)
It returns a char/Character value between min and max value (included). |
Double |
getDouble(AttributeInfo attribute)
It returns a double/Double value |
Double |
getDoubleInRange(double minValue,
double maxValue,
AttributeInfo attribute)
It returns a double/Double value between min and max value (included). |
Float |
getFloat(AttributeInfo attribute)
It returns a float/Float value. |
Float |
getFloatInRange(float minValue,
float maxValue,
AttributeInfo attribute)
It returns a float/Float value between min and max value (included). |
Integer |
getInteger(AttributeInfo attribute)
It returns an int/Integer value. |
int |
getIntegerInRange(int minValue,
int maxValue,
AttributeInfo attribute)
It returns an int/Integer value between min and max value (included). |
Long |
getLong(AttributeInfo attribute)
It returns a long/Long value. |
Long |
getLongInRange(long minValue,
long maxValue,
AttributeInfo attribute)
It returns a long/Long value between min and max value (included). |
Short |
getShort(AttributeInfo attribute)
It returns a short/Short value. |
Short |
getShortInRange(short minValue,
short maxValue,
AttributeInfo attribute)
It returns a short/Short value between min and max value (included). |
String |
getStringOfLength(int length,
AttributeInfo attribute)
It returns a String of length characters. |
String |
getStringValue(AttributeInfo attribute)
It returns a string value |
| 方法详细信息 |
|---|
Byte getByte(AttributeInfo attribute)
Byte getByteInRange(byte minValue,
byte maxValue,
AttributeInfo attribute)
minValue - The minimum value for the returned valuemaxValue - The maximum value for the returned value
Character getCharacter(AttributeInfo attribute)
Character getCharacterInRange(char minValue,
char maxValue,
AttributeInfo attribute)
minValue - The minimum value for the returned valuemaxValue - The maximum value for the returned value
Double getDouble(AttributeInfo attribute)
Double getDoubleInRange(double minValue,
double maxValue,
AttributeInfo attribute)
minValue - The minimum value for the returned valuemaxValue - The maximum value for the returned value
Float getFloat(AttributeInfo attribute)
Float getFloatInRange(float minValue,
float maxValue,
AttributeInfo attribute)
minValue - The minimum value for the returned valuemaxValue - The maximum value for the returned value
Integer getInteger(AttributeInfo attribute)
int getIntegerInRange(int minValue,
int maxValue,
AttributeInfo attribute)
minValue - The minimum value for the returned valuemaxValue - The maximum value for the returned value
Long getLong(AttributeInfo attribute)
Long getLongInRange(long minValue,
long maxValue,
AttributeInfo attribute)
minValue - The minimum value for the returned valuemaxValue - The maximum value for the returned value
Short getShort(AttributeInfo attribute)
Short getShortInRange(short minValue,
short maxValue,
AttributeInfo attribute)
minValue - The minimum value for the returned valuemaxValue - The maximum value for the returned value
String getStringValue(AttributeInfo attribute)
String getStringOfLength(int length,
AttributeInfo attribute)
length characters.
length - The number of characters required in the returned String
length characters
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||