Class RemoteConfigurationVariable
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.application.RemoteConfigurationVariable
-
- All Implemented Interfaces:
Serializable
public class RemoteConfigurationVariable extends Object implements Serializable
A wrapper ofConfigurationVariable- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intTYPE_ARRAYThe variable is a unidimensional array.static intTYPE_BOOLEANThe variable is a booleanstatic intTYPE_MATRIXThe variable is a bidimensional array.static intTYPE_NUMBERThe variable is a numberstatic intTYPE_STRINGThe variable is a string
-
Constructor Summary
Constructors Constructor Description RemoteConfigurationVariable()Mandatory default constructor.RemoteConfigurationVariable(long id, String name, String description, String valueDefinition, boolean masked, int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()longgetId()StringgetName()intgetType()StringgetValueDefinition()booleanisMasked()voidsetDescription(String description)voidsetId(long id)voidsetMasked(boolean masked)voidsetName(String name)voidsetType(int type)voidsetValueDefinition(String valueDefinition)
-
-
-
Field Detail
-
TYPE_NUMBER
public static final int TYPE_NUMBER
The variable is a number- See Also:
- Constant Field Values
-
TYPE_STRING
public static final int TYPE_STRING
The variable is a string- See Also:
- Constant Field Values
-
TYPE_BOOLEAN
public static final int TYPE_BOOLEAN
The variable is a boolean- See Also:
- Constant Field Values
-
TYPE_ARRAY
public static final int TYPE_ARRAY
The variable is a unidimensional array. The format that should be used to store arrays is as follows: (value1,value2,value3,valueN)- See Also:
- Constant Field Values
-
TYPE_MATRIX
public static final int TYPE_MATRIX
The variable is a bidimensional array. The format that should be used to store arrays is as follows: [(row1col1, row1col2,... row1colN), (row2col1, row2col2,... row2colN), (rowNcol1, rowNcol2,... rowNcolN)]- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
isMasked
public boolean isMasked()
-
setMasked
public void setMasked(boolean masked)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getValueDefinition
public String getValueDefinition()
-
setValueDefinition
public void setValueDefinition(String valueDefinition)
-
-