@MappedSuperclass @Embeddable public class Cycle extends ModelObject
Constructor and Description |
---|
Cycle() |
Modifier and Type | Method and Description |
---|---|
DateCycle |
getDateCycle() |
Date |
getStarted()
Date the Cycle actually started or meant to start
|
boolean |
isActive()
If cycle is currently active or not
|
void |
setActive(boolean active)
If cycle is currently active or not
|
void |
setDateCycle(DateCycle dateCycle) |
void |
setStarted(Date started)
Date the Cycle actually started or meant to start
|
public DateCycle getDateCycle()
public void setDateCycle(DateCycle dateCycle)
dateCycle
- the dateCycle to setpublic boolean isActive()
public void setActive(boolean active)
public Date getStarted()
public void setStarted(Date started)
Copyright © 2018. All rights reserved.