|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.LyComponent
leon.view.LyPeriod
public class LyPeriod
The LyPeriod class is a generated Java implementation that corresponds to the element PERIOD of the descriptive grammar of the views (views.dtd). <PERIOD> : Period A period allows dividing an interval of a Gantt planning into several sub-parts. It is described by a begin date and an end date.
See also tag PERIOD of grammar leon_views.dtd.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.view.LyComponent |
---|
LyComponent.EventType |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LyPeriod(java.lang.String beginDate,
java.lang.String endDate)
Constructor with all required attributes. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getBeginDate()
Gets value of beginDate. |
java.lang.String |
getEndDate()
Gets value of endDate. |
void |
setBeginDate(java.lang.String beginDate)
Sets attribute beginDate to the given value. |
void |
setEndDate(java.lang.String endDate)
Sets attribute endDate to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyPeriod(java.lang.String beginDate, java.lang.String endDate)
beginDate
- Begin date (respecting date format of the Gantt planning).endDate
- End date (respecting date format of the Gantt planning).Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getBeginDate()
public java.lang.String getEndDate()
public void setBeginDate(java.lang.String beginDate)
beginDate
- New value of beginDate.
java.lang.IllegalArgumentException
- if beginDate is null.public void setEndDate(java.lang.String endDate)
endDate
- New value of endDate.
java.lang.IllegalArgumentException
- if endDate is null.public void writeXml(java.io.PrintWriter pw, boolean debug)
writeXml
in class LyComponent
pw
- the printWriter on which the XML is written.debug
- true if debug mode (full dump).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |