public class CodeFirstCondition extends Object implements CodeFirstConditionIF
Constructor and Description |
---|
CodeFirstCondition()
Constructor
|
CodeFirstCondition(CodeFirstConditionObject cfco) |
CodeFirstCondition(int id,
String description,
String value) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
The description of the object
|
int |
getId()
the id of the object
|
String |
getValue() |
void |
setDescription(String description)
Sets the objects internal description
|
void |
setId(int id)
Sets the id for the object at run time
|
void |
setValue(String value) |
String |
toString() |
public CodeFirstCondition()
public CodeFirstCondition(int id, String description, String value)
id
- description
- value
- public CodeFirstCondition(CodeFirstConditionObject cfco) throws ParseException
cfco
- ParseException
public int getId()
IdentifiableIF
getId
in interface IdentifiableIF
public void setId(int id)
IdentifiableIF
setId
in interface IdentifiableIF
id
- the id to setpublic String getDescription()
DescribableIF
getDescription
in interface DescribableIF
public void setDescription(String description)
DescribableIF
setDescription
in interface DescribableIF
description
- the description to setpublic String getValue()
getValue
in interface ValuableIF
public void setValue(String value)
setValue
in interface ValuableIF
value
- the value to setCopyright © 2023. All rights reserved.