org.nhindirect.config.model
Class Setting

java.lang.Object
  extended by org.nhindirect.config.model.Setting

public class Setting
extends Object

Name value pair settings in the sytem.

Since:
1.0
Author:
Greg Meyer

Constructor Summary
Setting()
          Empty constructor
 
Method Summary
 Calendar getCreateTime()
          Sets the date/time the setting was created in the system.
 long getId()
          Gets the internal system id of the setting.
 String getName()
          Gets the name of the setting.
 EntityStatus getStatus()
          Gets the status of the setting.
 Calendar getUpdateTime()
          Gets the date/time that the setting was last updated.
 String getValue()
          Gets the value of the setting.
 void setCreateTime(Calendar createTime)
          Sets the date/time the setting was created in the system.
 void setId(long id)
          Sets the internal system id of the setting.
 void setName(String name)
          Sets the name of the setting.
 void setStatus(EntityStatus status)
          Sets the status of the setting.
 void setUpdateTime(Calendar updateTime)
          Sets the date/time that the setting was last updated.
 void setValue(String value)
          Sets the value of the setting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Setting

public Setting()
Empty constructor

Method Detail

getName

public String getName()
Gets the name of the setting.

Returns:
The name of the setting.

setName

public void setName(String name)
Sets the name of the setting.

Parameters:
name - The name of the setting.

getValue

public String getValue()
Gets the value of the setting.

Returns:
The value of the setting.

setValue

public void setValue(String value)
Sets the value of the setting.

Parameters:
value - The value of the setting.

getId

public long getId()
Gets the internal system id of the setting.

Returns:
The internal system id of the setting.

setId

public void setId(long id)
Sets the internal system id of the setting.

Parameters:
id - The internal system id of the setting.

getCreateTime

public Calendar getCreateTime()
Sets the date/time the setting was created in the system.

Parameters:
createTime - The date/time the setting was created in the system.

setCreateTime

public void setCreateTime(Calendar createTime)
Sets the date/time the setting was created in the system.

Parameters:
createTime - The date/time the setting was created in the system.

getUpdateTime

public Calendar getUpdateTime()
Gets the date/time that the setting was last updated.

Returns:
The date/time that the setting was last updated.

setUpdateTime

public void setUpdateTime(Calendar updateTime)
Sets the date/time that the setting was last updated.

Parameters:
updateTime - The date/time that the setting was last updated.

getStatus

public EntityStatus getStatus()
Gets the status of the setting.

Returns:
The status of the setting.

setStatus

public void setStatus(EntityStatus status)
Sets the status of the setting.

Parameters:
status - The status of the setting.


Copyright © 2014. All Rights Reserved.