com.pmease.quickbuild.variable
Class Variable
java.lang.Object
com.pmease.quickbuild.variable.Variable
- All Implemented Interfaces:
- Validatable, java.io.Serializable
public class Variable
- extends java.lang.Object
- implements java.io.Serializable, Validatable
This class represents a defined variable in configuration setting or promotion setting.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Variable
public Variable()
getName
@NotEmpty
public java.lang.String getName()
- Get name of the variable.
setName
public void setName(java.lang.String name)
getDescription
public java.lang.String getDescription()
- Get description of the variable.
setDescription
public void setDescription(java.lang.String description)
getValueProvider
@NotNull
public ValueProvider getValueProvider()
- Get value of the variable.
setValueProvider
public void setValueProvider(ValueProvider valueProvider)
getValue
public java.lang.String getValue()
- Get value of the variable.
setValue
public void setValue(java.lang.String value)
- Set value of the variable.
getPromptSetting
@NotNull
public PromptSetting getPromptSetting()
setPromptSetting
public void setPromptSetting(PromptSetting promptSetting)
list2map
public static java.util.Map<java.lang.String,java.lang.String> list2map(java.util.List<Variable> list)
validate
public void validate(java.util.Set<java.lang.String> properties,
ErrorContext errorContext)
- Specified by:
validate
in interface Validatable
contains
public static boolean contains(java.util.Collection<Variable> variables,
Variable var)
toString
public java.lang.String toString()
- Get string representation of the variable value. This returns the same as method getValue().
- Overrides:
toString
in class java.lang.Object
getConfigurationId
public java.lang.Long getConfigurationId()
setConfigurationId
public void setConfigurationId(java.lang.Long configurationId)
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.