Class VariableEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.variables.VariableEntity
-
- All Implemented Interfaces:
Serializable
,WebEntity
public class VariableEntity extends Object implements WebEntity
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VariableEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VariableEntity
decorate(Variable value)
static VariableEntity
fromVariable(Variable variable)
String
getDescription()
String
getId()
String
getLabel()
URI
getURI()
Gets the URI at which this web entity is published and can be accessed.String
getValue()
List<VariableScheduledValueEntity>
getValues()
protected void
merge(Variable value)
void
setDescription(String description)
void
setId(String id)
void
setLabel(String label)
void
setUri(URI uri)
void
setValue(String value)
void
setValues(List<VariableScheduledValueEntity> values)
List<VariableScheduledValue>
toScheduledValues()
Variable
toVariable()
-
-
-
Method Detail
-
fromVariable
public static VariableEntity fromVariable(Variable variable)
-
toVariable
public Variable toVariable()
-
toScheduledValues
public List<VariableScheduledValue> toScheduledValues()
-
decorate
protected VariableEntity decorate(Variable value)
-
merge
protected void merge(Variable value)
-
getURI
public URI getURI()
Description copied from interface:WebEntity
Gets the URI at which this web entity is published and can be accessed.
-
setUri
public void setUri(URI uri)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getValues
public List<VariableScheduledValueEntity> getValues()
-
setValues
public void setValues(List<VariableScheduledValueEntity> values)
-
-