|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.core.EntityObject org.figure8.join.businessobjects.environment.ParameterValue
public class ParameterValue
This entity represents a wrapper around available value for a
deployment parameter (Parameter
). Such a value is defined
for a specific physical environment and for specific deployment target.
Target
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CURRENT
Constant representing a currently available value |
static java.lang.String |
DELETED
Constant representing a deleted value |
static java.lang.String |
HISTORICAL
Constant representing an historical value |
Constructor Summary | |
---|---|
ParameterValue()
Creates a new instance of ParameterValue. |
|
ParameterValue(java.lang.String value,
Parameter parameter,
Target target,
PhysicalEnvironment environment)
Creates a new instance of ParameterValue with mandatory attributes. |
Method Summary | |
---|---|
void |
delete()
Delete this parameter value. |
void |
deprecate()
Deprecate this parameter value. |
java.util.Date |
getDeprecationDate()
|
PhysicalEnvironment |
getEnvironment()
Get the environment to whom this value applies. |
Parameter |
getParameter()
Get the parameter of the value. |
java.lang.String |
getStatus()
|
Target |
getTarget()
Get the target of the value |
java.lang.String |
getValue()
Get the parameter value |
void |
setDeprecationDate(java.util.Date deprecation)
|
void |
setEnvironment(PhysicalEnvironment environment)
|
void |
setParameter(Parameter parameter)
|
void |
setStatus(java.lang.String status)
|
void |
setTarget(Target target)
|
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
|
Methods inherited from class org.figure8.join.core.EntityObject |
---|
clone, equals, getId, hashCode, isTransient |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CURRENT
public static final java.lang.String HISTORICAL
public static final java.lang.String DELETED
Constructor Detail |
---|
public ParameterValue()
public ParameterValue(java.lang.String value, Parameter parameter, Target target, PhysicalEnvironment environment)
value
- The value to set.parameter
- The parameter instance corresponding to this valuetarget
- The target this parameter value is available for.environment
- The environment this parameter value is available for.Method Detail |
---|
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The parameter value wrappedpublic java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- The status of this value wrapper (one of CURRENT, HISTORICAL or DELETED)public java.util.Date getDeprecationDate()
public void setDeprecationDate(java.util.Date deprecation)
deprecation
- The date this value has been deprecatedpublic void delete()
public void deprecate()
public Parameter getParameter()
public void setParameter(Parameter parameter)
parameter
- The parameter definition corresponding to this value wrapperpublic PhysicalEnvironment getEnvironment()
public void setEnvironment(PhysicalEnvironment environment)
environment
- The environment to whom this value appliespublic Target getTarget()
public void setTarget(Target target)
target
- The target to whom this value appliespublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |