com.sonyericsson.hudson.plugins.metadata.model
Class TimeDetails

java.lang.Object
  extended by com.sonyericsson.hudson.plugins.metadata.model.TimeDetails

public class TimeDetails
extends Object

Standard bean holding the hour/minute/second time details. Also holds information on if the time details checkbox is checked and thus, visible on the page in question.

Author:
Tomas Westling <thomas.westling@sonyericsson.com>

Constructor Summary
TimeDetails(int hour, int minute, int second)
          Standard constructor.
 
Method Summary
 int getHour()
          Standard getter for hour.
 int getMinute()
          Standard getter for minute.
 int getSecond()
          Standard getter for second.
 boolean isChecked()
          Returns the checked value, used to decide if the time details should be visible.
 void setHour(int hour)
          Standard setter for hour.
 void setMinute(int minute)
          Standard setter for minute.
 void setSecond(int second)
          Standard setter for second.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeDetails

@DataBoundConstructor
public TimeDetails(int hour,
                                        int minute,
                                        int second)
Standard constructor.

Parameters:
hour - the hour.
minute - the minute.
second - the second.
Method Detail

isChecked

public boolean isChecked()
Returns the checked value, used to decide if the time details should be visible.

Returns:
the checked value.

getHour

public int getHour()
Standard getter for hour.

Returns:
the hour.

setHour

public void setHour(int hour)
Standard setter for hour.

Parameters:
hour - the hour.

getMinute

public int getMinute()
Standard getter for minute.

Returns:
the minute.

setMinute

public void setMinute(int minute)
Standard setter for minute.

Parameters:
minute - the minute.

getSecond

public int getSecond()
Standard getter for second.

Returns:
the second.

setSecond

public void setSecond(int second)
Standard setter for second.

Parameters:
second - the second.


Copyright © 2004-2013. All Rights Reserved.