Class JsonUtilsTest.Data
java.lang.Object
test.de.iip_ecosphere.platform.support.iip_aas.JsonUtilsTest.Data
- Enclosing class:
JsonUtilsTest
A data object for testing.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the int value.Returns the String value.(package private) voidsetIntValue(int intValue) Defines the int value.(package private) voidsetStringValue(String stringValue) Defines the string value.
-
Field Details
-
intValue
private int intValue -
stringValue
-
-
Constructor Details
-
Data
private Data()Creates a data object (for JSON). -
Data
Creates a data object.- Parameters:
intValue- the int valuestringValue- the string value
-
-
Method Details
-
getIntValue
public int getIntValue()Returns the int value.- Returns:
- the int value
-
setIntValue
void setIntValue(int intValue) Defines the int value.- Parameters:
intValue- the int value
-
getStringValue
Returns the String value.- Returns:
- the String value
-
setStringValue
Defines the string value.- Parameters:
stringValue- the string value
-